aboutsummaryrefslogtreecommitdiffstats
path: root/main/mlmmj/APKBUILD
blob: adaa8ad9c859af69a67d8bab500ee3cb4de1e929 (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.3.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
}
sha512sums="ea40cae02a7ca5949af6ae01adcdc97536f63f9336f1e4081cf875312bb121a285405353a5863aa6d5f09834b2b6dd328650ed212a30f4940b5fbf82d20184cf  mlmmj-1.3.0.tar.gz"