PKGBUILDs/extra/mahjong/PKGBUILD
2009-10-09 21:23:22 -05:00

22 lines
740 B
Bash

# $Id: PKGBUILD 47734 2009-07-25 22:15:58Z kevin $
# 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
}