summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authoracgtyrant2015-12-23 20:08:36 +0800
committeracgtyrant2015-12-23 20:08:36 +0800
commit6d03fae382acec2e6ba5982613985a1128b7ba77 (patch)
treead4357744168e56a56502039fa796acad2291d54 /PKGBUILD
downloadaur-6d03fae382acec2e6ba5982613985a1128b7ba77.tar.gz
init: .SRCINFO, PKGBUILD
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD26
1 files changed, 26 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..b54569701ee
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,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' 'vim')
+makedepends=('git')
+optdepends=('python-setproctitle: agv 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"
+}