updated on Mon Jan 23 12:00:23 UTC 2012
[aur-mirror.git] / othello / PKGBUILD
blob633d069ec077f49e42d385a875418b54db7c29fa
1 # Maintainer: yugrotavele <yugrotavele at archlinux dot us>
2 # Contributor: Berkus <berkus@madfire.net>
3 # Contributor: Stefan Husmann <stefan-husmann@t-online.de>
5 pkgname=othello
6 pkgver=1.9.4
7 pkgrel=4
8 pkgdesc="Reversi game implementation with very strong AI"
9 arch=('i686' 'x86_64')
10 url="http://www.icce.rug.nl/~hein/programs.shtml#othello"
11 license=('GPL')
12 depends=('allegro4' 'gcc-libs')
13 source=(http://www.icce.rug.nl/~hein/ftp/othello/$pkgname-$pkgver.tar.gz 
14         resource-path.patch)
15 md5sums=('cd7d299b1db7bfb6bc3e00d796ee3f23'
16          '18e65f31033ef6033d475c70437d532a')
18 build() {
19   cd $srcdir/$pkgname
20   patch -p0 < $srcdir/resource-path.patch
21   make
24 package() {
25   cd $srcdir/$pkgname
26   install -d $pkgdir/usr/{bin,share/othello}
27   install -D -m 755 othello "$pkgdir/usr/bin/othello"
28   install -D -m 644 *.dat "$pkgdir/usr/share/othello/"