summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorNicolas_B2021-08-22 14:11:50 +0200
committerNicolas_B2021-08-22 14:11:50 +0200
commita4c355fea84090ee9a8c9f7dd785e2dded0296b3 (patch)
tree2b62542f48b8995523c1795d38cf26d23c8bff95
parent8cbcf43458b45ddf1394186d81c43c6fea28cef4 (diff)
downloadaur-a4c355fea84090ee9a8c9f7dd785e2dded0296b3.tar.gz
[upd] 0.13.0→1.0.0
-rw-r--r--.SRCINFO6
-rw-r--r--PKGBUILD8
2 files changed, 8 insertions, 6 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 2924593db08..42be36542b5 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.13.0
+ pkgver = 1.0.0
pkgrel = 1
url = http://cxong.github.io/cdogs-sdl/
arch = i686
@@ -13,7 +13,7 @@ pkgbase = cdogs
depends = sdl2_mixer
depends = sdl2_image
optdepends = cdogs-mission-pack: A large collection of user-created campaigns for C-Dogs.
- source = cdogs-0.13.0.tar.gz::https://github.com/cxong/cdogs-sdl/archive/0.13.0.tar.gz
- sha256sums = 1d51c1d918493761a1d702e6f9bf46409b9ecd0ea98ca4081fc41d355957222a
+ source = cdogs-1.0.0.tar.gz::https://github.com/cxong/cdogs-sdl/archive/1.0.0.tar.gz
+ sha256sums = aba3679ecf41ffad60e8710b5583af3b037819b7f1ae6d75055e6fb79b53eded
pkgname = cdogs
diff --git a/PKGBUILD b/PKGBUILD
index 5a98a1dd9fa..10a09e88740 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
# Contributors: carstene1ns, jose riha, Christoph Zeiler, nut543 and Dany Martineau
pkgname=cdogs
-pkgver=0.13.0
+pkgver=1.0.0
pkgrel=1
pkgdesc='Enhanced SDL port of DOS arcade game C-Dogs (aka "Cyberdogs 2")'
arch=('i686' 'x86_64')
@@ -12,7 +12,7 @@ depends=('gtk3' 'sdl2_mixer' 'sdl2_image')
makedepends=('cmake' 'python-pip' 'python-protobuf')
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")
-sha256sums=('1d51c1d918493761a1d702e6f9bf46409b9ecd0ea98ca4081fc41d355957222a')
+sha256sums=('aba3679ecf41ffad60e8710b5583af3b037819b7f1ae6d75055e6fb79b53eded')
prepare() {
cd $pkgname-sdl-$pkgver
@@ -24,11 +24,13 @@ prepare() {
build() {
cd $pkgname-sdl-$pkgver
- cmake ./ -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr \
+ cmake ./ -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr/share/cdogs \
-DCDOGS_DATA_DIR="/usr/share/cdogs/"
make
}
package() {
make DESTDIR="$pkgdir/" install -C $pkgname-sdl-$pkgver
+ mv $pkgdir/usr/share/cdogs/bin/ $pkgdir/usr/bin/
+ mv $pkgdir/usr/share/cdogs/share/* $pkgdir/usr/share/
}