summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorCarsten Teibes2018-10-08 15:09:18 +0200
committerCarsten Teibes2018-10-08 15:09:18 +0200
commit2ec9bde706a40e2c4c650f2c46001a0d6999d437 (patch)
tree9c31291a3bd8923608c24ffac6528f7624c50eef
parent6ebce0f214f5fc8178f53e54606e87e2dd4cf3e1 (diff)
downloadaur-2ec9bde706a40e2c4c650f2c46001a0d6999d437.tar.gz
[upd] 0.6.5→0.6.8
-rw-r--r--.SRCINFO7
-rw-r--r--PKGBUILD22
2 files changed, 8 insertions, 21 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 58f69f995f6..86284c79959 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.5
+ pkgver = 0.6.8
pkgrel = 1
url = http://cxong.github.io/cdogs-sdl/
arch = i686
@@ -9,9 +9,8 @@ pkgbase = cdogs
makedepends = cmake
depends = sdl2_mixer
depends = sdl2_image
- options = !optipng
- source = cdogs-0.6.5.tar.gz::https://github.com/cxong/cdogs-sdl/archive/0.6.5.tar.gz
- sha256sums = 73fcba62fe929dc52347c27f715dc3081ea995987d5eb9cf8028f29cdbcd949e
+ source = cdogs-0.6.8.tar.gz::https://github.com/cxong/cdogs-sdl/archive/0.6.8.tar.gz
+ sha256sums = 292091a528203de41d186ed910ef36413a8adb3549c4a864fcb3792b9901a6ff
pkgname = cdogs
diff --git a/PKGBUILD b/PKGBUILD
index 0dc8f69384d..ebd931c6844 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
# Contributors: jose riha, Christoph Zeiler, nut543 and Dany Martineau
pkgname=cdogs
-pkgver=0.6.5
+pkgver=0.6.8
pkgrel=1
pkgdesc='Enhanced SDL port of DOS arcade game C-Dogs (aka "Cyberdogs 2")'
arch=('i686' 'x86_64')
@@ -11,8 +11,7 @@ license=('GPL2')
depends=('sdl2_mixer' 'sdl2_image')
makedepends=('cmake')
source=(cdogs-$pkgver.tar.gz::"https://github.com/cxong/cdogs-sdl/archive/${pkgver}.tar.gz")
-sha256sums=('73fcba62fe929dc52347c27f715dc3081ea995987d5eb9cf8028f29cdbcd949e')
-options=('!optipng') # or use OPTIPNGFLAGS=(-nx)
+sha256sums=('292091a528203de41d186ed910ef36413a8adb3549c4a864fcb3792b9901a6ff')
prepare() {
cd $pkgname-sdl-$pkgver
@@ -24,22 +23,11 @@ prepare() {
build() {
cd $pkgname-sdl-$pkgver
- cmake ./ -DCDOGS_DATA_DIR="/usr/share/cdogs/" -DCMAKE_BUILD_TYPE=Release
+ cmake ./ -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCDOGS_DATA_DIR="/usr/share/cdogs/"
make
}
package() {
- 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 "$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
- # .desktop entries
- install -Dm644 build/linux/cdogs-icon.48.png "$pkgdir"/usr/share/pixmaps/cdogs-sdl.png
- install -Dm644 build/linux/cdogs-sdl.desktop "$pkgdir"/usr/share/applications/cdogs-sdl.desktop
+ make DESTDIR="$pkgdir/" install -C $pkgname-sdl-$pkgver
}