diff options
author | mrxx | 2018-11-04 18:23:45 +0100 |
---|---|---|
committer | mrxx | 2018-11-04 18:23:45 +0100 |
commit | 75bda9f23b9d48c60230b4c65a8385be410e3fd8 (patch) | |
tree | 8664815fab36c3ded89cd597104ac28fd9c630c7 | |
parent | 731074b6fe54533f252722ec6edf97c467f0798d (diff) | |
download | aur-75bda9f23b9d48c60230b4c65a8385be410e3fd8.tar.gz |
New upstream source, add install file
-rw-r--r-- | .SRCINFO | 14 | ||||
-rw-r--r-- | PKGBUILD | 22 | ||||
-rw-r--r-- | gmchess.install | 9 |
3 files changed, 33 insertions, 12 deletions
@@ -1,16 +1,22 @@ pkgbase = gmchess pkgdesc = Chinese chess game pkgver = 0.29.6 - pkgrel = 3 - url = http://code.google.com/p/gmchess/ + pkgrel = 4 + url = https://salsa.debian.org/chinese-team/gmchess + install = gmchess.install arch = i686 arch = x86_64 license = GPL2 makedepends = pkgconfig makedepends = intltool depends = gtkmm - source = http://gmchess.googlecode.com/files/gmchess-0.29.6.tar.bz2 - sha1sums = f9a81c8fd58ff5122423b368c62e54f3b7528af5 + conflicts = gmchess-bin + conflicts = eleeye-bin + conflicts = convert-pgn-bin + source = gmchess-0.29.6.tar.gz::https://salsa.debian.org/chinese-team/gmchess/-/archive/master/gmchess-master.tar.gz + source = gmchess.install + sha1sums = 26fb365af83d3364a699175718ca0573c0b62ca5 + sha1sums = 8ce9d92ee9cda1709098d0a0a46ce9cca9fa83ba pkgname = gmchess @@ -1,20 +1,26 @@ -# Maintainer: Jeff Youdontneedtoknow <jeffpublicjr at gmail dot com> +# Maintainer: mrxx <mrxx at cyberhome dot at> +# Contributor: Jeff Youdontneedtoknow <jeffpublicjr at gmail dot com> # Contributor: yetist <yetist@gmail.com> pkgname=gmchess pkgver=0.29.6 -pkgrel=3 -pkgdesc="Chinese chess game" +pkgrel=4 +pkgdesc="Play Chinese chess (Xiangqi) against a human opponent or the computer" arch=("i686" "x86_64") -url="http://code.google.com/p/gmchess/" +url="https://salsa.debian.org/chinese-team/gmchess" license=('GPL2') depends=("gtkmm") makedepends=('pkgconfig' 'intltool') -source=("http://gmchess.googlecode.com/files/$pkgname-$pkgver.tar.bz2") -sha1sums=('f9a81c8fd58ff5122423b368c62e54f3b7528af5') +conflicts=('gmchess-bin' 'eleeye-bin' 'convert-pgn-bin') +install=gmchess.install +source=("$pkgname-$pkgver.tar.gz::https://salsa.debian.org/chinese-team/gmchess/-/archive/master/${pkgname}-master.tar.gz" 'gmchess.install') +sha1sums=('26fb365af83d3364a699175718ca0573c0b62ca5' + '8ce9d92ee9cda1709098d0a0a46ce9cca9fa83ba') build() { - cd "$srcdir/$pkgname-$pkgver" + cd "$srcdir/${pkgname}-master" + autoreconf --install + autoconf ./configure --prefix=/usr make make DESTDIR="$srcdir" install @@ -38,4 +44,4 @@ package(){ install -D -m644 $srcdir/usr/share/pixmaps/$pkgname.png $pkgdir/usr/share/icons/$pkgname.png cp -r $srcdir/usr/lib $pkgdir/usr cp -r $srcdir/usr/bin $pkgdir/usr -}
\ No newline at end of file +} diff --git a/gmchess.install b/gmchess.install new file mode 100644 index 000000000000..f753478c33af --- /dev/null +++ b/gmchess.install @@ -0,0 +1,9 @@ +post_install() { + echo + echo "Please note: If this game segfaults on your computer, consider installing gmchess-bin instead." + echo +} + +post_upgrade() { + post_install +} |