diff options
-rw-r--r-- | user/opensfx/APKBUILD | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/user/opensfx/APKBUILD b/user/opensfx/APKBUILD new file mode 100644 index 000000000..00093833d --- /dev/null +++ b/user/opensfx/APKBUILD @@ -0,0 +1,34 @@ +# Contributor: A. Wilcox <awilfox@adelielinux.org> +# Maintainer: A. Wilcox <awilfox@adelielinux.org> +pkgname=opensfx +pkgver=0.2.3 +pkgrel=0 +pkgdesc="Sound files for OpenTTD" +url="https://www.openttd.org/en/" +arch="noarch" +license="CC-Sampling-Plus-1.0" +depends="" +makedepends="catcodec" +subpackages="" +source="https://binaries.openttd.org/extra/opensfx/0.2.3/opensfx-$pkgver-source.tar.gz" +builddir="$srcdir/$pkgname-$pkgver-source" + +build() { + cd "$builddir" + make +} + +check() { + cd "$builddir" + make check +} + +package() { + cd "$builddir" + install -D -m644 -g games opensfx.cat \ + "$pkgdir"/usr/share/games/openttd/data/opensfx.cat + install -D -m644 -g games opensfx.obs \ + "$pkgdir"/usr/share/games/openttd/data/opensfx.obs +} + +sha512sums="7575c8febcbcabe8f9042a1a197ba76b9020e335663bf70b0aaebafe4b0758f82ff7acc624b1dfdc12d38e346f139454b78ea29e18a8bb8bd2afd3d6a209669c opensfx-0.2.3-source.tar.gz" |