From 987f836820eae061f40608b4ee1b6a14ecced3cc Mon Sep 17 00:00:00 2001 From: root Date: Tue, 9 Apr 2013 00:05:27 -0700 Subject: Tue Apr 9 00:05:27 PDT 2013 --- community/0ad/PKGBUILD | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'community/0ad/PKGBUILD') 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 # Contributor: t3ddy # Contributor: Adrián Chaves Fernández (Gallaecio) 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" -- cgit v1.2.3-54-g00ecf