aboutsummaryrefslogtreecommitdiffstats
path: root/main/mlmmj/APKBUILD
blob: 5a451aee6a05e3143b3a76941cde0e0adfdaf59a (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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=mlmmj
pkgver=1.2.18.0
pkgrel=1
pkgdesc="Mailing list managing made joyful"
url="http://mlmmj.org/"
arch="all"
license="MIT"
subpackages="$pkgname-doc"
depends=
makedepends=
install="$pkgname.pre-install"
pkgusers="mlmmj"
pkggroups="mlmmj"
source="http://mlmmj.org/releases/mlmmj-$pkgver.tar.gz"

build() {
	cd "$srcdir"/$pkgname-$pkgver

	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		|| return 1
	make || return 1
}

package() {
	cd "$srcdir"/$pkgname-$pkgver
	make -j1 DESTDIR="$pkgdir" install || return 1
	install -d "$pkgdir"/usr/share/mlmmj/texts
	cp -r listtexts/* "$pkgdir"/usr/share/mlmmj/texts/
	install -o mlmmj -g mlmmj -d "$pkgdir"/var/spool/mlmmj
}
md5sums="d8ea7b403c9318e4bdf8049b57babb27  mlmmj-1.2.18.0.tar.gz"
sha256sums="c9c1fb64af7107b2892a79f6a48759f3be57d1e879affaa719d40e8c70ab6474  mlmmj-1.2.18.0.tar.gz"
sha512sums="ddc485112b12d40acbeea985aa0479790c1f5fda62b2aa310e43974b230aa62d465a80fd08797dc9cac98c723a730c30941250cdf391ed519bee60ed1c345f2e  mlmmj-1.2.18.0.tar.gz"