diff options
Diffstat (limited to 'testing/lbdb')
-rw-r--r-- | testing/lbdb/APKBUILD | 22 |
1 files changed, 15 insertions, 7 deletions
diff --git a/testing/lbdb/APKBUILD b/testing/lbdb/APKBUILD index 06da547b20..e65bcfbb23 100644 --- a/testing/lbdb/APKBUILD +++ b/testing/lbdb/APKBUILD @@ -1,24 +1,32 @@ pkgname=lbdb pkgver=0.39 -pkgrel=0 +pkgrel=1 pkgdesc="The little brother's database for the mutt mail reader" -arch='x86 x86_64' +arch='all' url="http://www.spinnaker.de/lbdb/" license="GPL" depends='perl' source="http://www.spinnaker.de/debian/${pkgname}_${pkgver}.tar.gz" +subpackages="$pkgname-doc" _builddir="$srcdir/$pkgname-$pkgver" build() { - cd "$_builddir" - ./configure --prefix=/usr --sysconfdir=/etc - make + cd "$_builddir" + ./configure \ + --prefix=/usr \ + --libdir=/usr/lib/lbdb \ + --sysconfdir=/etc/lbdb \ + || return 1 + make } package() { - cd "$_builddir" - make install_prefix=$pkgdir install + cd "$_builddir" + make install_prefix="$pkgdir" \ + sysconfdir=/etc/lbdb \ + libdir=/usr/lib/lbdb \ + install } md5sums="b4739fd4e331e41da8a634c24c98a2c8 lbdb_0.39.tar.gz" sha256sums="4083ce4abde18ac949ca6eab453b3b7227a5aa2c737c9ad8ecbb0152fabfafc6 lbdb_0.39.tar.gz" |