diff options
author | heinrich5991 | 2015-08-18 03:01:09 +0200 |
---|---|---|
committer | heinrich5991 | 2015-08-18 03:02:10 +0200 |
commit | 29a706d9e8de14073cedad5b32489c4dcadcb1a7 (patch) | |
tree | 8bfba78ea6d0acf5c6f9bf8d1db608c93ddf5eee /PKGBUILD | |
download | aur-29a706d9e8de14073cedad5b32489c4dcadcb1a7.tar.gz |
Initial commit
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..a6965515f4b5 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,34 @@ +# Maintainer: heinrich5991 <heinrich5991@gmail.com> +pkgname=3dgame-git +pkgver=20150818 +pkgrel=1 +pkgdesc="A voxel game proof-of-concept" +arch=('x86' 'x86_64') +url="https://github.com/speedy-consoles/3dgamecpp" +license=('none') +depends=('boost-libs' + 'ftgl' + 'glew' + 'glu' + 'libgl' + 'log4cxx' + 'sdl2' + 'sdl2_image') +source=('git://github.com/speedy-consoles/3dgamecpp' + '3dgame') +sha256sums=('SKIP' + '7ff10ee8a254e8c69f17e26b73749721d9a81f5081c6163c2ae8dcf5858d2997') + +build() { + cd "$srcdir"/3dgamecpp/ + make DEBUG=0 +} + +package() { + cd "$srcdir"/3dgamecpp/ + install -dm755 "$pkgdir"/usr/{lib,share}/3dgame/ "$pkgdir"/usr/bin/ + + cp -r *.txt *.conf fonts/ img/ res/ shaders/ "$pkgdir"/usr/share/3dgame/ + install -m755 bin/release/3dgame "$pkgdir"/usr/lib/3dgame/ + install -m755 ../3dgame "$pkgdir"/usr/bin/ +} |