summaryrefslogtreecommitdiff
path: root/extra/xmahjongg
diff options
context:
space:
mode:
authorNicolas Reynolds <fauno@kiwwwi.com.ar>2011-05-09 20:31:54 -0300
committerNicolas Reynolds <fauno@kiwwwi.com.ar>2011-05-09 20:31:54 -0300
commit8563d02ef05f21b537e3e1471c4034baa644a55f (patch)
tree6dee20109568b03da07cf3f6e0b61b4f73ed24e2 /extra/xmahjongg
parentb5e623669f9d93fa23637bc3beca5a1751e70ff1 (diff)
parentbbb460f85242e6ac03f47b74b9d0be66ff089ac4 (diff)
Merge branch 'master' of ssh://vparabola/home/parabola/abslibre-pre-mips64el
Conflicts: core/libevent/PKGBUILD core/syslinux/PKGBUILD extra/a2ps/PKGBUILD extra/amarok/PKGBUILD extra/libstroke/PKGBUILD extra/pidgin/PKGBUILD
Diffstat (limited to 'extra/xmahjongg')
-rw-r--r--extra/xmahjongg/PKGBUILD23
1 files changed, 13 insertions, 10 deletions
diff --git a/extra/xmahjongg/PKGBUILD b/extra/xmahjongg/PKGBUILD
index 8b896fc4f..2e954d29d 100644
--- a/extra/xmahjongg/PKGBUILD
+++ b/extra/xmahjongg/PKGBUILD
@@ -1,21 +1,24 @@
-# $Id: PKGBUILD 36409 2009-04-22 04:45:25Z eric $
-# Maintainer: Kevin Piche <kevin@archlinux.org>
-# Contributor: Roberto Carvajal <rcarvajal@users.sf.net>
+# $Id: PKGBUILD 123155 2011-05-09 00:53:15Z eric $
+# Maintainer: Eric BĂ©langer <eric@archlinux.org>
pkgname=xmahjongg
pkgver=3.7
-pkgrel=3
+pkgrel=4
pkgdesc="Mahjongg game for X-Window"
arch=('i686' 'x86_64' 'mips64el')
url="http://www.lcdf.org/xmahjongg/"
license=('GPL')
-depends=('gcc-libs' 'libsm' 'libx11')
-source=(http://www.lcdf.org/$pkgname/$pkgname-$pkgver.tar.gz)
+depends=('gcc-libs' 'libx11')
+source=(http://www.lcdf.org/${pkgname}/${pkgname}-${pkgver}.tar.gz)
md5sums=('9db5bf1b329b410220b7976cd9b3d374')
build() {
- cd $srcdir/$pkgname-$pkgver
- ./configure --prefix=/usr --mandir=/usr/share/man || return 1
- make || return 1
- make DESTDIR=$pkgdir install || return 1
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ ./configure --prefix=/usr --mandir=/usr/share/man
+ make
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make DESTDIR="${pkgdir}" install
}