summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: fcbecabe9b4f1c8af609e010ee15603c165b292a (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
# Maintainer:
# Contributor: Mark Wagie <mark dot wagie at tutanota dot com>
# Contributor: DoTheEvolution <DoTheEvo@gmail.com>
pkgname=angrysearch
pkgver=1.0.4
pkgrel=1
pkgdesc="Linux file search, instant results as you type"
arch=('any')
url="https://github.com/DoTheEvo/ANGRYsearch"
license=('GPL2')
depends=('python-pyqt5' 'libxkbcommon-x11' 'xdg-utils')
makedepends=('git')
optdepends=('python-gobject: desktop notifications support'
            'xdotool: Thunar & PCmanFM to select file on path open')
_commit=ad438249267fca36e5b88a778de54a10802a0afd
source=("git+https://github.com/DoTheEvo/ANGRYsearch.git#commit=$_commit")
#source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz")
sha256sums=('SKIP')

pkgver() {
    cd "$srcdir/ANGRYsearch"
    python setup.py --version
}

build() {
    cd "$srcdir/ANGRYsearch"
    python setup.py build
}

package() {
    cd "$srcdir/ANGRYsearch"
    export PYTHONHASHSEED=0
    python setup.py install --root="$pkgdir" --optimize=1 --skip-build
}