updated on Thu Jan 19 20:01:47 UTC 2012
[aur-mirror.git] / ttmine-bin / PKGBUILD
blobd2204eb9809b4d14b6f77c828793c21517f69102
1 # Contributor: Nikolai Wyderka <nikolai [at] wyderka [dot] de>
2 pkgname=ttmine-bin
3 _pkgbase=ttmine
4 pkgver=0.51
5 pkgrel=1
6 pkgdesc="A console based minesweeper clone (binary version)"
7 arch=('i686' 'x86_64')
8 url="http://www.pspace.org/projects/36-programmes/55-ttmine-a-console-based-minesweeper-clone"
9 license=('WTFPL')
10 conflicts=('ttmine')
11 depends=()
12 makedepends=()
13 optdepends=()
14 install=
15 source=("http://www.pspace.org/downloads/$_pkgbase-$pkgver-$CARCH.tar.gz")
16 if [ "$CARCH" = "i686" ]; then
17   md5sums=('8f912ac3a6fb4318090c6ea7b0150763')
18   sha256sums=('e0aa4efed7266c054c937ce4cb4e8f97a8fea1832ff2cbed5b6355e68434cd7a')
19  else
20   md5sums=('de30849d71ebe49d3d884f42c564ba19')
21   sha256sums=('93b1b82b52c2dcaa625dc0e6bd33ea4f10737eb5d42062fcd9eb00ef6a892450')
24 build() {
25   cd "$srcdir/"
26   mkdir -p "$pkgdir/usr/bin/"
27   cp ttmine-$pkgver ttmine "$pkgdir/usr/bin/"