summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2019-01-12 20:30:49 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2019-01-12 20:30:49 +0000
commita3a3dd263678e11f5f8da4ae05ca28183e9c205b (patch)
tree6fc40b55599c0ba5e482d4be99db03cd8e3e0919
parent3fa5717294d0a1bfd29461a6391e25e9949133fe (diff)
downloadpackages-a3a3dd263678e11f5f8da4ae05ca28183e9c205b.tar.gz
packages-a3a3dd263678e11f5f8da4ae05ca28183e9c205b.tar.bz2
packages-a3a3dd263678e11f5f8da4ae05ca28183e9c205b.tar.xz
packages-a3a3dd263678e11f5f8da4ae05ca28183e9c205b.zip
user/opensfx: new package
-rw-r--r--user/opensfx/APKBUILD34
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"