diff options
author | Benjamin Hodgetts | 2018-06-29 17:23:58 +0100 |
---|---|---|
committer | Benjamin Hodgetts | 2018-06-29 17:23:58 +0100 |
commit | d7d1776fd103016c213c1266b4bdb61471bca2c2 (patch) | |
tree | 148f970d653e3205fd89541c226b11eda46d7cb2 | |
download | aur-d7d1776fd103016c213c1266b4bdb61471bca2c2.tar.gz |
Initial setup
-rw-r--r-- | .SRCINFO | 17 | ||||
-rw-r--r-- | PKGBUILD | 32 |
2 files changed, 49 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..6584675fb536 --- /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 000000000000..c35e6d86c299 --- /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 +} |