summaryrefslogtreecommitdiff
path: root/user
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2019-01-12 18:01:56 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2019-01-12 18:01:56 +0000
commitd6cad87333edadb0917fab8d8a67e1b856ffd2e7 (patch)
tree71e0cda1a82ce9b5303eb3153201de65c0aed16b /user
parenta5cd096d6d250384475053b0f5dbe81001d5eb22 (diff)
downloadpackages-d6cad87333edadb0917fab8d8a67e1b856ffd2e7.tar.gz
packages-d6cad87333edadb0917fab8d8a67e1b856ffd2e7.tar.bz2
packages-d6cad87333edadb0917fab8d8a67e1b856ffd2e7.tar.xz
packages-d6cad87333edadb0917fab8d8a67e1b856ffd2e7.zip
user/grfcodec: new package
Diffstat (limited to 'user')
-rw-r--r--user/grfcodec/APKBUILD26
1 files changed, 26 insertions, 0 deletions
diff --git a/user/grfcodec/APKBUILD b/user/grfcodec/APKBUILD
new file mode 100644
index 000000000..c0e97d2ac
--- /dev/null
+++ b/user/grfcodec/APKBUILD
@@ -0,0 +1,26 @@
+# Contributor: A. Wilcox <awilfox@adelielinux.org>
+# Maintainer: A. Wilcox <awilfox@adelielinux.org>
+pkgname=grfcodec
+pkgver=6.0.6
+pkgrel=0
+pkgdesc="Tool for manipulating OpenTTD GRF files"
+url="https://dev.openttdcoop.org/projects/grfcodec"
+arch="all"
+options="!check" # No test suite.
+license="GPL-2.0-only"
+depends=""
+makedepends="boost-dev"
+subpackages="$pkgname-doc"
+source="https://binaries.openttd.org/extra/grfcodec/$pkgver/grfcodec-$pkgver-source.tar.xz"
+
+build() {
+ cd "$builddir"
+ make
+}
+
+package() {
+ cd "$builddir"
+ make prefix=/usr DESTDIR="$pkgdir" install
+}
+
+sha512sums="543123c794bfdb5b6556f7a897bcd2f3bdd09be8ad6a4ff07b138e0cac62621a4801c732bb20099c1bb383ad5822fc4ade276d49acf2744c811edd10d7699480 grfcodec-6.0.6-source.tar.xz"