blob: e4d04db8de53114d22b87530dfdb987fc563e1ac (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
|
# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net>
# Maintainer: Sören Tempel <soeren+alpine@soeren-tempel.net>
pkgname=mmh
pkgver=0.3
pkgrel=0
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
cd "$builddir"
update_config_sub || return 1
}
build() {
cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--sysconfdir=/etc/$pkgname \
--mandir=/usr/share/man \
--libdir=/usr/lib/$pkgname \
--localstatedir=/var \
|| return 1
make || return 1
}
package() {
make DESTDIR="$pkgdir" \
-C "$builddir" install || return 1
}
md5sums="880017112da72d7d67856c13a252d436 mmh-0.3.tar.gz
4351aef49407471609d1ab6047cafae2 symlinks.patch"
sha256sums="13e6be6ccbcd9b763fd20299e72f623498876c5ec069950e73af2803c82033d2 mmh-0.3.tar.gz
bc91f0053297eeedb7dbffd5ca627cc6805f8b9987a4fd74c1eca5dee0a4666b symlinks.patch"
sha512sums="e71585ce726733c808e8388b9fdf8e5c7fb86a309af358f6676ceac45ddb47bc17eedce9ce98a7e9c1d49456fcf4ff425761fb3ec3654f8c9f02f51ba37a5447 mmh-0.3.tar.gz
d6b92f582a15a2664f275b32e6ddf827fd0176e5e289a27bb210e9c58e02fa159bdf26c01f1227dad64ec5fb55ab5aac4b86246ba66ef46c656749be2a11842f symlinks.patch"
|