aboutsummaryrefslogtreecommitdiffstats
path: root/testing/calcurse/APKBUILD
blob: 781e3b1812dde3bf27aaa0a63d20c58fb02b44a6 (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=4.0.0
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="3cd414a30e6e1d118ae340bc7cb1a93a  calcurse-4.0.0.tar.gz"
sha256sums="621b0019907618bd468f9c4dc1ce2186ee86254d3c9ade47dd2d7ab8e6656334  calcurse-4.0.0.tar.gz"
sha512sums="42a1b317bfd38974cbe4a4d3d1c848b8cd09233fc71f1f3ce36daf33352d9caffd7926c75d5e7ae6dd1138b8735a5244d5411fa1875a3262f1dc37c0a101d38c  calcurse-4.0.0.tar.gz"