summaryrefslogtreecommitdiffstats
path: root/main/mlmmj/APKBUILD
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2010-04-20 11:42:39 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2010-04-20 11:53:20 +0000
commitdc8e5ec0a58e861e56e01e5f444248a3b1104c83 (patch)
tree7d26edd6df2b3174384f1005a89524fe96c8dfe4 /main/mlmmj/APKBUILD
parentfaa0402a160d02b6e15aeadd46f404cac42d0af4 (diff)
downloadaports-dc8e5ec0a58e861e56e01e5f444248a3b1104c83.tar.bz2
aports-dc8e5ec0a58e861e56e01e5f444248a3b1104c83.tar.xz
main/mlmmj: added package() function
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/