# Maintainer: seiuneko # Contributor: acgtyrant _pkgname=search-and-view pkgname=$_pkgname-git pkgver=r46.b5c08a5 pkgrel=1 pkgdesc="Tools to make searching and viewing easy." arch=('any') url="https://github.com/lilydjwg/search-and-view" license=('GPL3') depends=('python') makedepends=('git') optdepends=('python-setproctitle: agv support' 'ripgrep: rgg support' 'vim: vv support') source=('git+https://github.com/lilydjwg/search-and-view.git') md5sums=('SKIP') pkgver() { cd "$srcdir/$_pkgname" printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" } package() { cd "$srcdir/${_pkgname}" install -Dm 755 rgg "$pkgdir/usr/bin/rgg" install -Dm 755 rgv "$pkgdir/usr/bin/rgv" install -Dm 755 vv "$pkgdir/usr/bin/vv" install -Dm644 vv.desktop "$pkgdir/usr/share/applications/vv.desktop" }