summaryrefslogtreecommitdiffstats
path: root/main/hypermail
diff options
context:
space:
mode:
Diffstat (limited to 'main/hypermail')
-rw-r--r--main/hypermail/APKBUILD12
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