ctucx.git: alpine-pkgs

My personal alpine-packages [deprecated in favor of nixos]

commit d612c468c2d74bc12c07d62052f8339e5267c923
parent d3048191c69ec19240c42f4645091b6a5e8e2afd
Author: alpine repo <alpine-repo@ctu.cx>
Date: Sat, 27 Nov 2021 22:09:15 +0100

gpx2tiles: add package
1 file changed, 30 insertions(+), 0 deletions(-)
A
gpx2tiles/APKBUILD
|
30
++++++++++++++++++++++++++++++
diff --git a/gpx2tiles/APKBUILD b/gpx2tiles/APKBUILD
@@ -0,0 +1,30 @@
+# Contributor: Leah (ctucx) <leah@ctu.cx>
+# Maintainer: Leah (ctucx) <leah@ctu.cx>
+pkgname=gpx2tiles
+pkgver=0.0.1
+pkgrel=0
+pkgdesc="An utility to create Openstreetmap slippy map tiles from a set of GPX files."
+url="https://github.com/raalkml/gpx2tiles"
+arch="all"
+license="Public Domain"
+depends="libxml2 gd"
+makedepends="libxml2-dev gd-dev"
+_commit="0f7ed1f17b2ef214257f7b5122806a8b82ea9e6b"
+source="${pkgname}-${_commit}.tar.gz::https://github.com/raalkml/gpx2tiles/archive/${_commit}.tar.gz"
+
+builddir="${srcdir}/${pkgname}-${_commit}/"
+
+build() {
+	cd $builddir
+	make
+}
+
+check() {
+	:
+}
+
+package() {
+	install -Dm755 "${builddir}/gpx2tiles" "${pkgdir}/usr/bin/gpx2tiles"
+}
+
+sha512sums="383e40725b67dcdcb3dd7d6bf297059fd8b749163adc6be0ed84afb44ab3b35616f17512bd900e034a667a687cb5c44a987d0a7698c8133385250f942a9cfd0f  gpx2tiles-0f7ed1f17b2ef214257f7b5122806a8b82ea9e6b.tar.gz"