summaryrefslogtreecommitdiffstats
path: root/main/mlmmj/APKBUILD
blob: ac0d4ab0714aa6cca5c1c68e7afd21c65c3a6028 (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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=mlmmj
pkgver=1.2.18.0
pkgrel=0
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"