summaryrefslogtreecommitdiff
path: root/community/0ad/PKGBUILD
diff options
context:
space:
mode:
authorNicolás Reynolds <fauno@endefensadelsl.org>2014-02-17 03:22:26 +0000
committerNicolás Reynolds <fauno@endefensadelsl.org>2014-02-17 03:22:26 +0000
commit35e9f8bc93db9e691bf6d00950956ca3e5d86e83 (patch)
treef00547d7fa71a3c490077d233f63c66efe8e5cac /community/0ad/PKGBUILD
parent7695869e55415ddd53069b90850a387e73f04f4e (diff)
Mon Feb 17 03:19:04 UTC 2014
Diffstat (limited to 'community/0ad/PKGBUILD')
-rw-r--r--community/0ad/PKGBUILD24
1 files changed, 15 insertions, 9 deletions
diff --git a/community/0ad/PKGBUILD b/community/0ad/PKGBUILD
index b109ae0c5..a510a3e0f 100644
--- a/community/0ad/PKGBUILD
+++ b/community/0ad/PKGBUILD
@@ -1,16 +1,18 @@
-# $Id: PKGBUILD 103787 2014-01-11 20:08:18Z eric $
+# $Id: PKGBUILD 105861 2014-02-16 16:38:12Z bpiotrowski $
# 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=a15
_pkgver=0.0.15-alpha
-pkgrel=2
+pkgrel=3
pkgdesc="Cross-platform, 3D and historically-based real-time strategy game"
arch=('i686' 'x86_64')
url="http://play0ad.com/"
license=('GPL2' 'CCPL')
-depends=('binutils' 'boost-libs' 'curl' 'enet' 'libogg' 'libpng' 'libvorbis' 'libxml2' 'openal' 'sdl' 'wxgtk' 'zlib' 'libgl' '0ad-data' 'glu' 'gloox' 'miniupnpc' 'libsm')
+depends=('binutils' 'boost-libs' 'curl' 'enet' 'libogg' 'libpng' 'libvorbis'
+ 'libxml2' 'openal' 'sdl' 'wxgtk2.8' 'zlib' 'libgl' '0ad-data' 'glu'
+ 'gloox' 'miniupnpc' 'libsm')
makedepends=('boost' 'cmake' 'mesa' 'zip' 'python2')
source=("http://releases.wildfiregames.com/$pkgname-$_pkgver-unix-build.tar.xz")
md5sums=('a651d81eb9b31da01e376ddaa597e954')
@@ -20,9 +22,9 @@ build() {
unset CPPFLAGS # for le spidermonkey
+ export WX_CONFIG=/usr/bin/wx-config-2.8
./update-workspaces.sh \
--with-system-enet \
- --with-system-miniupnpc \
--bindir=/usr/bin \
--libdir=/usr/lib/0ad \
--datadir=/usr/share/${pkgname}/data
@@ -34,10 +36,14 @@ build() {
package() {
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/0ad"
+ cd "$srcdir/$pkgname-$_pkgver"
- 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"
- install -Dm644 "${srcdir}/$pkgname-$_pkgver/build/resources/${pkgname}.png" "${pkgdir}/usr/share/pixmaps/${pkgname}.png"
+ install -Dm755 binaries/system/pyrogenesis "${pkgdir}/usr/bin"
+ install -Dm755 binaries/system/*.so{,.1.0} "${pkgdir}/usr/lib/0ad"
+
+ install -Dm755 build/resources/${pkgname}.sh "${pkgdir}/usr/bin/${pkgname}"
+ install -Dm644 build/resources/${pkgname}.desktop \
+ "${pkgdir}/usr/share/applications/${pkgname}.desktop"
+ install -Dm644 build/resources/${pkgname}.png \
+ "${pkgdir}/usr/share/pixmaps/${pkgname}.png"
}