aboutsummaryrefslogtreecommitdiffstats
path: root/testing/calcurse/APKBUILD
blob: c53585b267260c7fdf0d7d978db4ac6fbefd9f67 (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
# Maintainer: Bartłomiej Piotrowski <nospam@bpiotrowski.pl>
pkgname=calcurse
pkgver=3.1.4
pkgrel=1
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="e354bdb7636daffa99ffb98534d04cb2  calcurse-3.1.4.tar.gz"
sha256sums="4121b3b14ded3583af7613a99646332701ee2ccc8cf2b87397eb3c07b97390e3  calcurse-3.1.4.tar.gz"
sha512sums="efdb655f96a176ca45a23a6246987735413a69046e5273efafffd5d2087f880969f84e387dd84672dacc8fae670a86ee7b132f6a4662e072ba92121492fd7ca7  calcurse-3.1.4.tar.gz"