[arch-commits] Commit in 0ad/repos/community-x86_64 (PKGBUILD PKGBUILD)
Sven-Hendrik Haase
svenstaro at archlinux.org
Sat Oct 12 16:32:19 UTC 2019
Date: Saturday, October 12, 2019 @ 16:32:18
Author: svenstaro
Revision: 515252
archrelease: copy trunk to community-x86_64
Added:
0ad/repos/community-x86_64/PKGBUILD
(from rev 515251, 0ad/trunk/PKGBUILD)
Deleted:
0ad/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 116 +++++++++++++++++++++++++++++++------------------------------
1 file changed, 60 insertions(+), 56 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2019-10-12 16:32:13 UTC (rev 515251)
+++ PKGBUILD 2019-10-12 16:32:18 UTC (rev 515252)
@@ -1,56 +0,0 @@
-# Maintainer: Sven-Hendrik Haase <sh at lutzhaase.com>
-# Contributor: t3ddy <t3ddy1988 "at" gmail {dot} com>
-# Contributor: Adrián Chaves Fernández (Gallaecio) <adriyetichaves at gmail.com>
-pkgname=0ad
-pkgver=a23.1
-_pkgver=0.0.23b-alpha
-pkgrel=5
-pkgdesc="Cross-platform, 3D and historically-based real-time strategy game"
-arch=('x86_64')
-url="http://play0ad.com/"
-license=('GPL2' 'CCPL')
-depends=('binutils' 'boost-libs' 'curl' 'enet' 'libogg' 'libpng' 'libvorbis'
- 'libxml2' 'openal' 'sdl2' 'wxgtk' 'zlib' 'libgl' '0ad-data' 'glu'
- 'gloox' 'miniupnpc' 'libminiupnpc.so' 'icu' 'nspr' 'libsodium')
-makedepends=('boost' 'cmake' 'mesa' 'zip' 'python2' 'libsm')
-source=("https://releases.wildfiregames.com/$pkgname-$_pkgver-unix-build.tar.xz")
-sha512sums=('82934313c46c4fd89e3841d5bbf901904abbd2108e9749529d7282bd24ac53b9e6878681c06e6019f4d8ec0e425c28300b0aafc9610a66a331777ffb58ed6135')
-
-prepare() {
- cd "$srcdir/$pkgname-$_pkgver/"
- sed -i "s/env python/env python2/g" libraries/source/cxxtest-4.4/bin/cxxtestgen
-}
-
-build() {
- cd "$srcdir/$pkgname-$_pkgver/build/workspaces"
-
- unset CPPFLAGS # for le spidermonkey
-
- # http://site.icu-project.org/download/61#TOC-Migration-Issues
- CXXFLAGS+=' -DU_USING_ICU_NAMESPACE=1'
-
- export SDL2_CONFIG="pkg-config sdl2"
- ./update-workspaces.sh \
- --without-pch \
- --bindir=/usr/bin \
- --libdir=/usr/lib/0ad \
- --datadir=/usr/share/0ad/data
-
- cd "$srcdir/$pkgname-$_pkgver/build/workspaces/gcc"
-
- verbose=1 make
-}
-
-package() {
- install -d "${pkgdir}"/usr/{bin,lib/0ad,share/"${pkgname}"/data}
- cd "$srcdir/$pkgname-$_pkgver"
-
- install -Dm755 binaries/system/pyrogenesis "${pkgdir}/usr/bin"
- install -Dm755 binaries/system/*.so "${pkgdir}/usr/lib/0ad"
-
- cp -r binaries/data/l10n/ ${pkgdir}/usr/share/${pkgname}/data/
-
- 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"
-}
Copied: 0ad/repos/community-x86_64/PKGBUILD (from rev 515251, 0ad/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2019-10-12 16:32:18 UTC (rev 515252)
@@ -0,0 +1,60 @@
+# Maintainer: Sven-Hendrik Haase <svenstaro at gmail.com>
+# Contributor: t3ddy <t3ddy1988 "at" gmail {dot} com>
+# Contributor: Adrián Chaves Fernández (Gallaecio) <adriyetichaves at gmail.com>
+pkgname=0ad
+pkgver=a23.1
+_pkgver=0.0.23b-alpha
+pkgrel=6
+pkgdesc="Cross-platform, 3D and historically-based real-time strategy game"
+arch=('x86_64')
+url="http://play0ad.com/"
+license=('GPL2' 'CCPL')
+depends=('binutils' 'boost-libs' 'curl' 'enet' 'libogg' 'libpng' 'libvorbis'
+ 'libxml2' 'openal' 'sdl2' 'wxgtk' 'zlib' 'libgl' '0ad-data' 'glu'
+ 'gloox' 'miniupnpc' 'libminiupnpc.so' 'icu' 'nspr' 'libsodium')
+makedepends=('boost' 'cmake' 'mesa' 'zip' 'python2' 'libsm')
+source=("https://releases.wildfiregames.com/$pkgname-$_pkgver-unix-build.tar.xz"
+ "https://code.wildfiregames.com/file/data/3fjmeh3urwrljudvr5jt/PHID-FILE-aas5xivla4iia52w5i2d/D2353.diff")
+sha512sums=('82934313c46c4fd89e3841d5bbf901904abbd2108e9749529d7282bd24ac53b9e6878681c06e6019f4d8ec0e425c28300b0aafc9610a66a331777ffb58ed6135'
+ '8d6134ee8a5fe3e2a3de44ae1a7e80712d11f7de965b744d04abff0968438624c9862d19e8e738cb8cbac6b2ee4bd8c5f55778249992ffa2112cf913f2932659')
+
+prepare() {
+ cd "$srcdir/$pkgname-$_pkgver/"
+ sed -i "s/env python/env python2/g" libraries/source/cxxtest-4.4/bin/cxxtestgen
+
+ patch -Np0 -i "$srcdir"/D2353.diff
+}
+
+build() {
+ cd "$srcdir/$pkgname-$_pkgver/build/workspaces"
+
+ unset CPPFLAGS # for le spidermonkey
+
+ # http://site.icu-project.org/download/61#TOC-Migration-Issues
+ CXXFLAGS+=' -DU_USING_ICU_NAMESPACE=1'
+
+ export SDL2_CONFIG="pkg-config sdl2"
+ ./update-workspaces.sh \
+ --without-pch \
+ --bindir=/usr/bin \
+ --libdir=/usr/lib/0ad \
+ --datadir=/usr/share/0ad/data
+
+ cd "$srcdir/$pkgname-$_pkgver/build/workspaces/gcc"
+
+ verbose=1 make
+}
+
+package() {
+ install -d "${pkgdir}"/usr/{bin,lib/0ad,share/"${pkgname}"/data}
+ cd "$srcdir/$pkgname-$_pkgver"
+
+ install -Dm755 binaries/system/pyrogenesis "${pkgdir}/usr/bin"
+ install -Dm755 binaries/system/*.so "${pkgdir}/usr/lib/0ad"
+
+ cp -r binaries/data/l10n/ ${pkgdir}/usr/share/${pkgname}/data/
+
+ 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"
+}
More information about the arch-commits
mailing list