diff options
Diffstat (limited to 'testing/mmh/APKBUILD')
-rw-r--r-- | testing/mmh/APKBUILD | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/testing/mmh/APKBUILD b/testing/mmh/APKBUILD new file mode 100644 index 0000000000..5c7624125f --- /dev/null +++ b/testing/mmh/APKBUILD @@ -0,0 +1,45 @@ +# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net> +# Maintainer: Sören Tempel <soeren+alpine@soeren-tempel.net> +pkgname=mmh +pkgver=0.1 +pkgrel=0 +pkgdesc="MUA for users who like the unix philosophy" +url="http://marmaro.de/prog/mmh/" +arch="all" +license="BSD" +depends="" +depends_dev="ncurses-dev" +makedepends="$depends_dev flex" +install="" +subpackages="$pkgname-doc" +source="http://marmaro.de/prog/${pkgname}/files/${pkgname}-${pkgver}.tar.gz + musl-fixes.patch" + +_builddir="$srcdir"/$pkgname-$pkgver +prepare() { + cd "$_builddir" + local i= + for i in $source; do + case $i in + *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1 ;; + esac + done +} + +build() { + cd "$_builddir" + ./configure --prefix=/usr + make || return 1 +} + +package() { + make DESTDIR="${pkgdir}" \ + -C "$_builddir" install || return 1 +} + +md5sums="df9c3aa40dc4edb15fd7d6a39c4777cd mmh-0.1.tar.gz +b7a44eea5bdee97078b7e19a5d2031ee musl-fixes.patch" +sha256sums="68c4285b72d26f922390b594980535829025a973c910c8490b415543f4c774b1 mmh-0.1.tar.gz +2d232e308a7db86aa7e6893ea43052769c0684ae58336829b5c70739e5c801b8 musl-fixes.patch" +sha512sums="2b24795862ace1f093f1861bb90012160b6e6c253c743ca4de1ecce46bfd03707b9579a2113139e96a8638fe451f7693ba28605b123a76b80a955acc9f3f7080 mmh-0.1.tar.gz +e588bda54ecd1b61f8789550707a63f94efa0e172f3a012385044146005d8410643ea09d04d14ce1c1b14548905d8cf2db42714d5e7b157b2774ca207f06a978 musl-fixes.patch" |