aboutsummaryrefslogtreecommitdiffstats
path: root/testing/calcurse/APKBUILD
blob: 944aadb6991936c05634b89db8b4815689d8b4a4 (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
# Contributor: Łukasz Jendrysik <scadu@yandex.com>
# Contributor: Bartłomiej Piotrowski <nospam@bpiotrowski.pl>
# Maintainer:
pkgname=calcurse
pkgver=3.2.1
pkgrel=0
pkgdesc="A text-based personal organizer"
url="http://calcurse.org/"
license="BSD"
arch="all"
makedepends="libiconv-dev ncurses-dev"
subpackages="$pkgname-doc"
source="http://calcurse.org/files/${pkgname}-${pkgver}.tar.gz"

_builddir="$srcdir"/$pkgname-$pkgver
build() {
	cd "$_builddir"
	./configure \
		--prefix=/usr \
		--mandir=/usr/share/man \
		--enable-docs \
		--without-asciidoc \
		|| return 1
	make || return 1
}

package() {
	cd "$_builddir"
	make DESTDIR="$pkgdir" install || return 1
}

md5sums="427652c011bc5314c71c962233d59436  calcurse-3.2.1.tar.gz"
sha256sums="05d5516808f98eee3d1eb8d379aa88cb24afc2b7a3eac046e46247013a61223d  calcurse-3.2.1.tar.gz"
sha512sums="1aaba75144d4da4caf48f0ff566efc0fe4977e41be0f929b4f13611c12fc849da2185fd132f93723aefc8b965eb4ee6fe2f20eb05d3eecd094891841d613c0df  calcurse-3.2.1.tar.gz"