summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Rabert2016-09-08 22:54:32 -0400
committerAndrew Rabert2016-09-08 22:54:32 -0400
commit3cedc6de40ce22b7fec6cc0be730d67833a6df48 (patch)
tree2009ef66055adc1a25c3bc1cf39b26da17598e15
downloadaur-3cedc6de40ce22b7fec6cc0be730d67833a6df48.tar.gz
Initial commit
-rw-r--r--.SRCINFO20
-rw-r--r--PKGBUILD34
2 files changed, 54 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..3234d836402
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,20 @@
+pkgbase = doom64ex-git
+ pkgdesc = Doom64EX is a reverse-engineering project aimed to recreate Doom64 as close as possible with additional modding features.
+ pkgver = r128.8ee9313
+ pkgrel = 1
+ url = https://github.com/svkaiser/Doom64EX
+ arch = i686
+ arch = x86_64
+ license = GPL2
+ makedepends = cmake
+ makedepends = git
+ depends = fluidsynth
+ depends = libpng
+ depends = sdl2
+ depends = sdl2_net
+ depends = zlib
+ source = git+https://github.com/svkaiser/Doom64EX
+ sha256sums = SKIP
+
+pkgname = doom64ex-git
+
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
+}