# Contributor: Łukasz Jendrysik # Contributor: Bartłomiej Piotrowski # Maintainer: pkgname=calcurse pkgver=4.3.0 pkgrel=0 pkgdesc="A text-based personal organizer" url="http://calcurse.org/" license="BSD" arch="all" makedepends="ncurses-dev" subpackages="$pkgname-doc" source="http://calcurse.org/files/${pkgname}-${pkgver}.tar.gz" builddir="$srcdir"/$pkgname-$pkgver build() { cd "$builddir" ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --localstatedir=/var \ --enable-docs \ --without-asciidoc \ || return 1 make || return 1 } package() { cd "$builddir" make DESTDIR="$pkgdir" install || return 1 } sha512sums="d948354b512d406f4915ce37107d3f529031e7698d7b38465913ff37120a93283e01f09f5267ebb19bf39ea133d6fac579b218d6dfd6056003b6222f9038f4b3 calcurse-4.3.0.tar.gz"