From a3a3dd263678e11f5f8da4ae05ca28183e9c205b Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Sat, 12 Jan 2019 20:30:49 +0000 Subject: user/opensfx: new package --- user/opensfx/APKBUILD | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 user/opensfx/APKBUILD 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 +# Maintainer: A. Wilcox +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" -- cgit v1.2.3-70-g09d2