# Maintainer: Brad Fanella <cesura@archlinux.org>
# Contriburor: Balló György <ballogyor+arch at gmail dot com>

#Included in Slint by Didier Spaier didieratslintdotfr
pkgname=mate-applet-dock
_pkgname=mate-dock-applet
pkgver=21.10.0
pkgrel=1slint
slackdesc="$pkgname (Application dock for the MATE panel)"
docs=("copying" "authors" "README.html")
options=("nosrcpack")
url="https://github.com/robint99/dock-applet"
license=('GPL3')
depends=('bamf' 'libnotify' 'mate-panel' 'python-cairo' 'python-dbus' 'python-gobject'
         'python-pillow' 'python-xdg' 'python-xlib')
source=("https://github.com/robint99/$_pkgname/archive/$pkgver.tar.gz")
sha256sums=('42f06dcac13aae19a9bbd16272854c896044aa0301a69319cab86ef4ffd8b09c')

build() {
	cd $_pkgname-$pkgver
[ -f README.md ] && pandoc -f gfm -t html5 -o README.html README.md
  	autoreconf -fi
  	./configure --prefix=/usr --with-gtk3
  	make
  	make DESTDIR="$PKG" install
  	# mate-tweak looks in /usr/lib, not /usr/lib64 and is so far the only consumer.
}
