diff options
author | Michael Mason <ms13sp@gmail.com> | 2010-02-08 15:24:53 +0000 |
---|---|---|
committer | Michael Mason <ms13sp@gmail.com> | 2010-02-08 15:24:53 +0000 |
commit | 02efd3c809aaf9310cdaadd55ac7d4eeee4eaaa0 (patch) | |
tree | 7819a2d38b75536b2bb5fb7062f49c15f5061fa2 /main/hypermail | |
parent | 43edaa30138c180df9b97091e46910243a59cc68 (diff) | |
download | aports-02efd3c809aaf9310cdaadd55ac7d4eeee4eaaa0.tar.bz2 aports-02efd3c809aaf9310cdaadd55ac7d4eeee4eaaa0.tar.xz |
main/hypermail Updated pkg release number and added package() function per ncopa
Diffstat (limited to 'main/hypermail')
-rw-r--r-- | main/hypermail/APKBUILD | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/main/hypermail/APKBUILD b/main/hypermail/APKBUILD index 55cae9889..baf9fa102 100644 --- a/main/hypermail/APKBUILD +++ b/main/hypermail/APKBUILD @@ -11,10 +11,9 @@ install= subpackages="" source="http://www.hypermail-project.org/$pkgname-$pkgver.tar.gz mdir2mbox.lua" - +_builddir="$srcdir"/$pkgname-$pkgver build() { - cd "$srcdir/$pkgname-$pkgver" - + cd "$_builddir" ./configure --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ @@ -22,14 +21,17 @@ build() { --with-httpddir=/var/www \ --with-cgidir=/var/www/cgi-bin make || return 1 +} +package() { + cd "$_builddir" + #does not understand DESTDIR so going to install ourselves #make DESTDIR="$pkgdir" install - + install -m755 -D archive/rdmsg "$pkgdir"/usr/bin/rdmsg install -m755 -D archive/msg2archive "$pkgdir"/usr/bin/msgarchive install -m755 -D src/hypermail "$pkgdir"/usr/bin/hypermail install -m755 -D "$srcdir"/mdir2mbox.lua "$pkgdir"/usr/bin/mdir2mbox.lua - } md5sums="a064e36780ee41409c8c973f9c69927f hypermail-2.2.0.tar.gz |