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

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="c705d8bf3003df6810c9775ce86e7af0  mlmmj-1.2.17.1.tar.gz"