updated on Thu Jan 12 04:00:44 UTC 2012
[aur-mirror.git] / frozendepths / PKGBUILD
blob2b51dc94ca224532368ad73e70b1fb2884d2637b
1 # Contributor: KillaB <xGenoBlast@gmail.com>
3 pkgname=frozendepths
4 pkgver=1.04
5 pkgrel=1
6 pkgdesc="A roguelike game with a cold theme."
7 arch=("i686" "x86_64")
8 url="http://koti.mbnet.fi/frozend"
9 license="unknown"
10 [ "$CARCH" = "i686" ]   && depends=("ncurses")
11 [ "$CARCH" = "x86_64" ] && depends=("lib32-ncurses")
12 source=("http://koti.mbnet.fi/frozend/FD104Lin.tar.gz" "frozendepths")
13 md5sums=("d99041b4f924a5ac2f3485b7de937b7d" "44b0e3ab55d1b9e94930870540fcc69c")
15 build() {
16         ## Copy program and required files
17         cd "${srcdir}/FD104Lin"
18         install -Dm4755 "fdepths" "${pkgdir}/usr/share/frozendepths/fdepths"
19         install -m644 *.txt *.fds "${pkgdir}/usr/share/frozendepths"
21         ## Copy script used to run program
22         install -Dm755 "${srcdir}/frozendepths" "${pkgdir}/usr/bin/frozendepths"
23         ## This is for people used to the regular filename
24         ln -s "/usr/bin/frozendepths" "${pkgdir}/usr/bin/fdepths"