summaryrefslogtreecommitdiff
path: root/pcr/nexuiz/PKGBUILD
diff options
context:
space:
mode:
authorOmar Vega Ramos <ovruni@gnu.org.pe>2015-05-09 16:07:36 -0500
committerOmar Vega Ramos <ovruni@gnu.org.pe>2015-05-09 16:07:36 -0500
commitb9eacaad7c6b28a5a11960c5d1b0309ed2a80145 (patch)
tree6b20c7d45ff5f7bd89f7d6da1b1eb0a160c3f2af /pcr/nexuiz/PKGBUILD
parent2d323501f091f18caa49cb2cdad150aa597de0a8 (diff)
downloadabslibre-b9eacaad7c6b28a5a11960c5d1b0309ed2a80145.tar.gz
abslibre-b9eacaad7c6b28a5a11960c5d1b0309ed2a80145.tar.bz2
abslibre-b9eacaad7c6b28a5a11960c5d1b0309ed2a80145.zip
Adding package() to some packages
Diffstat (limited to 'pcr/nexuiz/PKGBUILD')
-rw-r--r--pcr/nexuiz/PKGBUILD5
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