ctucx.git: alpine-pkgs

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

1 
2 
3 
4 
5 
6 
7 
8 
9 
10 
11 
12 
13 
14 
15 
16 
17 
18 
19 
20 
21 
22 
23 
24 
25 
26 
27 
28 
29 
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"