pkgname=lbdb pkgver=0.39 pkgrel=1 pkgdesc="The little brother's database for the mutt mail reader" 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 \ --libdir=/usr/lib/lbdb \ --sysconfdir=/etc/lbdb \ || return 1 make } package() { 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" sha512sums="f37fd3261fa132d6320039f43765624d4eff3508e20f581688222ab9add4f3846c772fdc6d6bb936d572634b78bae0a2403c6bcf034ed19e2d54d95a744cba1e lbdb_0.39.tar.gz"