# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=xfce4-clipman-plugin
pkgver=1.6.7
pkgrel=0
pkgdesc="Clipboard manager plugin for the Xfce panel"
url="https://docs.xfce.org/panel-plugins/xfce4-clipman-plugin/start"
arch="all"
license="GPL-2.0-or-later"
makedepends="libxfce4ui-dev xfce4-panel-dev libxtst-dev exo-dev"
subpackages="$pkgname-lang"
source="https://archive.xfce.org/src/panel-plugins/xfce4-clipman-plugin/${pkgver%.*}/xfce4-clipman-plugin-$pkgver.tar.bz2"

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--disable-static
	make
}

check() {
	make check
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="
0616ee8366952cf90ea60887d7c0081b4fc3b2a80cb8f3613e294ea1086477c30a820b688045e49ec4787042a83964732e85a458acf1997c1a7ea244dd225892  xfce4-clipman-plugin-1.6.7.tar.bz2
"
