diff options
Diffstat (limited to 'main/libetpan')
-rw-r--r-- | main/libetpan/APKBUILD | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/main/libetpan/APKBUILD b/main/libetpan/APKBUILD index 6c5421212..995088317 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 } |