diff options
author | George Rawlinson | 2022-05-25 19:22:26 +1200 |
---|---|---|
committer | George Rawlinson | 2022-05-25 19:22:26 +1200 |
commit | 772d32ee2ac1da992ffc94e471153fac4fb36455 (patch) | |
tree | 16266f0cf3d1a510450123d508dcfed3330b2ff7 /PKGBUILD | |
parent | fcda9603fc7d7661e01f4adc6bc6366432e02b83 (diff) | |
download | aur-opentyrian2000.tar.gz |
upgpkg: opentyrian2000 2000.20200917-1
Ensure binary is aware of correct path to access assets.
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 14 |
1 files changed, 11 insertions, 3 deletions
@@ -2,7 +2,7 @@ pkgname=opentyrian2000 pkgver=2000.20200917 -pkgrel=1 +pkgrel=2 pkgdesc='Open Source port of the classic DOS shoot-em-up Tyrian2000' url="https://github.com/KScl/opentyrian2000" arch=('x86_64') @@ -41,13 +41,21 @@ prepare() { } build() { - make prefix=/usr all -C "$pkgname" + make \ + -C "$pkgname" \ + prefix=/usr \ + gamesdir=/usr/share \ + all } package() { cd "$pkgname" - make DESTDIR="$pkgdir" prefix=/usr install + make \ + DESTDIR="$pkgdir" \ + prefix=/usr \ + gamesdir=/usr/share \ + install # desktop file & icons install -vDm644 linux/opentyrian.desktop "$pkgdir/usr/share/applications/$pkgname.desktop" |