fix packaging issue
This commit is contained in:
parent
a99e901e13
commit
3c1e47a6ec
1 changed files with 10 additions and 10 deletions
20
PKGBUILD
20
PKGBUILD
|
@ -7,7 +7,7 @@ arch=('x86_64' 'aarch64')
|
|||
url="https://patrice.asgardius.company/gitea/asgardius/r3"
|
||||
license=('GPL')
|
||||
depends=('python-pygame')
|
||||
source=("$pkgname-$pkgver::git+https://patrice.asgardius.company/gitea/asgardius/r3.git#tag=1.1.0"
|
||||
source=("$pkgname-$pkgver::git+https://patrice.asgardius.company/gitea/asgardius/r3.git#tag=$pkgver"
|
||||
"local://r3.desktop"
|
||||
"local://r3.png"
|
||||
"local://r3.sh")
|
||||
|
@ -26,13 +26,13 @@ build() {
|
|||
|
||||
package() {
|
||||
cd "$pkgname-$pkgver"
|
||||
sudo mkdir -p $pkgdir/opt/r3-game
|
||||
sudo mkdir -p $pkgdir/usr/share/applications
|
||||
sudo mkdir -p $pkgdir/usr/share/icons/hicolor/apps
|
||||
sudo mkdir -p $pkgdir/usr/bin
|
||||
sudo cp -Rv * $pkgdir/opt/r3-game
|
||||
sudo cp -v ../r3.sh $pkgdir/usr/bin/r3-game
|
||||
sudo chmod +x $pkgdir/usr/bin/r3-game
|
||||
sudo cp -v ../r3.desktop $pkgdir/usr/share/applications/r3-game.desktop
|
||||
sudo cp -v ../r3.png $pkgdir/usr/share/icons/hicolor/apps/r3-game.png
|
||||
mkdir -p $pkgdir/opt/r3-game
|
||||
mkdir -p $pkgdir/usr/share/applications
|
||||
mkdir -p $pkgdir/usr/share/icons/hicolor/apps
|
||||
mkdir -p $pkgdir/usr/bin
|
||||
cp -Rv * $pkgdir/opt/r3-game
|
||||
cp -v ../r3.sh $pkgdir/usr/bin/r3-game
|
||||
chmod +x $pkgdir/usr/bin/r3-game
|
||||
cp -v ../r3.desktop $pkgdir/usr/share/applications/r3-game.desktop
|
||||
cp -v ../r3.png $pkgdir/usr/share/icons/hicolor/apps/r3-game.png
|
||||
}
|
Loading…
Reference in a new issue