# Maintainer: Hakan Erduman <hakan@erduman.de>
pkgname=xfce4-places-plugin
pkgver=1.8.4
pkgrel=0
pkgdesc="Quick access to folders, documents, and removable media"
url="https://docs.xfce.org/panel-plugins/xfce4-places-plugin/start"
arch="all"
license="GPL-2.0-or-later"
makedepends="
	exo-dev
	libwnck3-dev
	libxfce4ui-dev
	xfce4-panel-dev
	"
subpackages="$pkgname-lang"
source="https://archive.xfce.org/src/panel-plugins/xfce4-places-plugin/${pkgver%.*}/xfce4-places-plugin-$pkgver.tar.bz2"

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--infodir=/usr/share/info \
		--localstatedir=/var \
		--disable-static
	make
}

check() {
	make check
}

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

sha512sums="
41c9386989ad18fd6b3e30779c964b13db2c03c60de573397109ff745cde52e0fc4965dae365b3aac5e5ad72cf64144268621fcda5485c7b6d65de673d886fe9  xfce4-places-plugin-1.8.4.tar.bz2
"
