summaryrefslogtreecommitdiff
path: root/extra/mahjong
diff options
context:
space:
mode:
authorNicolas Reynolds <fauno@kiwwwi.com.ar>2011-09-06 13:16:36 -0300
committerNicolas Reynolds <fauno@kiwwwi.com.ar>2011-09-06 13:16:36 -0300
commit0e83b6eeba6643b6636469de8aa2b77dd0b295ae (patch)
tree150783d401d7648efda130edd1e64aba6993315e /extra/mahjong
parent58d6937e71aea203f6693a68146018f950922fbc (diff)
parente05f52e52ba779f4b0ebb5463dba9fc74f67f0b8 (diff)
Merge branch 'master' of ssh://vparabola/home/parabola/abslibre-pre-mips64el
Conflicts: community/stone-soup/PKGBUILD extra/alsa-oss/PKGBUILD extra/habak/PKGBUILD extra/libmcrypt/PKGBUILD extra/mahjong/PKGBUILD extra/mcrypt/PKGBUILD
Diffstat (limited to 'extra/mahjong')
-rw-r--r--extra/mahjong/PKGBUILD22
1 files changed, 13 insertions, 9 deletions
diff --git a/extra/mahjong/PKGBUILD b/extra/mahjong/PKGBUILD
index 7ab6fdc3c..82050d483 100644
--- a/extra/mahjong/PKGBUILD
+++ b/extra/mahjong/PKGBUILD
@@ -1,22 +1,26 @@
-# $Id: PKGBUILD 47741 2009-07-25 22:52:50Z giovanni $
+# $Id: PKGBUILD 136995 2011-09-04 21:27:03Z eric $
# Maintainer: Kevin Piche <kevin@archlinux.org>
# Contributor: Jason Chu <jchu@xentac.net>
pkgname=mahjong
-pkgver=1.10
+pkgver=1.11
pkgrel=1
-pkgdesc="The classical game of Mah Jongg (not the solitare version). Includes network play"
+pkgdesc="The classical game of Mah Jong (not the solitare version) with network support"
arch=('i686' 'x86_64' 'mips64el')
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')
+md5sums=('c0cd19620eb3fcef3e0a83eaed6c3780')
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
+ cd "$srcdir/mj-$pkgver-src"
+ sed -i 's/& Calling/Calling/' gui-dial.c
+ make
+}
+
+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"
}