summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 17c8485db37e0b86f63d9d15c8887bc054014dad (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# Maintainer: Frederic Bezies <fredbezies at gmail dot com>
# Contributor: Benjamin Hodgetts <ben@xnode.org>

pkgname=1oom-git
pkgver=r777.912dce1
pkgrel=2
pkgdesc="1oom is a Master of Orion (1993) game engine recreation."
arch=(x86_64)
url=https://gitlab.com/Tapani_/1oom
license=('GPL2')
depends=('libsamplerate' 'sdl2_mixer')
makedepends=('git')
provides=('1oom')
conflicts=('1oom')
source=('git+https://gitlab.com/Tapani_/1oom.git')
sha256sums=('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
}