Date: Tuesday, May 2, 2023 @ 15:18:52
Author: spupykin
Revision: 1455862
archrelease: copy trunk to community-x86_64
Added:
0ad/repos/community-x86_64/PKGBUILD
(from rev 1455861, 0ad/trunk/PKGBUILD)
Deleted:
0ad/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 90 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 45 insertions(+), 45 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2023-05-02 15:18:20 UTC (rev 1455861)
+++ PKGBUILD 2023-05-02 15:18:52 UTC (rev 1455862)
@@ -1,45 +0,0 @@
-# Maintainer: Sven-Hendrik Haase <[email protected]>
-# Contributor: t3ddy <t3ddy1988 "at" gmail {dot} com>
-# Contributor: Adrián Chaves Fernández (Gallaecio) <[email protected]>
-pkgname=0ad
-pkgver=a26
-_pkgver=0.0.26-alpha
-pkgrel=4
-pkgdesc="Cross-platform, 3D and historically-based real-time strategy game"
-arch=('x86_64')
-url="http://play0ad.com/"
-license=('GPL2' 'CCPL')
-depends=('0ad-data' 'binutils' 'boost-libs' 'curl' 'enet' 'libogg' 'libpng'
'libvorbis'
- 'libxml2' 'openal' 'sdl2' 'wxwidgets-gtk3' 'zlib' 'libgl' 'glu' 'fmt'
- 'gloox' 'miniupnpc' 'libminiupnpc.so' 'icu' 'nspr' 'libsodium'
'which')
-makedepends=('boost' 'cmake' 'mesa' 'zip' 'libsm' 'rust' 'python' 'clang')
-options=('!lto') # breaks spidermonkey linking (https://bugs.gentoo.org/746947)
-source=("https://releases.wildfiregames.com/$pkgname-$_pkgver-unix-build.tar.xz")
-sha512sums=('aaf647d5d8454c244015d2a198beeaaebc571a5bc96446f3acff8dbd05f9843029c500bf4162651a5e1fcdb42bd5fb5b4f5c512c78372479fbd8565dd093f272')
-
-build() {
- cd "$pkgname-$_pkgver/build/workspaces"
-
- ./update-workspaces.sh -j$(nproc) \
- --without-pch \
- --bindir=/usr/bin \
- --libdir=/usr/lib/0ad \
- --datadir=/usr/share/0ad/data
-
- cd gcc
-
- VERBOSE=1 make
-}
-
-package() {
- cd "$pkgname-$_pkgver"
- install -d "${pkgdir}"/usr/{bin,lib/0ad,share/"${pkgname}"/data}
- 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 1455861,
0ad/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2023-05-02 15:18:52 UTC (rev 1455862)
@@ -0,0 +1,45 @@
+# Maintainer: Sven-Hendrik Haase <[email protected]>
+# Contributor: t3ddy <t3ddy1988 "at" gmail {dot} com>
+# Contributor: Adrián Chaves Fernández (Gallaecio) <[email protected]>
+pkgname=0ad
+pkgver=a26
+_pkgver=0.0.26-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=('0ad-data' 'binutils' 'boost-libs' 'curl' 'enet' 'libogg' 'libpng'
'libvorbis'
+ 'libxml2' 'openal' 'sdl2' 'wxwidgets-gtk3' 'zlib' 'libgl' 'glu' 'fmt'
+ 'gloox' 'miniupnpc' 'libminiupnpc.so' 'icu' 'nspr' 'libsodium'
'which')
+makedepends=('boost' 'cmake' 'mesa' 'zip' 'libsm' 'rust' 'python' 'clang')
+options=('!lto') # breaks spidermonkey linking (https://bugs.gentoo.org/746947)
+source=("https://releases.wildfiregames.com/$pkgname-$_pkgver-unix-build.tar.xz")
+sha512sums=('aaf647d5d8454c244015d2a198beeaaebc571a5bc96446f3acff8dbd05f9843029c500bf4162651a5e1fcdb42bd5fb5b4f5c512c78372479fbd8565dd093f272')
+
+build() {
+ cd "$pkgname-$_pkgver/build/workspaces"
+
+ ./update-workspaces.sh -j$(nproc) \
+ --without-pch \
+ --bindir=/usr/bin \
+ --libdir=/usr/lib/0ad \
+ --datadir=/usr/share/0ad/data
+
+ cd gcc
+
+ VERBOSE=1 make
+}
+
+package() {
+ cd "$pkgname-$_pkgver"
+ install -d "${pkgdir}"/usr/{bin,lib/0ad,share/"${pkgname}"/data}
+ 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"
+}