paraports

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

APKBUILD (793B)


      1 # Maintainer: Ivan J. <parazyd@dyne.org>
      2 pkgname=stagit
      3 pkgver=0.9.2
      4 pkgrel=0
      5 pkgdesc="static git page generator"
      6 url="https://git.codemadness.org/stagit/log.html"
      7 arch="all"
      8 license="MIT/X"
      9 depends="libgit2"
     10 makedepends="libgit2-dev"
     11 install=""
     12 subpackages="$pkgname-doc"
     13 source="https://codemadness.org/releases/$pkgname/$pkgname-$pkgver.tar.gz"
     14 
     15 builddir="$srcdir"/$pkgname-$pkgver
     16 prepare() {
     17 		default_prepare
     18 		sed -i -e '/^CFLAGS/{s/-Os//;s/=/+=/}' \
     19 				-e '/^LDFLAGS/{s/=/+=/}' \
     20 				"$builddir"/config.mk
     21 }
     22 
     23 build() {
     24 		make -C "$builddir"
     25 }
     26 
     27 package() {
     28 		make -e PREFIX=/usr DESTDIR="$pkgdir" -C "$builddir" install
     29 }
     30 sha512sums="30a1c43672c94bcf85af25e2c2d0137a1014c625361dc53f78f8a31b194d9a678372d0cc98e6fa8ea3ddd1d632bdbc8ecb37f40e0bac44fa05dfdf981417fe2c  stagit-0.9.2.tar.gz"