# Maintainer: Piotr Miller <nwg.piotr@gmail.com>
pkgname=('sgtk-menu')
pkgver=1.4.1
pkgrel=1slint
slackdesc="sgtk-menu GTK menu for sway, i3 and some floating WMs"
arch=('x86_64')
url="https://github.com/nwg-piotr/sgtk-menu"
license=('GPL3')
depends=('gtk3' 'python' 'python-gobject' 'python-cairo' 'python-setuptools')
optdepends=('python-pynput: for positioning in floating window managers')

source=("https://github.com/nwg-piotr/sgtk-menu/archive/v$pkgver.tar.gz")

md5sums=('01389ca9f240374c3d8c984728b711fc')
docs=("LICENSE" "README.html" "style.css")
build() {
  cd "${pkgname}-$pkgver"
  /usr/bin/python3 setup.py install --root="$PKG" --optimize=1
  pandoc -f gfm -t html5 -o README.html README.md
}
