# Contributor: Ɓukasz Jendrysik <scadu@yandex.com>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
setvar pkgname = 'exo'
setvar pkgver = '0.10.7'
setvar pkgrel = '3'
setvar pkgdesc = ""Extensions to Xfce by os-cillation""
setvar url = ""http://www.os-cillation.com/article.php?sid=40""
setvar arch = ""all""
setvar license = ""GPL2 LGPL-2""
setvar subpackages = ""$pkgname-dev $pkgname-doc $pkgname-lang""
setvar depends = ""hicolor-icon-theme""
setvar makedepends = ""gtk+2.0-dev libxfce4util-dev libxfce4ui-dev perl perl-uri
	libnotify-dev gtk-doc""
setvar install = ''
setvar source = ""http://archive.xfce.org/src/xfce/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.bz2
	mailreader-claws-mail.patch
	""

proc build {
	cd $builddir
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--libexecdir=/usr/lib/xfce4 \
		--localstatedir=/var \
		--disable-static \
		--enable-gtk-doc
	make
}

proc check {
	cd $builddir
	make check
}

proc package {
	cd $builddir
	make DESTDIR="$pkgdir" install
}
setvar md5sums = ""92ca200b8787cdd7494164cbc0ed8200  exo-0.10.7.tar.bz2
3d9f7c0c3a411797fe8989ad0c75f69e  mailreader-claws-mail.patch""
setvar sha256sums = ""521581481128af93e815f9690020998181f947ac9e9c2b232b1f144d76b1b35c  exo-0.10.7.tar.bz2
f944ff99efb37e8848208f19ac8997e1494c2f70170c269b7c26a08c33945c94  mailreader-claws-mail.patch""
setvar sha512sums = ""5a872e6895595da027f403fb7951922c40481d53242cb4d9c3da2d36690c61dce2fdb34ba0eb39367558a5e3055733af25432d1f3a8f60984b7e2ed997408b60  exo-0.10.7.tar.bz2
957350c34b9209b89b051ccf9800f7d0e9ce580ad4161366bab0984d4d4d1f63d20bcb9fd5c22abffc0151c377a5bc7ad5c1b24b0183e997ebdd92ab61ee1c2b  mailreader-claws-mail.patch""