aboutsummaryrefslogtreecommitdiffstats
path: root/testing/catcodec/APKBUILD
diff options
context:
space:
mode:
authorSören Tempel <soeren+git@soeren-tempel.net>2017-08-13 22:32:46 +0200
committerSören Tempel <soeren+git@soeren-tempel.net>2017-08-13 22:32:46 +0200
commit608539454bbfe2472464b31321e3f2cab0a2f039 (patch)
treee0d103bacfe17562e515147d4cb67fb3bde75cc9 /testing/catcodec/APKBUILD
parentf61b4b381e865dfa4fbfeef99a03b4416e487230 (diff)
downloadaports-608539454bbfe2472464b31321e3f2cab0a2f039.tar.bz2
aports-608539454bbfe2472464b31321e3f2cab0a2f039.tar.xz
testing/catcodec: new aport
Diffstat (limited to 'testing/catcodec/APKBUILD')
-rw-r--r--testing/catcodec/APKBUILD35
1 files changed, 35 insertions, 0 deletions
diff --git a/testing/catcodec/APKBUILD b/testing/catcodec/APKBUILD
new file mode 100644
index 0000000000..9416da757d
--- /dev/null
+++ b/testing/catcodec/APKBUILD
@@ -0,0 +1,35 @@
+# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net>
+# Maintainer:
+pkgname=catcodec
+pkgver=1.0.5
+pkgrel=0
+pkgdesc="Decodes and encodes sample catalogues for OpenTTD"
+url="http://www.openttd.org/en/download-catcodec"
+arch="all"
+license="GPL2"
+depends=""
+depends_dev=""
+makedepends=""
+install=""
+subpackages="$pkgname-doc"
+source="http://binaries.openttd.org/extra/$pkgname/$pkgver/$pkgname-$pkgver-source.tar.xz"
+builddir="$srcdir/$pkgname-$pkgver"
+
+build() {
+ cd "$builddir"
+ make VERBOSE=1
+}
+
+package() {
+ cd "$builddir"
+
+ install -Dm755 $pkgname "$pkgdir"/usr/bin/$pkgname
+ install -Dm644 docs/$pkgname.1 \
+ "$pkgdir"/usr/share/man/man1/$pkgname.1
+
+ mkdir -p "$pkgdir"/usr/share/docs/$pkgname/
+ install -m644 changelog.txt docs/readme.txt \
+ "$pkgdir"/usr/share/docs/$pkgname/
+}
+
+sha512sums="e6e17da17f2449ff5d3a18c34ba3125d475a481ef1dc73ba03dac32fc8523a8929d2cbdfda5f647a0226aa007a217fc90c85ec4cc46937f75e15a596277e0db5 catcodec-1.0.5-source.tar.xz"