# Maintainer: Jonian Guveli pkgname=gnome-hud-git pkgver=r138.7b92b32 pkgrel=1 pkgdesc="Unity like HUD menu for the GNOME Desktop Environment" arch=("any") url="https://github.com/hardpixel/gnome-hud" license=("GPL") depends=("gtk3" "bamf" "libkeybinder3" "python" "python-gobject" "python-dbus" "python-fuzzysearch") optdepends=( "rofi: Use rofi as menu dialog" "appmenu-gtk-module: AppMenu support for GTK2" "libdbusmenu-gtk2: DbusMenu support for GTK2" "libdbusmenu-gtk3: DbusMenu support for GTK3" "appmenu-qt4: AppMenu support for Qt4" "libdbusmenu-qt4: DbusMenu support for Qt4" "libdbusmenu-qt5: DbusMenu support for Qt5" ) makedepends=("python-setuptools") conflicts=("gnome-hud") source=("$pkgname::git+$url") md5sums=("SKIP") pkgver() { cd "$srcdir/$pkgname" echo "r$(git rev-list --count HEAD).$(git rev-parse --short HEAD)" } build() { cd "${srcdir}/${pkgname}" python setup.py build } package() { cd "${srcdir}/${pkgname}" python setup.py install --root="${pkgdir}/" --optimize=1 --skip-build }