# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=xfce4-clipman-plugin
pkgver=1.4.1
pkgrel=0
pkgdesc="Clipboard manager plugin for the Xfce panel"
url="http://goodies.xfce.org/projects/panel-plugins/xfce4-clipman-plugin"
arch="all"
license="GPLv2+"
depends=""
makedepends="libxfce4ui-dev xfce4-panel-dev libunique-dev libxtst-dev exo-dev"
install=""
subpackages="$pkgname-lang"
source="http://archive.xfce.org/src/panel-plugins/xfce4-clipman-plugin/${pkgver%.*}/xfce4-clipman-plugin-$pkgver.tar.bz2"

builddir="$srcdir"/xfce4-clipman-plugin-$pkgver

build() {
	cd "$builddir"
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--disable-static \
		--enable-unique \
		|| return 1
	make || return 1
}

package() {
	cd "$builddir"
	make DESTDIR="$pkgdir" install || return 1
}

sha512sums="e5db43899c888c8c9f47f020c79ccc636b2a484427646f9f93243c668403324f83f7c0da7ca68492df3162b4b1d7463000c5ecc2016e86f5f1a443bcba01dd54  xfce4-clipman-plugin-1.4.1.tar.bz2"