summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 6c24db561c50398dea96a1ff85a4472f7d654064 (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
#Maintainer: oshaboy <noamgilor{at}protonmail{dot}com>

pkgname=fanwor
pkgver=1
pkgrel=1
pkgdesc="An adventure game with heavy inspiration from The Legend of Zelda"
arch=('x86_64' 'i686' 'arm' 'armv6h' 'armv7h' 'aarch64')
url="http://fanwor.tuxfamily.org/"
license=('GPLv2')
depends=(sdl2 libpng glibc zlib sdl2_mixer)
optdepends=()
makedepends=(gcc)
source=("git+git://git.tuxfamily.org/gitroot/fanwor/fanwor.git")
sha256sums=('SKIP')
build() {
	cd fanwor
	make
	echo -e $run_script >| ${srcdir}/fanwor.sh
}
run_script='cd /opt/fanwor && ./fanwor'
package(){
	mkdir ${pkgdir}/opt ${pkgdir}/opt/fanwor ${pkgdir}/usr ${pkgdir}/usr/bin/ 
	cp -r ${srcdir}/fanwor/* ${pkgdir}/opt/fanwor
	install -Dm755 ${srcdir}/fanwor.sh ${pkgdir}/usr/bin/fanwor
	chmod 755 ${pkgdir}/opt/fanwor	
	
}