aboutsummaryrefslogtreecommitdiffstats
path: root/main/exo/APKBUILD
blob: 8ee4fb9e6e2380b5e036e1627d37e7f4beb333f3 (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
45
46
47
48
49
50
51
52
53
# Contributor: Łukasz Jendrysik <scadu@yandex.com>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=exo
pkgver=0.10.7
pkgrel=0
pkgdesc="Extensions to Xfce by os-cillation"
url="http://www.os-cillation.com/article.php?sid=40"
arch="all"
license="GPL-2 LGPL-2"
subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
depends="hicolor-icon-theme"
depends_dev="gtk+2.0-dev libxfce4util-dev"
makedepends="$depends_dev libxfce4ui-dev perl perl-uri libnotify-dev gtk-doc"
install=
source="http://archive.xfce.org/src/xfce/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.bz2
	mailreader-claws-mail.patch
	"

_builddir="$srcdir"/exo-$pkgver
prepare() {
	cd "$_builddir"
	for i in $source; do
		case $i in
		*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
		esac
	done
}

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

package() {
	cd "$_builddir"
	make DESTDIR="$pkgdir" install || return 1
}
md5sums="92ca200b8787cdd7494164cbc0ed8200  exo-0.10.7.tar.bz2
3d9f7c0c3a411797fe8989ad0c75f69e  mailreader-claws-mail.patch"
sha256sums="521581481128af93e815f9690020998181f947ac9e9c2b232b1f144d76b1b35c  exo-0.10.7.tar.bz2
f944ff99efb37e8848208f19ac8997e1494c2f70170c269b7c26a08c33945c94  mailreader-claws-mail.patch"
sha512sums="5a872e6895595da027f403fb7951922c40481d53242cb4d9c3da2d36690c61dce2fdb34ba0eb39367558a5e3055733af25432d1f3a8f60984b7e2ed997408b60  exo-0.10.7.tar.bz2
957350c34b9209b89b051ccf9800f7d0e9ce580ad4161366bab0984d4d4d1f63d20bcb9fd5c22abffc0151c377a5bc7ad5c1b24b0183e997ebdd92ab61ee1c2b  mailreader-claws-mail.patch"