summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorAndrew Rabert2016-09-08 22:54:32 -0400
committerAndrew Rabert2016-09-08 22:54:32 -0400
commit3cedc6de40ce22b7fec6cc0be730d67833a6df48 (patch)
tree2009ef66055adc1a25c3bc1cf39b26da17598e15 /PKGBUILD
downloadaur-3cedc6de40ce22b7fec6cc0be730d67833a6df48.tar.gz
Initial commit
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD34
1 files changed, 34 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..504c49daeee
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,34 @@
+# Maintainer: Andrew Rabert <draje@nullsum.net>
+
+_pkgname=Doom64EX
+pkgname=doom64ex-git
+pkgver=r128.8ee9313
+pkgrel=1
+pkgdesc="Doom64EX is a reverse-engineering project aimed to recreate Doom64 as close as possible with additional modding features."
+arch=('i686' 'x86_64')
+url="https://github.com/svkaiser/Doom64EX"
+license=('GPL2')
+depends=('fluidsynth' 'libpng' 'sdl2' 'sdl2_net' 'zlib')
+makedepends=('cmake' 'git')
+source=("git+$url")
+sha256sums=('SKIP')
+
+pkgver() {
+ cd "${srcdir}/${_pkgname}"
+
+ printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
+}
+
+build() {
+ mkdir "${srcdir}/${_pkgname}/temp"
+ cd "${srcdir}/${_pkgname}/temp"
+
+ cmake -DCMAKE_INSTALL_PREFIX=/usr ..
+ make
+}
+
+package() {
+ cd "${srcdir}/${_pkgname}/temp"
+
+ make DESTDIR="$pkgdir" libdir="$pkgdir/usr/lib" install
+}