aports/testing/abook/APKBUILD
Bartłomiej Piotrowski a191920d80 testing/abook: new aport
2012-07-13 10:02:51 +02:00

34 lines
822 B
Plaintext

# Maintainer: Bartłomiej Piotrowski <nospam@bpiotrowski.pl>
pkgname=abook
pkgver=0.6.0_pre2
_ver=0.6.0pre2
pkgrel=0
pkgdesc='Text-based addressbook designed for use with Mutt'
url='http://abook.sourceforge.net/'
license='GPL2'
arch='all'
makedepends='libiconv-dev ncurses-dev readline-dev'
subpackages="$pkgname-doc"
source="http://$pkgname.sourceforge.net/devel/$pkgname-${_ver}.tar.gz
vcard-compat.patch"
prepare() {
cd "$srcdir/$pkgname-$_ver"
patch -Np1 -i "$srcdir"/vcard-compat.patch
}
build() {
cd "$srcdir/$pkgname-$_ver"
./configure --prefix=/usr --mandir=/usr/share/man
make
}
package() {
cd "$srcdir/$pkgname-$_ver"
make DESTDIR="$pkgdir" install
}
md5sums="1e4a7210b3507db7b3d47ee7a2457934 abook-0.6.0pre2.tar.gz
c7c4972eab913483198d86697ecbbaa1 vcard-compat.patch"