archrelease: copy trunk to community-x86_64
[ArchLinux/community.git] / robotfindskitten / trunk / PKGBUILD
blobd956f8d5aa79b2b72535672d6578d2f60e272702
1 # Maintainer: Alexander F Rødseth <xyproto@archlinux.org>
2 # Contributor: muflax <muflax@gmail.com>
3 # Contributor: Adrian Siekierka <kontakt@asie.pl>
5 pkgname=robotfindskitten
6 pkgver=2.8284271.702
7 pkgrel=1
8 pkgdesc='Yet another Zen simulation'
9 arch=(x86_64)
10 url='http://robotfindskitten.org/' # no https available
11 license=(GPL2)
12 depends=(ncurses)
13 makedepends=(setconf)
14 source=("https://master.dl.sourceforge.net/project/rfk/robotfindskitten-POSIX/ship_it_anyway/robotfindskitten-2.8284271.702.tar.gz")
15 b2sums=('06024275da4b3b5f87f3f6ab57797aa080263ca920e324b7b34a9e6540a7bae301b4a00b9935f1ffe208779eb5a1becd34b8764b9dbffe4bac95920e8f454afd')
17 prepare() {
18   setconf $pkgname-$pkgver/src/Makefile.in execgamesdir '$(prefix)/bin'
21 build() {
22   cd $pkgname-$pkgver
23   ./configure --prefix=/usr
24   make
27 package() {
28   make -C $pkgname-$pkgver prefix="$pkgdir/usr" install
29   install -Dm644 $pkgname-$pkgver/nki/vanilla.nki \
30     "$pkgdir/usr/share/games/robotfindskitten/vanilla.nki"