aboutsummaryrefslogtreecommitdiffstats
path: root/testing/abook/APKBUILD
blob: 54f0256c17c08724be7440a2dd8f463ae0a9d451 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# 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"