summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 977fe310aaebda2ef6cdec14ff366c70504da69a (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
# Maintainer: acgtyrant <acgtyrant@gmail.com>
_pkgname=search-and-view
pkgname=${_pkgname}-git
pkgver=r12.df55f03
pkgrel=1
pkgdesc="Tools to make searching and viewing easy."
arch=('any')
url="https://github.com/lilydjwg/search-and-view"
license=('GPL3')
depends=('bash' 'the_silver_searcher' 'python' 'python-easygui')
makedepends=('git')
optdepends=('python-setproctitle: agv 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 agg "${pkgdir}/usr/bin/agg"
        install -Dm 755 agv "${pkgdir}/usr/bin/agv"
        install -Dm 755 vv "${pkgdir}/usr/bin/vv"
}