[arch-commits] Commit in 0ad/trunk (PKGBUILD)

Sven-Hendrik Haase svenstaro at gemini.archlinux.org
Sun Aug 8 20:37:01 UTC 2021


    Date: Sunday, August 8, 2021 @ 20:37:01
  Author: svenstaro
Revision: 995815

upgpkg: 0ad a25-1

Modified:
  0ad/trunk/PKGBUILD

----------+
 PKGBUILD |   24 ++++++++----------------
 1 file changed, 8 insertions(+), 16 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-08-08 20:36:46 UTC (rev 995814)
+++ PKGBUILD	2021-08-08 20:37:01 UTC (rev 995815)
@@ -2,9 +2,10 @@
 # Contributor: t3ddy  <t3ddy1988 "at" gmail {dot} com>
 # Contributor: Adrián Chaves Fernández (Gallaecio) <adriyetichaves at gmail.com>
 pkgname=0ad
-pkgver=a24.b
-_pkgver=0.0.24b-alpha
-pkgrel=7
+pkgver=a25
+_pkgver=0.0.25-alpha
+__pkgver=0.0.25-rc5-25848-alpha
+pkgrel=1
 pkgdesc="Cross-platform, 3D and historically-based real-time strategy game"
 arch=('x86_64')
 url="http://play0ad.com/"
@@ -13,20 +14,11 @@
          'libxml2' 'openal' 'sdl2' 'wxgtk3' 'zlib' 'libgl' 'glu' 'fmt'
          'gloox' 'miniupnpc' 'libminiupnpc.so' 'icu' 'nspr' 'libsodium')
 makedepends=('boost' 'cmake' 'mesa' 'zip' 'libsm' 'rust')
-source=("https://releases.wildfiregames.com/$pkgname-$_pkgver-unix-build.tar.xz"
-        $pkgname-rust-1.50.patch::https://github.com/0ad/0ad/commit/087a277e66c0456c2d6fdb7403d032ad09cbd18b.patch)
-sha512sums=('8173d393eb1bc57c38bef0076ba973ef46c877c06644365189c0887cd3152adba51d26b553e42221fd14343e9830a3a275bfcd9b28f66281e282ea3f247730ea'
-            '2e2763333dc23b746c4943894f9f0b8f526b7d85de7b8d02faebf95d6d39a54de3511447a679d04c5863ab886a53d66cecd7cac0c2bffc5922084445249e9b48')
+source=("https://releases.wildfiregames.com/$pkgname-$_pkgver-unix-build.tar.xz")
+sha512sums=('80c8e3beab379ab98ccc32dd5e7b8249e412eb5faf082909a883486106789221b422004a8cf8c9bdeb8d6c02653765538ac92a282dae557fe4ce878209a146dc')
 
-prepare() {
-  cd "$pkgname-$_pkgver"
-
-  patch -Np1 -i ../$pkgname-rust-1.50.patch
-
-}
-
 build() {
-  cd "$pkgname-$_pkgver/build/workspaces"
+  cd "$pkgname-$__pkgver/build/workspaces"
 
   export WX_CONFIG="wx-config-gtk3"
   ./update-workspaces.sh -j$(nproc) \
@@ -41,7 +33,7 @@
 }
 
 package() {
-  cd "$pkgname-$_pkgver"
+  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"



More information about the arch-commits mailing list