aboutsummaryrefslogtreecommitdiffstats
path: root/main/exo/APKBUILD
blob: 44307296dad5e110686e667f38071c111e4ab668 (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
# Contributor: Łukasz Jendrysik <scadu@yandex.com>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=exo
pkgver=0.10.6
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
	rm -f "$pkgdir"/usr/lib/*.la
}
md5sums="895e4f38d2cfe58d69679e2902a335a5  exo-0.10.6.tar.bz2
3d9f7c0c3a411797fe8989ad0c75f69e  mailreader-claws-mail.patch"
sha256sums="1cc0e5a432e050a5e5aa64d126b988f4440da4f27474aaf42a4d8e13651d0752  exo-0.10.6.tar.bz2
f944ff99efb37e8848208f19ac8997e1494c2f70170c269b7c26a08c33945c94  mailreader-claws-mail.patch"
sha512sums="be537145ea0f0ea87566908f3ed4850ee3b20caf292d27dd752a9eaba7047598b585b398c2a6e4c925d832b5b2f76e0b9cc763ee3c955f08d47c6ac8bf3a2805  exo-0.10.6.tar.bz2
957350c34b9209b89b051ccf9800f7d0e9ce580ad4161366bab0984d4d4d1f63d20bcb9fd5c22abffc0151c377a5bc7ad5c1b24b0183e997ebdd92ab61ee1c2b  mailreader-claws-mail.patch"