paraports

parazyd's aports
git clone https://git.parazyd.org/paraports
Log | Files | Refs | README | LICENSE

commit b4b0562a956e7a95bfa9090d156ff8f1d7d74bcb
parent 6abf6fdf6c5b0bc76910af4cf21bf75d1210ac2a
Author: parazyd <parazyd@dyne.org>
Date:   Sun, 14 Jul 2019 14:19:34 +0200

Add stagit and stagit-gopher.

Diffstat:
Astagit-gopher/APKBUILD | 30++++++++++++++++++++++++++++++
Astagit/APKBUILD | 30++++++++++++++++++++++++++++++
2 files changed, 60 insertions(+), 0 deletions(-)

diff --git a/stagit-gopher/APKBUILD b/stagit-gopher/APKBUILD @@ -0,0 +1,30 @@ +# Maintainer: Ivan J. <parazyd@dyne.org> +pkgname=stagit-gopher +pkgver=0.9.2 +pkgrel=0 +pkgdesc="static gopher git page generator" +url="https://git.codemadness.org/stagit-gopher/log.html" +arch="all" +license="MIT/X" +depends="libgit2" +makedepends="libgit2-dev" +install="" +subpackages="$pkgname-doc" +source="https://codemadness.org/releases/$pkgname/$pkgname-$pkgver.tar.gz" + +builddir="$srcdir"/$pkgname-$pkgver +prepare() { + default_prepare + sed -i -e '/^CFLAGS/{s/-Os//;s/=/+=/}' \ + -e '/^LDFLAGS/{s/=/+=/}' \ + "$builddir"/config.mk +} + +build() { + make -C "$builddir" +} + +package() { + make -e PREFIX=/usr DESTDIR="$pkgdir" -C "$builddir" install +} +sha512sums="6b14cf6870124ed9b91ded7ba4d1d9e4c4956a899d90594c01d885eff52218c6ba7b57741cddd24cb2846377d4f077239e3f654b386cca967da2678625fc10e7 stagit-gopher-0.9.2.tar.gz" diff --git a/stagit/APKBUILD b/stagit/APKBUILD @@ -0,0 +1,30 @@ +# Maintainer: Ivan J. <parazyd@dyne.org> +pkgname=stagit +pkgver=0.9.2 +pkgrel=0 +pkgdesc="static git page generator" +url="https://git.codemadness.org/stagit/log.html" +arch="all" +license="MIT/X" +depends="libgit2" +makedepends="libgit2-dev" +install="" +subpackages="$pkgname-doc" +source="https://codemadness.org/releases/$pkgname/$pkgname-$pkgver.tar.gz" + +builddir="$srcdir"/$pkgname-$pkgver +prepare() { + default_prepare + sed -i -e '/^CFLAGS/{s/-Os//;s/=/+=/}' \ + -e '/^LDFLAGS/{s/=/+=/}' \ + "$builddir"/config.mk +} + +build() { + make -C "$builddir" +} + +package() { + make -e PREFIX=/usr DESTDIR="$pkgdir" -C "$builddir" install +} +sha512sums="30a1c43672c94bcf85af25e2c2d0137a1014c625361dc53f78f8a31b194d9a678372d0cc98e6fa8ea3ddd1d632bdbc8ecb37f40e0bac44fa05dfdf981417fe2c stagit-0.9.2.tar.gz"