# Description: A Notes plugin for the xfce-panel
# URL: https://xfce.org
# Maintainer: mac-a-r0ni, j at lngn dot net
# Depends on: gtksourceview4 libsoup xfce4-panel

name=xfce4-notes-plugin
version=1.11.1
release=1
source=(https://archive.xfce.org/src/panel-plugins/$name/${version%.*}/$name-$version.tar.bz2)

build() {
	cd $name-$version

	./configure \
		--prefix=/usr \
		--sysconfdir=/etc \
		--libdir=/usr/lib \
		--libexecdir=/usr/lib/$name \
		--disable-nls \
		--disable-debug

	make
	make DESTDIR=$PKG install

	find $PKG/usr/lib/* -name "*.la" -type f|xargs rm -f
}