summaryrefslogtreecommitdiff
path: root/user/grfcodec
diff options
context:
space:
mode:
Diffstat (limited to 'user/grfcodec')
-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"