summaryrefslogtreecommitdiff
path: root/community-staging/0ad/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community-staging/0ad/PKGBUILD')
-rw-r--r--community-staging/0ad/PKGBUILD45
1 files changed, 0 insertions, 45 deletions
diff --git a/community-staging/0ad/PKGBUILD b/community-staging/0ad/PKGBUILD
deleted file mode 100644
index 6b2a83894..000000000
--- a/community-staging/0ad/PKGBUILD
+++ /dev/null
@@ -1,45 +0,0 @@
-# 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=a10
-_pkgver=r11863-alpha
-pkgrel=3
-pkgdesc="Cross-platform, 3D and historically-based real-time strategy game"
-arch=('i686' 'x86_64')
-url="http://wildfiregames.com/0ad"
-license=('GPL2' 'CCPL')
-depends=('binutils' 'boost-libs' 'curl' 'enet>=1.3' 'gamin' 'libogg' 'libpng' 'libvorbis' 'libxml2' 'openal' 'openexr' 'python2' 'sdl' 'wxgtk' 'zip' 'zlib' 'libgl' '0ad-data')
-makedepends=('boost' 'cmake' 'mesa')
-source=("http://releases.wildfiregames.com/$pkgname-$_pkgver-unix-build.tar.xz"
- "boost-1.50.patch")
-md5sums=('f42a2e18515cbcd48b99f0ea3796b3a4'
- '570724341102e23730de2f70d3a1b97c')
-
-build() {
- cd "$srcdir/$pkgname-$_pkgver/build/workspaces"
-
- 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"
- patch -d ../.. -Np1 < $srcdir/boost-1.50.patch
-
- ./update-workspaces.sh \
- --with-system-enet \
- --bindir=/usr/bin \
- --libdir=/usr/lib \
- --datadir=/usr/share/${pkgname}/data
-
- cd "$srcdir/$pkgname-$_pkgver/build/workspaces/gcc"
-
- make CONFIG=Release
-}
-
-package() {
- install -d ${pkgdir}/usr/{bin,lib}
- 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}/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"
-}