diff options
author | Sören Tempel <soeren+git@soeren-tempel.net> | 2019-07-15 21:16:42 +0200 |
---|---|---|
committer | Sören Tempel <soeren+git@soeren-tempel.net> | 2019-07-15 21:16:42 +0200 |
commit | 9d1a4d33b4ee3cc73ffa6d5a16955324c6503471 (patch) | |
tree | cc66c8948f4ae15c9816680de06848ac2c587661 /community/mmh | |
parent | 96b55c03e27a03c46e1784628847c53754f6e6cb (diff) | |
download | aports-9d1a4d33b4ee3cc73ffa6d5a16955324c6503471.tar.bz2 aports-9d1a4d33b4ee3cc73ffa6d5a16955324c6503471.tar.xz |
community/mmh: modernize
Diffstat (limited to 'community/mmh')
-rw-r--r-- | community/mmh/APKBUILD | 14 |
1 files changed, 5 insertions, 9 deletions
diff --git a/community/mmh/APKBUILD b/community/mmh/APKBUILD index eb13cab56d..3a5a27ffd0 100644 --- a/community/mmh/APKBUILD +++ b/community/mmh/APKBUILD @@ -7,20 +7,17 @@ pkgdesc="MUA for users who like the unix philosophy" url="http://marmaro.de/prog/mmh/" arch="all" license="BSD" -depends="" -depends_dev="" makedepends="ncurses-dev autoconf flex" -install="" subpackages="$pkgname-doc" source="http://marmaro.de/prog/${pkgname}/files/${pkgname}-${pkgver}.tar.gz symlinks.patch" builddir="$srcdir"/$pkgname-$pkgver prepare() { - default_prepare || return 1 + default_prepare cd "$builddir" - update_config_sub || return 1 + update_config_sub } build() { @@ -32,14 +29,13 @@ build() { --sysconfdir=/etc/$pkgname \ --mandir=/usr/share/man \ --libdir=/usr/lib/$pkgname \ - --localstatedir=/var \ - || return 1 - make || return 1 + --localstatedir=/var + make } package() { make DESTDIR="$pkgdir" SETGID_MAIL= \ - -C "$builddir" install || return 1 + -C "$builddir" install } sha512sums="f795aafae4727267ed622feb2b1d5a7dfba3e540d89b155d45e7f532030082a512917f391b12959c7b3a8e5d02ab50c39c63cc79c9a51edb3e6bdba2d2157109 mmh-0.4.tar.gz |