updated on Tue Jan 10 04:01:21 UTC 2012
[aur-mirror.git] / wrogue / PKGBUILD
blob87b652ee5a693faa99ce5d6aede770eb2e2ed26e
1 # Contributor: Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
3 pkgname=wrogue
4 pkgver=0.8.0b
5 pkgrel=1
6 pkgdesc="Warp Rogue is a gothic science fantasy roguelike game."
7 arch=('i686' 'x86_64')
8 url="http://todoom.sourceforge.net/"
9 license=('GPL')
10 depends=('sdl>=1.2.9')
11 makedepends=('patch')
12 source=(http://downloads.sourceforge.net/todoom/$pkgname-$pkgver.zip \
13         $pkgname-$pkgver-data-files.diff)
15 md5sums=('977ccda1ac18ca3ee545fab95db56b2e')
17 build() {
18   cd "${srcdir}/$pkgname-$pkgver/src"
20 #fix data paths
21   patch -Np2 -i "${srcdir}/$pkgname-$pkgver-data-files.diff"
23   make -f linux.mak release
24   install -m755 -D "${srcdir}/$pkgname-$pkgver/$pkgname" "${pkgdir}/usr/bin/$pkgname"
25   install -d "${pkgdir}/usr/share/$pkgname"
26   cp -r "${srcdir}/$pkgname-$pkgver/data/" "${pkgdir}/usr/share/$pkgname/"