blob: aaefc5878203091b89b0dac3fc12ac966915ba38 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
# $Id: PKGBUILD 9152 2008-08-17 04:18:00Z allan $
# Contributor: Tom Newsom <Jeepster@gmx.co.uk>
# Maintainer: Jason Chu <jason@archlinux.org>
pkgname=enigma
pkgver=1.04
pkgrel=2
pkgdesc=" Enigma is a puzzle game involving falling blocks"
arch=('i686' 'x86_64' 'mips64el')
url="http://www.chiark.greenend.org.uk/~sgtatham/enigma/"
license=('custom')
depends=('ncurses')
source=(http://www.chiark.greenend.org.uk/~sgtatham/enigma/$pkgname-$pkgver.tar.gz)
md5sums=('a54ee9ae40dae781560a3c2b1ce8f45d')
build() {
cd $startdir/src/$pkgname-$pkgver
./configure --prefix=/usr --localstatedir=/var
sed -i "s/root\.games/root.root/" Makefile
mkdir -p $startdir/pkg/usr/bin
make || return 1
make prefix=$startdir/pkg/usr localstatedir=$startdir/pkg/var install
install -Dm644 LICENCE ${pkgdir}/usr/share/licenses/enigma/license
}
|