aboutsummaryrefslogtreecommitdiffstats
path: root/main/orage/APKBUILD
blob: 1c32f754aa83e189126277f4d021cce1a145a364 (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
43
44
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=orage
pkgver=4.10.0
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="pkgconfig xfce4-panel-dev libnotify-dev intltool gettext-dev
	libiconv-dev libsm-dev expat-dev e2fsprogs-dev libxfcegui4-dev autoconf automake"
install=
source="http://archive.xfce.org/src/apps/orage/${pkgver%.*}/orage-$pkgver.tar.bz2"

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

prepare() {
	cd "$_builddir"
	update_config_sub || return 1
}

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="b33fa272d92f539a224a7a40b1926dfc  orage-4.10.0.tar.bz2"
sha256sums="6cb854f3437e31bab23abfce97bd10afa1636a9a1480d80e14e26c85d06be7c0  orage-4.10.0.tar.bz2"
sha512sums="860d26ecf32e4efd9bd39dde206aac5c60bd10f1154ec7d348d2ec8e5516cc3dd98314e56d496f153a89764f2c46b2ed7cec49b6edd8d05a62265558721c9889  orage-4.10.0.tar.bz2"