summaryrefslogtreecommitdiff
path: root/user/catcodec/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'user/catcodec/APKBUILD')
-rw-r--r--user/catcodec/APKBUILD26
1 files changed, 26 insertions, 0 deletions
diff --git a/user/catcodec/APKBUILD b/user/catcodec/APKBUILD
new file mode 100644
index 000000000..9a18b7b29
--- /dev/null
+++ b/user/catcodec/APKBUILD
@@ -0,0 +1,26 @@
+# Contributor: A. Wilcox <awilfox@adelielinux.org>
+# Maintainer: A. Wilcox <awilfox@adelielinux.org>
+pkgname=catcodec
+pkgver=1.0.5
+pkgrel=0
+pkgdesc="Encode and decode sound sample catalogues for OpenTTD"
+url="https://www.openttd.org/en/"
+arch="all"
+options="!check" # No test suite.
+license="GPL-2.0-only"
+depends=""
+makedepends=""
+subpackages="$pkgname-doc"
+source="https://binaries.openttd.org/extra/catcodec/1.0.5/catcodec-$pkgver-source.tar.xz"
+
+build() {
+ cd "$builddir"
+ make
+}
+
+package() {
+ cd "$builddir"
+ make prefix=/usr DESTDIR="$pkgdir" install
+}
+
+sha512sums="e6e17da17f2449ff5d3a18c34ba3125d475a481ef1dc73ba03dac32fc8523a8929d2cbdfda5f647a0226aa007a217fc90c85ec4cc46937f75e15a596277e0db5 catcodec-1.0.5-source.tar.xz"