diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2010-04-20 11:42:39 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2010-04-20 11:53:20 +0000 |
commit | dc8e5ec0a58e861e56e01e5f444248a3b1104c83 (patch) | |
tree | 7d26edd6df2b3174384f1005a89524fe96c8dfe4 /main/mlmmj | |
parent | faa0402a160d02b6e15aeadd46f404cac42d0af4 (diff) | |
download | aports-dc8e5ec0a58e861e56e01e5f444248a3b1104c83.tar.bz2 aports-dc8e5ec0a58e861e56e01e5f444248a3b1104c83.tar.xz |
main/mlmmj: added package() function
Diffstat (limited to 'main/mlmmj')
-rw-r--r-- | main/mlmmj/APKBUILD | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/main/mlmmj/APKBUILD b/main/mlmmj/APKBUILD index 96649fd6b6..6ac4d1620f 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/ |