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 /PKGBUILD | |
download | aur-d7d1776fd103016c213c1266b4bdb61471bca2c2.tar.gz |
Initial setup
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 32 |
1 files changed, 32 insertions, 0 deletions
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 +} |