diff options
author | Sören Tempel <soeren+git@soeren-tempel.net> | 2018-04-14 14:13:16 +0200 |
---|---|---|
committer | Sören Tempel <soeren+git@soeren-tempel.net> | 2018-04-14 14:13:16 +0200 |
commit | 55f0d9bc88970bf465e25732f3bb8ea3bfa6747e (patch) | |
tree | 04906eb47d543526c999eeed14f62ff55e09d96c /community | |
parent | 631ef46806b1872bae0e71923572170000328501 (diff) | |
download | aports-55f0d9bc88970bf465e25732f3bb8ea3bfa6747e.tar.bz2 aports-55f0d9bc88970bf465e25732f3bb8ea3bfa6747e.tar.xz |
community/mblaze: move from testing
Diffstat (limited to 'community')
-rw-r--r-- | community/mblaze/APKBUILD | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/community/mblaze/APKBUILD b/community/mblaze/APKBUILD new file mode 100644 index 0000000000..2d4794acc1 --- /dev/null +++ b/community/mblaze/APKBUILD @@ -0,0 +1,38 @@ +# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net> +# Maintainer: Sören Tempel <soeren+alpine@soeren-tempel.net> +pkgname=mblaze +pkgver=0.3.2 +pkgrel=2 +pkgdesc="Unix utilities to deal with Maildir" +url="https://github.com/chneukirchen/mblaze" +arch="all" +license="CC0-1.0" +depends="" +depends_dev="" +makedepends="" +checkdepends="perl-utils" +install="" +subpackages="$pkgname-doc" +options="!check" # currently fail on the builder +source="$pkgname-$pkgver.tar.gz::https://github.com/chneukirchen/$pkgname/archive/v$pkgver.tar.gz" +builddir="$srcdir/$pkgname-$pkgver" + +build() { + make CFLAGS="$CFLAGS" -C "$builddir" +} + +check() { + make -C "$builddir" check +} + +package() { + cd "$builddir" + make PREFIX="/usr" DESTDIR="$pkgdir" install + + mkdir -p "$pkgdir"/usr/share/doc/$pkgname/examples/ + install -m644 *.example "$pkgdir"/usr/share/doc/$pkgname/examples/ + install -m644 NEWS.md VIOLATIONS.md README \ + "$pkgdir"/usr/share/doc/$pkgname/ +} + +sha512sums="809d3a82e89a90bf1dce5abca97155b524290bbaa3c8100efb461f3694c4ff28ed0d1e46d3d74c2fbb96a17cd44ccee315a022d6697a470f82d8d4ee66ab7147 mblaze-0.3.2.tar.gz" |