summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorCarsten Teibes2017-06-03 14:36:28 +0200
committerCarsten Teibes2017-06-03 14:36:28 +0200
commit6ebce0f214f5fc8178f53e54606e87e2dd4cf3e1 (patch)
treeb2a3dd48960fe04e12bc7b1d7ff5bb0c0bb1712d
parentddf3992598f4b7d54df1a95fcae81a16d704bd3a (diff)
downloadaur-6ebce0f214f5fc8178f53e54606e87e2dd4cf3e1.tar.gz
[upd] 0.6.2→0.6.5
-rw-r--r--.SRCINFO7
-rw-r--r--PKGBUILD15
2 files changed, 12 insertions, 10 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 13fc45403fb..58f69f995f6 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.6.2
+ pkgver = 0.6.5
pkgrel = 1
url = http://cxong.github.io/cdogs-sdl/
arch = i686
@@ -9,8 +9,9 @@ pkgbase = cdogs
makedepends = cmake
depends = sdl2_mixer
depends = sdl2_image
- source = cdogs-0.6.2.tar.gz::https://github.com/cxong/cdogs-sdl/archive/0.6.2-2.tar.gz
- sha256sums = 16ea6f1042c6b5e6b9f7f80dbfc112fcb3554bfd5f267326d4bb09eaae500553
+ options = !optipng
+ source = cdogs-0.6.5.tar.gz::https://github.com/cxong/cdogs-sdl/archive/0.6.5.tar.gz
+ sha256sums = 73fcba62fe929dc52347c27f715dc3081ea995987d5eb9cf8028f29cdbcd949e
pkgname = cdogs
diff --git a/PKGBUILD b/PKGBUILD
index 44295bd7e02..0dc8f69384d 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
# Contributors: jose riha, Christoph Zeiler, nut543 and Dany Martineau
pkgname=cdogs
-pkgver=0.6.2
+pkgver=0.6.5
pkgrel=1
pkgdesc='Enhanced SDL port of DOS arcade game C-Dogs (aka "Cyberdogs 2")'
arch=('i686' 'x86_64')
@@ -10,31 +10,32 @@ url="http://cxong.github.io/cdogs-sdl/"
license=('GPL2')
depends=('sdl2_mixer' 'sdl2_image')
makedepends=('cmake')
-source=(cdogs-$pkgver.tar.gz::"https://github.com/cxong/cdogs-sdl/archive/${pkgver}-2.tar.gz")
-sha256sums=('16ea6f1042c6b5e6b9f7f80dbfc112fcb3554bfd5f267326d4bb09eaae500553')
+source=(cdogs-$pkgver.tar.gz::"https://github.com/cxong/cdogs-sdl/archive/${pkgver}.tar.gz")
+sha256sums=('73fcba62fe929dc52347c27f715dc3081ea995987d5eb9cf8028f29cdbcd949e')
+options=('!optipng') # or use OPTIPNGFLAGS=(-nx)
prepare() {
- cd $pkgname-sdl-$pkgver-2
+ cd $pkgname-sdl-$pkgver
# disable -Werror (aborts build on mere warnings)
sed 's| -Werror||' -i CMakeLists.txt
}
build() {
- cd $pkgname-sdl-$pkgver-2
+ cd $pkgname-sdl-$pkgver
cmake ./ -DCDOGS_DATA_DIR="/usr/share/cdogs/" -DCMAKE_BUILD_TYPE=Release
make
}
package() {
- cd $pkgname-sdl-$pkgver-2
+ cd $pkgname-sdl-$pkgver
# folders
install -d "$pkgdir"/usr/{bin,share/{cdogs,doc}}
# binaries
install -m755 src/cdogs-sdl{,-editor} "$pkgdir"/usr/bin
# data
- cp -rup data doc dogfights graphics missions music sounds cdogs_icon.bmp "$pkgdir"/usr/share/cdogs
+ cp -rup data doc dogfights graphics missions music sounds "$pkgdir"/usr/share/cdogs
# doc
ln -s /usr/share/cdogs/doc "$pkgdir"/usr/share/doc/cdogs
install -m644 README.md "$pkgdir"/usr/share/cdogs/doc