aboutsummaryrefslogtreecommitdiffstats
path: root/main/libetpan
diff options
context:
space:
mode:
Diffstat (limited to 'main/libetpan')
-rw-r--r--main/libetpan/APKBUILD9
1 files changed, 7 insertions, 2 deletions
diff --git a/main/libetpan/APKBUILD b/main/libetpan/APKBUILD
index 6c54212123..9950883175 100644
--- a/main/libetpan/APKBUILD
+++ b/main/libetpan/APKBUILD
@@ -1,7 +1,8 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libetpan
pkgver=0.58
-pkgrel=0
+pkgrel=1
+_dbver=4.8
pkgdesc="a portable middleware for email access"
url="http://www.etpan.org/"
license="custom:etpan"
@@ -14,11 +15,15 @@ source="http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.t
build ()
{
cd "$srcdir"/$pkgname-$pkgver
- sed -e 's/db-4.4/db-4.7/g' -i configure || return 1
+ sed -e "s/db-4.4/db-${_dbver}/g" -i configure || return 1
./configure --prefix=/usr \
--disable-static
make || return 1
+}
+
+package() {
+ cd "$srcdir"/$pkgname-$pkgver
make DESTDIR="$pkgdir" install
install -Dm644 COPYRIGHT "$pkgdir"/usr/share/licenses/$pkgname/license.txt
}