summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorBenjamin Hodgetts2018-06-29 17:23:58 +0100
committerBenjamin Hodgetts2018-06-29 17:23:58 +0100
commitd7d1776fd103016c213c1266b4bdb61471bca2c2 (patch)
tree148f970d653e3205fd89541c226b11eda46d7cb2
downloadaur-d7d1776fd103016c213c1266b4bdb61471bca2c2.tar.gz
Initial setup
-rw-r--r--.SRCINFO17
-rw-r--r--PKGBUILD32
2 files changed, 49 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..6584675fb53
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,17 @@
+pkgbase = 1oom-git
+ pkgdesc = 1oom is a Master of Orion (1993) game engine recreation.
+ pkgver = r314.699af7e
+ pkgrel = 1
+ url = https://gitlab.com/KilgoreTroutMaskReplicant/1oom
+ arch = x86_64
+ license = GPL2
+ makedepends = git
+ depends = sdl2
+ depends = libsamplerate
+ provides = 1oom
+ conflicts = 1oom
+ source = git+https://gitlab.com/KilgoreTroutMaskReplicant/1oom.git
+ md5sums = SKIP
+
+pkgname = 1oom-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..c35e6d86c29
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,32 @@
+# Maintainer: Benjamin Hodgetts <ben@xnode.org>
+
+pkgname=1oom-git
+pkgver=r314.699af7e
+pkgrel=1
+pkgdesc="1oom is a Master of Orion (1993) game engine recreation."
+arch=(x86_64)
+url=https://gitlab.com/KilgoreTroutMaskReplicant/1oom
+license=('GPL2')
+depends=(sdl2 libsamplerate)
+makedepends=(git)
+provides=(1oom)
+conflicts=(1oom)
+source=('git+https://gitlab.com/KilgoreTroutMaskReplicant/1oom.git')
+md5sums=('SKIP')
+
+pkgver() {
+ cd "${srcdir}/1oom"
+ echo "r$(git rev-list --count HEAD).$(git rev-parse --short HEAD)"
+}
+
+build() {
+ cd 1oom
+ autoreconf -fi
+ ./configure --prefix=/usr --disable-hwsdl1
+ make
+}
+
+package() {
+ cd 1oom
+ make PREFIX="/usr" DESTDIR="${pkgdir}" install
+}