1 # Maintainer: Auguste Pop <auguste [at] gmail [dot] com>
6 pkgdesc="An engine playing chess variants"
8 url=('http://home.hccnet.nl/h.g.muller/CVfairy.html')
10 backup=("usr/share/$pkgname/fmax.ini" "usr/share/$pkgname/qmax.ini")
11 source=(http://home.hccnet.nl/h.g.muller/$pkgname.tar.gz)
12 md5sums=('8465d0286946d88ca222872565869887')
16 cd "$srcdir/Fairy-Max"
17 sed -i "s:/usr/share/games/fairymax:/usr/share/$pkgname:;s:/usr/games:/usr/bin:" Makefile
23 cd "$srcdir/Fairy-Max"
24 install -d "$pkgdir/usr/bin"
25 make DESTDIR="$pkgdir" install
26 install -m 644 -D copyright "$pkgdir/usr/share/licenses/$pkgname/COPYRIGHT"