PKGBUILD 910 B

12345678910111213141516171819202122232425262728
  1. # Maintainer: intothegnu <intothegnu@protonmail.com>
  2. pkgname="qutewrowser-scripts-intothegnu-git"
  3. pkgver=1.0.r2.g6925849
  4. pkgrel=1
  5. install="qutebrowser-scripts-intothegnu.install"
  6. pkgdesc="Collection of scripts for Qutebrowser"
  7. arch=('any')
  8. groups=('intothegnu-config')
  9. depends=('bzip2' 'imagemagick' 'qutebrowser' 'dmenu' 'pass')
  10. license=('GPL')
  11. url="https://notabug.org/BezierQuadratic/qutebrowser-scripts"
  12. source=("git+https://notabug.org/BezierQuadratic/qutebrowser-scripts.git")
  13. md5sums=('SKIP')
  14. pkgver(){
  15. cd "qutebrowser-scripts"
  16. git describe --long --tags | sed 's/-/.r/;s/-/./'
  17. }
  18. package(){
  19. mkdir -p $pkgdir/usr/lib/qutebrowser/ITGC/plugins
  20. mkdir -p $pkgdir/usr/lib/qutebrowser/ITGC/userscripts
  21. install -m 644 $srcdir/qutebrowser-scripts/plugins/* $pkgdir/usr/lib/qutebrowser/ITGC/plugins
  22. install -m 755 $srcdir/qutebrowser-scripts/userscripts/* $pkgdir/usr/lib/qutebrowser/ITGC/userscripts
  23. }