summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorNicolas_B2021-07-05 09:17:46 +0200
committerNicolas_B2021-07-05 09:17:46 +0200
commitc4861b5f39e0a990da4e02f194ee578b3ad8fca3 (patch)
treeb0d4e83aa82b3d81928a30ff32e67d56a1d6367b
parent19c79a34e720f0be55e819aedead4320d4245653 (diff)
downloadaur-c4861b5f39e0a990da4e02f194ee578b3ad8fca3.tar.gz
[upd] 0.10.2 -> 0.12.0 (+ patching duplicate gConfig)
-rw-r--r--.SRCINFO10
-rw-r--r--PKGBUILD12
2 files changed, 14 insertions, 8 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 9c1ba83c87c..cd6e96a65cc 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = cdogs
pkgdesc = Enhanced SDL port of DOS arcade game C-Dogs (aka "Cyberdogs 2")
- pkgver = 0.10.2
+ pkgver = 0.12.0
pkgrel = 1
url = http://cxong.github.io/cdogs-sdl/
arch = i686
@@ -12,8 +12,10 @@ pkgbase = cdogs
depends = gtk3
depends = sdl2_mixer
depends = sdl2_image
- source = cdogs-0.10.2.tar.gz::https://github.com/cxong/cdogs-sdl/archive/0.10.2.tar.gz
- sha256sums = 3ab6036e65c83e98156317aebb3cd6013c8e25081fa8547007a25d299657f93d
+ optdepends = cdogs-mission-pack: A large collection of user-created campaigns for C-Dogs.
+ source = cdogs-0.12.0.tar.gz::https://github.com/cxong/cdogs-sdl/archive/0.12.0.tar.gz
+ source = remove_duplicate_gconfig.patch::https://github.com/cxong/cdogs-sdl/commit/5a388412284d80608517533e3b4e7b68b2305e30.patch
+ sha256sums = 7ce391e8c9ebd4ca2579ace1bd8d486a8267ff1ec4719c862aba6960ad06bee9
+ sha256sums = b133b732a151e1f17d135a7d9d948cbe70e6b48e1fdcfeb462a46cf756fc139b
pkgname = cdogs
-
diff --git a/PKGBUILD b/PKGBUILD
index fda67143ea5..2b19a36965a 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,8 +1,8 @@
-# Maintainer: NicolasB
+# Maintainer: Nicolas_B
# Contributors: carstene1ns, jose riha, Christoph Zeiler, nut543 and Dany Martineau
pkgname=cdogs
-pkgver=0.10.2
+pkgver=0.12.0
pkgrel=1
pkgdesc='Enhanced SDL port of DOS arcade game C-Dogs (aka "Cyberdogs 2")'
arch=('i686' 'x86_64')
@@ -10,11 +10,15 @@ url="http://cxong.github.io/cdogs-sdl/"
license=('GPL2')
depends=('gtk3' 'sdl2_mixer' 'sdl2_image')
makedepends=('cmake' 'python-pip' 'python-protobuf')
-source=(cdogs-$pkgver.tar.gz::"https://github.com/cxong/cdogs-sdl/archive/${pkgver}.tar.gz")
-sha256sums=('3ab6036e65c83e98156317aebb3cd6013c8e25081fa8547007a25d299657f93d')
+optdepends=('cdogs-mission-pack: A large collection of user-created campaigns for C-Dogs.')
+source=(cdogs-$pkgver.tar.gz::"https://github.com/cxong/cdogs-sdl/archive/${pkgver}.tar.gz"
+ remove_duplicate_gconfig.patch::"https://github.com/cxong/cdogs-sdl/commit/5a388412284d80608517533e3b4e7b68b2305e30.patch")
+sha256sums=('7ce391e8c9ebd4ca2579ace1bd8d486a8267ff1ec4719c862aba6960ad06bee9'
+ 'b133b732a151e1f17d135a7d9d948cbe70e6b48e1fdcfeb462a46cf756fc139b')
prepare() {
cd $pkgname-sdl-$pkgver
+ patch --forward --strip=1 --input="${srcdir}/remove_duplicate_gconfig.patch"
# disable -Werror (aborts build on mere warnings)
sed 's| -Werror||' -i CMakeLists.txt