summaryrefslogtreecommitdiff
path: root/extra/mahjong/PKGBUILD
blob: 2aaff6579247504fc155a71acd8f1615e4ac94f4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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
}