diff options
author | acgtyrant | 2015-12-23 20:08:36 +0800 |
---|---|---|
committer | acgtyrant | 2015-12-23 20:08:36 +0800 |
commit | 6d03fae382acec2e6ba5982613985a1128b7ba77 (patch) | |
tree | ad4357744168e56a56502039fa796acad2291d54 | |
download | aur-6d03fae382acec2e6ba5982613985a1128b7ba77.tar.gz |
init: .SRCINFO, PKGBUILD
-rw-r--r-- | .SRCINFO | 21 | ||||
-rw-r--r-- | PKGBUILD | 26 |
2 files changed, 47 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..4ff7f7fd4862 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,21 @@ +# Generated by mksrcinfo v8 +# Wed Dec 23 12:08:24 UTC 2015 +pkgbase = search-and-view-git + pkgdesc = Tools to make searching and viewing easy. + pkgver = r12.df55f03 + pkgrel = 1 + url = https://github.com/lilydjwg/search-and-view + arch = any + license = GPL3 + makedepends = git + depends = bash + depends = the_silver_searcher + depends = python + depends = python-easygui + depends = vim + optdepends = python-setproctitle: agv support + source = git+https://github.com/lilydjwg/search-and-view.git + md5sums = SKIP + +pkgname = search-and-view-git + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..b54569701eec --- /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" +} |