summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorCarsten Teibes2016-05-29 03:27:40 +0200
committerCarsten Teibes2016-05-29 03:28:12 +0200
commitdc496415b4d45dbcd112b629e37d7aa480e6e569 (patch)
tree465b51cfb4fb08955f656f63c738215913b1bf29
parentc6f0a9547f7ac9208820f507728de060f9fb9b83 (diff)
downloadaur-dc496415b4d45dbcd112b629e37d7aa480e6e569.tar.gz
[upd] 0.5.8→0.6.1
Update dependencies for SDL2 port
-rw-r--r--.SRCINFO19
-rw-r--r--PKGBUILD32
2 files changed, 13 insertions, 38 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 50509dc8819..7346f81be04 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,25 +1,16 @@
pkgbase = cdogs
pkgdesc = Enhanced SDL port of DOS arcade game C-Dogs (aka "Cyberdogs 2")
- pkgver = 0.5.8
+ pkgver = 0.6.1
pkgrel = 1
url = http://cxong.github.io/cdogs-sdl/
arch = i686
arch = x86_64
license = GPL2
makedepends = cmake
- depends = sdl_mixer
- depends = sdl_image
- depends = physfs
- source = cdogs-0.5.8.tar.gz::https://github.com/cxong/cdogs-sdl/archive/0.5.8.tar.gz
- source = hqx-for-0.5.8.tar.gz::https://github.com/cxong/hqx/archive/2a8a05854ad2147425d0b55a3c40e81c368c97fd.tar.gz
- source = cbehave-for-0.5.8.tar.gz::https://github.com/cxong/cbehave/archive/4ab8ce9fe7662c593ce92d5f99f6b60dbaeadad7.tar.gz
- source = rlutil-for-0.5.8.tar.gz::https://github.com/cxong/rlutil/archive/1407ec0e1775366aed527b6113dd14a02d046c09.tar.gz
- source = tinydir-for-0.5.8.tar.gz::https://github.com/cxong/tinydir/archive/53aab97d6a11d70d669ce9c36d0d90ec6937c33d.tar.gz
- sha256sums = 08e1f47b43c229ce0d20a32c9e287abc9f47cdc658ac38726a414083256401d3
- sha256sums = fca25adefd14af3584dcf0e48c69647aa46a924ddbfcb75ec6053528f1bd80bc
- sha256sums = df3f546c63ab1517d2ae3053e2156f80555d3ddf96328190527965e1ca5dfc9d
- sha256sums = 42116a68a2fd8e810529df65e2703a3c3cd89d34e5e4652e3955e11f4d55abfe
- sha256sums = 2d71972034d570ac506dee5909cfac72c1870734228a61b266e354f2d9acf277
+ depends = sdl2_mixer
+ depends = sdl2_image
+ source = cdogs-0.6.1.tar.gz::https://github.com/cxong/cdogs-sdl/archive/0.6.1.tar.gz
+ sha256sums = 36035451286e3dd8af036ebfd84eb8ae4b9fa84bfc07a0bf2600cf7a78cbc167
pkgname = cdogs
diff --git a/PKGBUILD b/PKGBUILD
index 50fc3cd533d..1d47426fb56 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,32 +2,18 @@
# Contributors: jose riha, Christoph Zeiler, nut543 and Dany Martineau
pkgname=cdogs
-pkgver=0.5.8
+pkgver=0.6.1
pkgrel=1
pkgdesc='Enhanced SDL port of DOS arcade game C-Dogs (aka "Cyberdogs 2")'
arch=('i686' 'x86_64')
url="http://cxong.github.io/cdogs-sdl/"
license=('GPL2')
-depends=('sdl_mixer' 'sdl_image' 'physfs')
+depends=('sdl2_mixer' 'sdl2_image')
makedepends=('cmake')
-source=(cdogs-$pkgver.tar.gz::"https://github.com/cxong/cdogs-sdl/archive/$pkgver.tar.gz"
- hqx-for-$pkgver.tar.gz::"https://github.com/cxong/hqx/archive/2a8a05854ad2147425d0b55a3c40e81c368c97fd.tar.gz"
- cbehave-for-$pkgver.tar.gz::"https://github.com/cxong/cbehave/archive/4ab8ce9fe7662c593ce92d5f99f6b60dbaeadad7.tar.gz"
- rlutil-for-$pkgver.tar.gz::"https://github.com/cxong/rlutil/archive/1407ec0e1775366aed527b6113dd14a02d046c09.tar.gz"
- tinydir-for-$pkgver.tar.gz::"https://github.com/cxong/tinydir/archive/53aab97d6a11d70d669ce9c36d0d90ec6937c33d.tar.gz")
-sha256sums=('08e1f47b43c229ce0d20a32c9e287abc9f47cdc658ac38726a414083256401d3'
- 'fca25adefd14af3584dcf0e48c69647aa46a924ddbfcb75ec6053528f1bd80bc'
- 'df3f546c63ab1517d2ae3053e2156f80555d3ddf96328190527965e1ca5dfc9d'
- '42116a68a2fd8e810529df65e2703a3c3cd89d34e5e4652e3955e11f4d55abfe'
- '2d71972034d570ac506dee5909cfac72c1870734228a61b266e354f2d9acf277')
+source=(cdogs-$pkgver.tar.gz::"https://github.com/cxong/cdogs-sdl/archive/$pkgver.tar.gz")
+sha256sums=('36035451286e3dd8af036ebfd84eb8ae4b9fa84bfc07a0bf2600cf7a78cbc167')
prepare() {
- # copy submodules to right location
- cp -rup hqx-2a8a05854ad2147425d0b55a3c40e81c368c97fd/* $pkgname-sdl-$pkgver/src/cdogs/hqx
- cp -rup cbehave-4ab8ce9fe7662c593ce92d5f99f6b60dbaeadad7/* $pkgname-sdl-$pkgver/src/tests/cbehave
- cp -rup rlutil-1407ec0e1775366aed527b6113dd14a02d046c09/* $pkgname-sdl-$pkgver/src/tests/cbehave/rlutil
- cp -rup tinydir-53aab97d6a11d70d669ce9c36d0d90ec6937c33d/* $pkgname-sdl-$pkgver/src/tinydir
-
cd $pkgname-sdl-$pkgver
# disable -Werror (aborts build) and change data directory
@@ -47,17 +33,15 @@ build() {
package() {
cd $pkgname-sdl-$pkgver
-
+ # folders
+ install -d "$pkgdir"/usr/{bin,share/{cdogs,doc}}
# binaries
- install -Dm755 src/cdogs-sdl "$pkgdir"/usr/bin/cdogs
- install -Dm755 src/cdogs-sdl-editor "$pkgdir"/usr/bin/cdogs-editor
-
+ install -m755 src/cdogs-sdl{,-editor} "$pkgdir"/usr/bin
# data
- install -d "$pkgdir"/usr/share/cdogs
cp -rup data doc dogfights graphics missions music sounds cdogs_icon.bmp "$pkgdir"/usr/share/cdogs
# doc
- install -d "$pkgdir"/usr/share/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.png
install -Dm644 build/linux/cdogs-sdl.desktop "$pkgdir"/usr/share/applications/cdogs.desktop