summaryrefslogtreecommitdiff
path: root/extra/mahjong
diff options
context:
space:
mode:
authorParabola <dev@list.parabolagnulinux.org>2011-04-05 14:26:38 +0000
committerParabola <dev@list.parabolagnulinux.org>2011-04-05 14:26:38 +0000
commit415856bdd4f48ab4f2732996f0bae58595092bbe (patch)
treeede2018b591f6dfb477fe9341ba17b9bc000fab9 /extra/mahjong
Tue Apr 5 14:26:38 UTC 2011
Diffstat (limited to 'extra/mahjong')
-rw-r--r--extra/mahjong/PKGBUILD22
1 files changed, 22 insertions, 0 deletions
diff --git a/extra/mahjong/PKGBUILD b/extra/mahjong/PKGBUILD
new file mode 100644
index 000000000..2aaff6579
--- /dev/null
+++ b/extra/mahjong/PKGBUILD
@@ -0,0 +1,22 @@
+# $Id: PKGBUILD 47741 2009-07-25 22:52:50Z giovanni $
+# Maintainer: Kevin Piche <kevin@archlinux.org>
+# Contributor: Jason Chu <jchu@xentac.net>
+
+pkgname=mahjong
+pkgver=1.10
+pkgrel=1
+pkgdesc="The classical game of Mah Jongg (not the solitare version). Includes network play"
+arch=('i686' 'x86_64')
+url="http://www.stevens-bradfield.com/MahJong/"
+license=('GPL' 'custom')
+depends=('gtk2')
+source=(http://mahjong.julianbradfield.org/Source/mj-$pkgver-src.tar.gz)
+md5sums=('f9bacf9fd6743d5e3a2fd86863607ce2')
+
+build() {
+ cd $srcdir/mj-$pkgver-src
+ make || return 1
+ make DESTDIR=$pkgdir/usr/ MANDIR=share/man/man1 install install.man
+ install -m644 -D tiles-v1/README \
+ $pkgdir/usr/share/licenses/$pkgname/tiles-license.txt
+}