summaryrefslogtreecommitdiff
path: root/community/mahjong
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-01-28 00:05:59 -0800
committerroot <root@rshg054.dnsready.net>2013-01-28 00:05:59 -0800
commit1b9f6dc846379470b620b5dbb9d4d7acd1de148c (patch)
tree2305b950a3c94970b05c1a38af473f5cca95af02 /community/mahjong
parentb9b96ada56ad38df20b1e528a095a1e86ab67a2b (diff)
Mon Jan 28 00:05:59 PST 2013
Diffstat (limited to 'community/mahjong')
-rw-r--r--community/mahjong/PKGBUILD26
1 files changed, 26 insertions, 0 deletions
diff --git a/community/mahjong/PKGBUILD b/community/mahjong/PKGBUILD
new file mode 100644
index 000000000..465a41e07
--- /dev/null
+++ b/community/mahjong/PKGBUILD
@@ -0,0 +1,26 @@
+# $Id: PKGBUILD 83162 2013-01-27 16:20:47Z pierre $
+# Maintainer: Kevin Piche <kevin@archlinux.org>
+# Contributor: Jason Chu <jchu@xentac.net>
+
+pkgname=mahjong
+pkgver=1.12.1
+pkgrel=1
+pkgdesc="The classical game of Mah Jong (not the solitare version) with network support"
+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=('a74acae39d6a49bad9c34b84088f72f3')
+
+build() {
+ cd "$srcdir/mj-$pkgver-src"
+ sed -i 's/& Calling/Calling/' gui-dial.c
+ make LDLIBS="-lm"
+}
+
+package() {
+ cd "$srcdir/mj-$pkgver-src"
+ make DESTDIR="$pkgdir/usr/" MANDIR=share/man/man1 install install.man
+ install -D -m644 tiles-v1/README "$pkgdir/usr/share/licenses/$pkgname/tiles-license.txt"
+}