diff options
author | shrizza <shrizza@gmail.com> | 2019-10-11 06:29:15 +0900 |
---|---|---|
committer | Rasmus Thomsen <oss@cogitri.dev> | 2019-10-16 22:45:51 +0200 |
commit | 5f1e323737452a64bd8ba54f15926822286b228a (patch) | |
tree | bbf9560cdb688511fe8b9ecf9f02721cc9fed06f /testing/avara | |
parent | cd15ddae7732d10b75d4691e31f022874de5c61a (diff) | |
download | aports-5f1e323737452a64bd8ba54f15926822286b228a.tar.bz2 aports-5f1e323737452a64bd8ba54f15926822286b228a.tar.xz |
testing/avara: new aport
Diffstat (limited to 'testing/avara')
-rw-r--r-- | testing/avara/APKBUILD | 36 | ||||
-rw-r--r-- | testing/avara/avara | 3 |
2 files changed, 39 insertions, 0 deletions
diff --git a/testing/avara/APKBUILD b/testing/avara/APKBUILD new file mode 100644 index 0000000000..42f178230b --- /dev/null +++ b/testing/avara/APKBUILD @@ -0,0 +1,36 @@ +# Contributor: shrizza <shrizza@gmail.com> +# Maintainer: shrizza <shrizza@gmail.com> +pkgname="avara" +_sha="b8700db3c696b9813b511b06a92c9faab55b282a" +pkgver="0_git20191006" +pkgrel=0 +pkgdesc="Port of the original 1996 Mac OS game from Ambrosia Software" +url="https://github.com/avaraline/Avara" +arch="all" +license="MIT" +makedepends="clang clang-dev directfb-dev glu-dev sdl2_net-dev sdl2_mixer-dev sdl2" +options="!check" +subpackages="$pkgname-doc" +source="avara $pkgname-$pkgver.zip::https://github.com/avaraline/Avara/archive/$_sha.zip" +builddir="$srcdir/Avara-$_sha" + +build() { + make +} + +package() { + mkdir -p "$pkgdir/usr/bin/" + install -Dm755 ../avara "$pkgdir/usr/bin/" + mkdir -p "$pkgdir/var/games/$pkgname/" + cp -r build/Avara "$pkgdir/var/games/$pkgname/" + cp -r build/bsps "$pkgdir/var/games/$pkgname/" + cp -r build/levels "$pkgdir/var/games/$pkgname/" + cp -r build/rsrc "$pkgdir/var/games/$pkgname/" + cp -r build/shaders "$pkgdir/var/games/$pkgname/" + mkdir -p "$pkgdir/usr/share/doc/$pkgname/" + install -Dm644 CONTRIBUTORS.md "$pkgdir/usr/share/doc/$pkgname/" + install -Dm644 README.md "$pkgdir/usr/share/doc/$pkgname/" +} + +sha512sums="928326dad78b077fe82f13f9c56a00996ef8555108e0964a72e73c84fb073a2d6a9e7a545d129f90386f5f30cf7976abc29a38ff71f7c6e114521f6c0dcd36bf avara +03dfb9b173749fac97591053cd7d55976617eb4fb64bcb4286a1b511d18dcb557dcbb408bf4c4e5d5bf7c47f41b2134808613938a9535c51d5e486e123a9271c avara-0_git20191006.zip" diff --git a/testing/avara/avara b/testing/avara/avara new file mode 100644 index 0000000000..15048a9f5b --- /dev/null +++ b/testing/avara/avara @@ -0,0 +1,3 @@ +#!/bin/sh + +/var/games/avara/Avara |