summaryrefslogtreecommitdiff
path: root/extra/mahjong/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/mahjong/PKGBUILD')
-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
+}