diff options
author | Jeanbon | 2017-01-08 20:37:12 +0100 |
---|---|---|
committer | Jeanbon | 2017-01-08 20:37:12 +0100 |
commit | 2a00ce54a2acb10a365aeed2d674576af41bf1c4 (patch) | |
tree | d5b2fa9884b96f2428fd6cfe7ea285ff129f9617 /PKGBUILD | |
parent | 00b6826bf05cc75c84a83bae2ebecbb72e4ea1d5 (diff) | |
download | aur-2a00ce54a2acb10a365aeed2d674576af41bf1c4.tar.gz |
Improve file location
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 14 |
1 files changed, 8 insertions, 6 deletions
@@ -2,7 +2,7 @@ _pkgname=lugaru _gitname=lugaru pkgname=$_pkgname-git -pkgver=3327059 +pkgver=1a6ef83 pkgrel=1 pkgdesc="A third-person action game featuring a unique close-range combat system" url="https://osslugaru.gitlab.io" @@ -10,7 +10,8 @@ license=('GPL') arch=('i686' 'x86_64') depends=('sdl2' 'glu' 'libjpeg-turbo' 'libpng' 'openal' 'libvorbis' 'zlib') makedepends=('cmake') -conflicts=('lugaru-hg') +options=('!optipng') +conflicts=('lugaru-hg' 'lugaruhd-hg') source=("git+https://gitlab.com/osslugaru/lugaru.git" "${_pkgname}.desktop") sha256sums=('SKIP' @@ -23,12 +24,13 @@ pkgver() { build() { cd $srcdir/${_pkgname}/ - mkdir build + mkdir build || true cd build cmake -DSYSTEM_INSTALL=ON \ - -DCMAKE_INSTALL_BINDIR=games \ - -DCMAKE_INSTALL_DATADIR=share/games \ - -DCMAKE_INSTALL_MANDIR=../man \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_BINDIR=bin \ + -DCMAKE_INSTALL_DATADIR=share \ + -DCMAKE_INSTALL_MANDIR=share/man \ .. make } |