# Maintainer: Albin Larsson # Contributor: Aleksandr Gornostal # To install, run `makepkg -is` pkgname=ulauncher-revived-git pkgver=DEV pkgrel=1 pkgdesc='Application launcher for Linux' arch=('any') url="https://github.com/friday/Ulauncher-Revived" license=('GPL3') depends=('gobject-introspection-runtime' 'libkeybinder3' 'gtk3' 'webkit2gtk' 'libnotify' 'gdk-pixbuf2' 'python-dbus' 'python-levenshtein' 'python-pyinotify' 'python-websocket-client' 'python-pyxdg' 'python-gobject' 'python-cairo') makedepends=('git' 'yarn' 'python-setuptools') checkdepends=('desktop-file-utils') optdepends=('libappindicator-gtk3: tray icon' 'wmctrl: fix window focus on Wayland') install="ulauncher.install" provides=("ulauncher") conflicts=("ulauncher") source=("ulauncher::git+https://github.com/friday/Ulauncher-Revived.git") sha256sums=('SKIP') pkgver() { cd ulauncher python setup.py --version | tr "-" "~" } build() { cd ulauncher python setup.py build } package() { cd ulauncher export PYTHONHASHSEED=0 python setup.py install --root="$pkgdir" --optimize=1 --skip-build find $pkgdir -type d -name __pycache__ | xargs rm -rf }