aboutsummaryrefslogtreecommitdiffstats
path: root/main/mlmmj/APKBUILD
blob: 6ac4d1620fce5f44d9a25042a4cb8b88dfaef003 (plain) (blame)
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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=mlmmj
pkgver=1.2.16
pkgrel=1
pkgdesc="Mailing list managing made joyful"
url="http://mlmmj.org/"
license="MIT"
subpackages="$pkgname-doc"
depends=
makedepends=
source="http://mlmmj.mmj.dk/files/$pkgname-$pkgver.tar.bz2 "

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

	./configure --prefix=/usr
	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/
}
md5sums="9ea7ba91ccb55b9edf3e5148537364e3  mlmmj-1.2.16.tar.bz2"