updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / ttmine / PKGBUILD
bloba3e7c26f3badd6b5f8d61a24e176f59a712402f7
1 # Contributor: Nikolai Wyderka <nikolai [at] wyderka [dot] de>
2 pkgname=ttmine
3 pkgver=0.51
4 pkgrel=1
5 pkgdesc="A console based minesweeper clone"
6 arch=('i686' 'x86_64')
7 url="http://www.pspace.org/projects/36-programmes/55-ttmine-a-console-based-minesweeper-clone"
8 license=('WTFPL')
9 conflicts=('ttmine-bin')
10 depends=()
11 makedepends=('fpc')
12 optdepends=()
13 install=
14 source=("http://www.pspace.org/downloads/$pkgname-$pkgver-src.tar.gz")
15 md5sums=('5009b8efd20bc76af6c58f42b712ea44')
16 sha256sums=('c597e44bdef90f6c9efb879f40dc4deb5c75539986b086be392d3a243a1ac3ee')
18 build() {
19   cd "$srcdir/"
20   ./compile.sh
21   if [ ! -e ttmine-$pkgver ]; then
22     return 1
23   fi
24   mkdir -p "$pkgdir/usr/bin/"
25   cp ttmine-$pkgver ttmine "$pkgdir/usr/bin/"