summaryrefslogtreecommitdiff
path: root/user/catcodec/APKBUILD
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2019-01-12 20:24:09 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2019-01-12 20:24:09 +0000
commit3fa5717294d0a1bfd29461a6391e25e9949133fe (patch)
tree15335572352ffbc88e1f04df1870f576e67cf9e8 /user/catcodec/APKBUILD
parentb99c23f4b87c1ca0e3fc6f324a0cbf6804cf70bc (diff)
downloadpackages-3fa5717294d0a1bfd29461a6391e25e9949133fe.tar.gz
packages-3fa5717294d0a1bfd29461a6391e25e9949133fe.tar.bz2
packages-3fa5717294d0a1bfd29461a6391e25e9949133fe.tar.xz
packages-3fa5717294d0a1bfd29461a6391e25e9949133fe.zip
user/catcodec: new package
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"