aboutsummaryrefslogtreecommitdiffstats
path: root/main/exo/APKBUILD
blob: 8df92262fff4aa695e55ce25d7230bafff386c70 (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
54
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=exo
pkgver=0.10.3
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"
	update_config_sub || return 1
	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
	rm -f "$pkgdir"/usr/lib/*.la
}
md5sums="d45b7e18e3a73e4a7b2ec6ef7943de17  exo-0.10.3.tar.bz2
3d9f7c0c3a411797fe8989ad0c75f69e  mailreader-claws-mail.patch"
sha256sums="95704b14ef9065268c3aa9a7c0bacbe0ddb490a183a4f5ab13bba4a1722826bd  exo-0.10.3.tar.bz2
f944ff99efb37e8848208f19ac8997e1494c2f70170c269b7c26a08c33945c94  mailreader-claws-mail.patch"
sha512sums="ec6893c4340e8b345f00037df4667b7e05c3907a5f2aacb36314c48822644e757df2bb3ffd2b665afc21f8619e0f1ab3a5115374701d3c7150c3a5b73edbc331  exo-0.10.3.tar.bz2
957350c34b9209b89b051ccf9800f7d0e9ce580ad4161366bab0984d4d4d1f63d20bcb9fd5c22abffc0151c377a5bc7ad5c1b24b0183e997ebdd92ab61ee1c2b  mailreader-claws-mail.patch"