aboutsummaryrefslogtreecommitdiffstats
path: root/main/orage/APKBUILD
blob: fbaeca982ae7d7ed23a4e1b892befee37023088f (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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=orage
pkgver=4.6.1
pkgrel=3
pkgdesc="A simple calendar application with reminders for Xfce"
url="http://www.xfce.org/projects/orage/"
arch="all"
license="GPL-2"
subpackages="$pkgname-doc"
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
	libxfcegui4-linkfix.patch"

prepare() {
	cd "$srcdir"/$pkgname-$pkgver
	patch -p1 < "$srcdir"/libxfcegui4-linkfix.patch
}

build() {
	cd "$srcdir"/$pkgname-$pkgver
	./configure --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="24fa43dd86ec5af5a4766620fd972cf2  orage-4.6.1.tar.bz2
bb77d7d317455b67121e90ce17000344  libxfcegui4-linkfix.patch"