summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 02c565dceaa60c1dc36079381c8e0d11eb9b1f94 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
# Maintainer: Albin Larsson <mail@albinlarsson.com>
# Contributor: Aleksandr Gornostal <ulauncher.app@gmail.com>

# 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
}