diff options
author | Stijn Buys <ingar@telenet.be> | 2021-11-07 21:31:02 +0000 |
---|---|---|
committer | Stijn Buys <ingar@telenet.be> | 2021-11-07 21:31:02 +0000 |
commit | 802152dc9bdd388e82a5beec0f86f65818b0212f (patch) | |
tree | f8d06f2192cad6c6c0477acde3a63af6a2e70b92 /package | |
parent | b08ddd6b46e44fc1ed61ce4e55bd4553a3ac6b96 (diff) |
Added Arch linux PKGBUILD prototype.
Diffstat (limited to 'package')
-rw-r--r-- | package/aur/PKGBUILD.osirion | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/package/aur/PKGBUILD.osirion b/package/aur/PKGBUILD.osirion new file mode 100644 index 0000000..c675e0c --- /dev/null +++ b/package/aur/PKGBUILD.osirion @@ -0,0 +1,48 @@ +# +# Maintainer: Stijn Buys <ingar@telenet.be> +# + +pkgname=osirion +pkgver=0.2.8 +pkgrel=1 +pkgdesc="A free space trading and combat simulation with open gameplay" +url="http://osirion.org/" +arch=('x86_64' 'armv7h') +license=('GPL') +depends=('zlib' 'bullet' 'libjpeg' 'libpng' 'libvorbis' 'libogg' 'flac' 'sdl2' 'libgl' 'glu' 'openal') +makedepends=('automake' 'autoconf') +optdepends=(i'ncurses') +provides=('osirion') +conflicts=('osirion-server' 'osirion-git' 'osirion-server-git') +backup=() +options=() +source=("http://osirion.org/files/${pkgname}-${pkgver}-src.tar.bz2" + "http://osirion.org/files/${pkgname}-${pkgver}-data.zip") +sha256sums=('2b164ad11e2907eafb2200585afd400bdfe6eacd94d4c40a29c5750e4a2ccc6d' + 'dfa2e9ed814c03bcc0f7b4b14f5e981a6762762306ac131adb57c6a190512c74') + +prepare() { + cd "${srcdir}/${pkgname}-${pkgver}-src" + +} + +build() { + cd "${srcdir}/${pkgname}-${pkgver}-src" + + ./configure \ + --prefix=/usr + + ./configure \ + --prefix=/usr \ + --disable-debug + make +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}-src" + make DESTDIR="${pkgdir}" install + + cd "${srcdir}" + install -D --mode=644 --directory "${srcdir}/data" "${pkgdir}/usr/share/osirion/data" +} + |