diff options
author | Omar Vega Ramos <ovruni@gnu.org.pe> | 2015-05-07 14:43:53 -0500 |
---|---|---|
committer | Omar Vega Ramos <ovruni@gnu.org.pe> | 2015-05-07 14:43:53 -0500 |
commit | bdf4417489e6e8f288cc2a7b64c69576f090be74 (patch) | |
tree | b084f510b7fa1c33eee23eb65f69a675ea044760 /pcr/nexuiz/PKGBUILD | |
parent | bc321c1598cda8ba08c7de864d8ad979561a992b (diff) |
Adding package() to some packages
Diffstat (limited to 'pcr/nexuiz/PKGBUILD')
-rw-r--r-- | pcr/nexuiz/PKGBUILD | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/pcr/nexuiz/PKGBUILD b/pcr/nexuiz/PKGBUILD index 85a49a893..0d5cd1afc 100644 --- a/pcr/nexuiz/PKGBUILD +++ b/pcr/nexuiz/PKGBUILD @@ -8,7 +8,7 @@ pkgname=nexuiz pkgver=2.5.2 _zipver=252 -pkgrel=3 +pkgrel=3.1 arch=('i686' 'x86_64' 'mips64el') pkgdesc="A free software first person shooter" url="http://www.alientrap.org/games/nexuiz" @@ -45,7 +45,10 @@ build() { make CPUOPTIMIZATIONS="${CFLAGS}" DP_LINK_TO_LIBJPEG=1 cl-nexuiz || return 1 make CPUOPTIMIZATIONS="${CFLAGS}" DP_LINK_TO_LIBJPEG=1 sdl-nexuiz || return 1 make CPUOPTIMIZATIONS="${CFLAGS}" DP_LINK_TO_LIBJPEG=1 sv-nexuiz || return 1 +} +package() { + cd $srcdir/Nexuiz/darkplaces # install the compiled binaries install -Dm755 nexuiz-glx nexuiz-sdl nexuiz-dedicated -t $_nexdir || return 1 |