summaryrefslogtreecommitdiff
path: root/community/0ad/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-04-09 00:05:27 -0700
committerroot <root@rshg054.dnsready.net>2013-04-09 00:05:27 -0700
commit987f836820eae061f40608b4ee1b6a14ecced3cc (patch)
treed28e524877b41fb49ccb7b2f99b36db2f9c90e89 /community/0ad/PKGBUILD
parentce26b1905ac40cd9389e1c9f364a2ccd8f4ec13c (diff)
Tue Apr 9 00:05:27 PDT 2013
Diffstat (limited to 'community/0ad/PKGBUILD')
-rw-r--r--community/0ad/PKGBUILD12
1 files changed, 7 insertions, 5 deletions
diff --git a/community/0ad/PKGBUILD b/community/0ad/PKGBUILD
index c1a642e5f..d4aefca01 100644
--- a/community/0ad/PKGBUILD
+++ b/community/0ad/PKGBUILD
@@ -1,11 +1,11 @@
-# $Id: PKGBUILD 87547 2013-04-02 21:52:23Z svenstaro $
+# $Id: PKGBUILD 87879 2013-04-08 12:35:31Z svenstaro $
# Maintainer: Sven-Hendrik Haase <sh@lutzhaase.com>
# Contributor: t3ddy <t3ddy1988 "at" gmail {dot} com>
# Contributor: Adrián Chaves Fernández (Gallaecio) <adriyetichaves@gmail.com>
pkgname=0ad
pkgver=a13
_pkgver=0.0.13-alpha
-pkgrel=1
+pkgrel=2
pkgdesc="Cross-platform, 3D and historically-based real-time strategy game"
arch=('i686' 'x86_64')
url="http://play0ad.com/"
@@ -21,10 +21,12 @@ build() {
sed -i 's/unix_names = { "boost_filesystem-mt", "boost_system-mt" },/unix_names = { "boost_filesystem", "boost_system" },/g' "${srcdir}/${pkgname}-${_pkgver}/build/premake/extern_libs4.lua"
sed -i 's/unix_names = { "boost_signals-mt" },/unix_names = { "boost_signals" },/g' "${srcdir}/${pkgname}-${_pkgver}/build/premake/extern_libs4.lua"
+ unset CPPFLAGS
+
./update-workspaces.sh \
--with-system-enet \
--bindir=/usr/bin \
- --libdir=/usr/lib \
+ --libdir=/usr/lib/0ad \
--datadir=/usr/share/${pkgname}/data
cd "$srcdir/$pkgname-$_pkgver/build/workspaces/gcc"
@@ -33,9 +35,9 @@ build() {
}
package() {
- install -d "${pkgdir}"/usr/{bin,lib}
+ install -d "${pkgdir}"/usr/{bin,lib/0ad}
install -Dm755 "${srcdir}"/${pkgname}-${_pkgver}/binaries/system/pyrogenesis "${pkgdir}/usr/bin"
- install -Dm755 "${srcdir}"/${pkgname}-${_pkgver}/binaries/system/*.so{,.1.0} "${pkgdir}/usr/lib"
+ install -Dm755 "${srcdir}"/${pkgname}-${_pkgver}/binaries/system/*.so{,.1.0} "${pkgdir}/usr/lib/0ad"
install -Dm755 "${srcdir}/${pkgname}-${_pkgver}/build/resources/${pkgname}.sh" "${pkgdir}/usr/bin/${pkgname}"
install -Dm644 "${srcdir}/$pkgname-$_pkgver/build/resources/${pkgname}.desktop" "${pkgdir}/usr/share/applications/${pkgname}.desktop"