aboutsummaryrefslogtreecommitdiffstats
path: root/main/orage/APKBUILD
blob: 2ee5d67d9bca3bc29a9c6af557ede544660ca147 (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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=orage
pkgver=4.8.4
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"

prepare() {
	cd "$srcdir"/$pkgname-$pkgver
}

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

package() {
	cd "$srcdir"/$pkgname-$pkgver
	make DESTDIR="$pkgdir" install || return 1
}

md5sums="d5105981a9d77ed22be42615d70f3cc0  orage-4.8.4.tar.bz2"
sha256sums="b19df727da9da48b979e238ac7113c803976de80bd1e2dadf6d84b864956dfd5  orage-4.8.4.tar.bz2"
sha512sums="a3dc10f16d9a002a95de0fa993b69a86dac174207f4ed1fbcf90030146a57b3a124e66e18a21b6fdd77673cb78ecadc9a618a1f755d8d9e4bf8aafa12926b38f  orage-4.8.4.tar.bz2"