summaryrefslogtreecommitdiffstats
path: root/main/mlmmj/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'main/mlmmj/APKBUILD')
-rw-r--r--main/mlmmj/APKBUILD11
1 files changed, 8 insertions, 3 deletions
diff --git a/main/mlmmj/APKBUILD b/main/mlmmj/APKBUILD
index 96649fd6b..6ac4d1620 100644
--- a/main/mlmmj/APKBUILD
+++ b/main/mlmmj/APKBUILD
@@ -1,19 +1,24 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=mlmmj
pkgver=1.2.16
-pkgrel=0
+pkgrel=1
pkgdesc="Mailing list managing made joyful"
url="http://mlmmj.org/"
license="MIT"
subpackages="$pkgname-doc"
-depends="uclibc"
+depends=
+makedepends=
source="http://mlmmj.mmj.dk/files/$pkgname-$pkgver.tar.bz2 "
build() {
cd "$srcdir"/$pkgname-$pkgver
- configure --prefix=/usr
+ ./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/