blob: 82050d4834fb50fb27132a6f420abcd6773d9ec2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
# $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.11
pkgrel=1
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=('c0cd19620eb3fcef3e0a83eaed6c3780')
build() {
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"
}
|