aboutsummaryrefslogtreecommitdiffstats
path: root/community/calcurse/APKBUILD
blob: 5d5b38e9a6c980aa76dd4f81ea577e2967ed90f1 (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
34
35
36
37
38
39
40
# Contributor: Łukasz Jendrysik <scadu@yandex.com>
# Contributor: Bartłomiej Piotrowski <nospam@bpiotrowski.pl>
# Maintainer:
pkgname=calcurse
pkgver=4.3.0
pkgrel=2
pkgdesc="A text-based personal organizer"
url="http://calcurse.org/"
license="BSD"
arch="all"
makedepends="ncurses-dev"
checkdepends="tzdata"
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
	make
}

check() {
	make -j1 -C "$builddir" check
}

package() {
	cd "$builddir"
	make DESTDIR="$pkgdir" install
}

sha512sums="d948354b512d406f4915ce37107d3f529031e7698d7b38465913ff37120a93283e01f09f5267ebb19bf39ea133d6fac579b218d6dfd6056003b6222f9038f4b3  calcurse-4.3.0.tar.gz"