yochananmarqos

angrysearch

Feb 8th, 2021
109
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. pkgname=angrysearch
  2. pkgver=1.0.2
  3. pkgrel=1
  4. pkgdesc="Linux file search, instant results as you type"
  5. arch=('any')
  6. url="https://github.com/DoTheEvo/ANGRYsearch"
  7. license=('GPL2')
  8. depends=('python-pyqt5' 'libxkbcommon-x11' 'xdg-utils')
  9. makedepends=('git')
  10. optdepends=('python-gobject: desktop notifications support'
  11.             'xdotool: Thunar & PCmanFM to select file on path open')
  12. _commit=00d8d0f24a30bbba231605a41add908f36e1ae81
  13. source=("git+https://github.com/DoTheEvo/ANGRYsearch.git#commit=$_commit")
  14. #source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz")
  15. sha256sums=('SKIP')
  16.  
  17. pkgver() {
  18.     cd "$srcdir/ANGRYsearch"
  19.     python setup.py --version
  20. }
  21.  
  22. build() {
  23.     cd "$srcdir/ANGRYsearch"
  24.     python setup.py build
  25. }
  26.  
  27. package() {
  28.     cd "$srcdir/ANGRYsearch"
  29.     export PYTHONHASHSEED=0
  30.     python setup.py install --root="$pkgdir" --optimize=1 --skip-build
  31. }
RAW Paste Data