summaryrefslogtreecommitdiffstats
path: root/main/orage/APKBUILD
blob: a79c94c5ee40651f36191c25611237ea9cee8d97 (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
41
42
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=orage
pkgver=4.12.1
pkgrel=0
pkgdesc="A simple calendar application with reminders for Xfce"
url="http://www.xfce.org/projects/orage/"
arch="all"
license="GPL-2"
subpackages="$pkgname-doc $pkgname-lang"
depends="hicolor-icon-theme"
makedepends="xfce4-panel-dev libnotify-dev libxfce4ui-dev libical-dev popt-dev"
install=
source="http://archive.xfce.org/src/apps/orage/${pkgver%.*}/orage-$pkgver.tar.bz2"

_builddir="$srcdir/$pkgname-$pkgver"

prepare() {
	cd "$_builddir"
}

build() {
	cd "$_builddir"
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--libexecdir=/usr/lib \
		--localstatedir=/var \
		--disable-static \
		|| return 1
	make || return 1
}

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

md5sums="2b7f5d38cb5c6edbcc65d0f52a742e46  orage-4.12.1.tar.bz2"
sha256sums="3cf9aa441ae83c8688865f82217025cdf3ebaa152cce4571777b8c2aa8dd9062  orage-4.12.1.tar.bz2"
sha512sums="3fec0201171140586cdc9bcf151450a7086515e18b5815afe4fe4c4726ba554c50582b0479e52985b330140c51b7233ef81f678f986f848afbeee74c66b2d196  orage-4.12.1.tar.bz2"