aboutsummaryrefslogtreecommitdiffstats
path: root/community/calcurse/APKBUILD
blob: 97850b8b6d32103286e99797cb559e586e207491 (plain) (blame)
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
# Contributor: Łukasz Jendrysik <scadu@yandex.com>
# Contributor: Bartłomiej Piotrowski <nospam@bpiotrowski.pl>
# Maintainer: Roberto Oliveira <robertoguimaraes8@gmail.com>
pkgname=calcurse
pkgver=4.5.1
pkgrel=0
pkgdesc="A text-based personal organizer"
url="https://calcurse.org/"
license="BSD-2-Clause"
arch="all"
makedepends="ncurses-dev"
checkdepends="tzdata"
subpackages="$pkgname-doc"
source="https://calcurse.org/files/calcurse-$pkgver.tar.gz"

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var \
		--disable-nls \
		--enable-docs \
		--without-asciidoc
	make
}

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

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

sha512sums="dfac702b2e6352bfaf8eb916c7873918c29f884fdaf583bb6de984d5ee9d86f29df31e2b0a93c34af43c55260cc32d285578bc069b396793a72dafed11deaff3  calcurse-4.5.1.tar.gz"