diff options
author | Alex Raschi <raschi.alex@gmail.com> | 2018-08-08 10:51:07 +0200 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2018-09-04 08:42:33 +0000 |
commit | 8496a90c77db3ee7edfc9262b7382c6d9925d826 (patch) | |
tree | 7031d0983850ab2c143675bf3803e687232c26ea /testing/chocolate-doom | |
parent | 20852ae0d3985aa329fda0e48ac5b9442bf2b0b9 (diff) | |
download | aports-8496a90c77db3ee7edfc9262b7382c6d9925d826.tar.bz2 aports-8496a90c77db3ee7edfc9262b7382c6d9925d826.tar.xz |
testing/chocolate-doom: new aport
https://www.chocolate-doom.org
Portable release of Doom, Heretic, Hexen, and Strife
Diffstat (limited to 'testing/chocolate-doom')
-rw-r--r-- | testing/chocolate-doom/APKBUILD | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/testing/chocolate-doom/APKBUILD b/testing/chocolate-doom/APKBUILD new file mode 100644 index 0000000000..ae7a6625ff --- /dev/null +++ b/testing/chocolate-doom/APKBUILD @@ -0,0 +1,43 @@ +# Maintainer: Alex Raschi <raschi.alex@gmail.com> +pkgname=chocolate-doom +pkgver=3.0.0 +pkgrel=0 +pkgdesc="Portable release of Doom, Heretic, Hexen, and Strife" +url="https://www.chocolate-doom.org" +arch="all" +license="GPL-2.0-or-later" +depends="" +makedepends="sdl2-dev sdl2_net-dev sdl2_mixer-dev py-imaging libpng-dev + libsamplerate-dev" +subpackages="$pkgname-doc $pkgname-bash-completion:bashcomp:noarch" +options="!check" # no test suite +source="https://www.chocolate-doom.org/downloads/$pkgver/$pkgname-$pkgver.tar.gz" +builddir="$srcdir/$pkgname-$pkgver" + +build() { + cd "$builddir" + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --localstatedir=/var + make +} + +package() { + cd "$builddir" + make DESTDIR="$pkgdir" install +} + +bashcomp() { + pkgdesc="Bash completion for $pkgname" + depends="" + install_if="bash-completion $pkgname=$pkgver-r$pkgrel" + + mkdir -p "$subpkgdir"/usr/share + mv "$pkgdir"/usr/share/bash-completion "$subpkgdir"/usr/share/ +} + +sha512sums="41f235c0d84ef21070636ad0610e97898dfd366fae7f9244bd2aebf8974db98dcf55f70bcab2f93589b9bf31dd421db32e8af88e0f8e0a655d2b9f1d4ead2afd chocolate-doom-3.0.0.tar.gz" |