# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
setvar pkgname = 'xfce4-panel'
setvar pkgver = '4.12.1'
setvar pkgrel = '1'
setvar pkgdesc = ""Panel for the Xfce desktop environment""
setvar url = ""http://www.xfce.org/""
setvar arch = ""all""
setvar license = ""GPL2""
setvar subpackages = ""$pkgname-dev $pkgname-doc $pkgname-lang""
setvar depends = ""hicolor-icon-theme""
setvar depends_dev = ""libxfce4util-dev gtk+2.0-dev gtk+3.0-dev""
setvar makedepends = ""$depends_dev libxfce4ui-dev exo-dev garcon-dev libwnck-dev""
setvar source = ""http://archive.xfce.org/src/xfce/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.bz2""

setvar builddir = ""$srcdir"/$pkgname-$pkgver"

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

proc package {
	cd $builddir
	make DESTDIR="$pkgdir" install
}

setvar sha512sums = ""8bdc2a560a698e7d41429b40cde51ea1bec5aba211b6ee89b46822a38176e27e332efa785d93901d598b17171c739406e7f983372aaa49177db0f868aea985a4  xfce4-panel-4.12.1.tar.bz2""