blob: 399baa88041e0fa90333a91711e4a1afae02fe76 (
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
26
27
28
29
30
|
# Contributor: mrbug
pkgname=freecell
pkgver=1.0
pkgrel=4
pkgdesc="A console (ncurses) version of the popular solitaire game Freecell."
arch=('i686' 'x86_64')
url="http://www.linusakesson.net/software/freecell.php"
license=('GPL')
depends=('ncurses')
install=
source=('http://www.linusakesson.net/files/freecell-1.0.tar.gz')
md5sums=('d696de7f57d4f5c69659232aa50bd27d') #generate with 'makepkg -g'
build() {
cd "$srcdir/$pkgname-$pkgver"
for i in src/*;
do
sed -i 's/suite/suit/g' $i
done
./configure --prefix=/usr
make
}
package() {
cd "$srcdir/$pkgname-$pkgver"
make DESTDIR="$pkgdir" install
}
# vim:set ts=2 sw=2 et:
|