summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorpzl2015-08-08 12:03:52 -0400
committerpzl2015-08-08 12:03:52 -0400
commit3232a91b246a0b31ddafe9dc4985821c70ea39d9 (patch)
tree2c0b32b0a59463185c3c593bc004d247ca06239a
downloadaur-3232a91b246a0b31ddafe9dc4985821c70ea39d9.tar.gz
start package in aur4/git
-rw-r--r--.SRCINFO16
-rw-r--r--PKGBUILD28
2 files changed, 44 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..0834c14c8f9
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,16 @@
+pkgbase = pacvcs
+ pkgdesc = Pacman VCS version checker
+ pkgver = 1.0489599
+ pkgrel = 1
+ url = https://github.com/pzl/pacvcs
+ arch = any
+ license = MIT
+ makedepends = git
+ optdepends = git
+ optdepends = bzr
+ source = git+https://github.com/pzl/pacvcs.git
+ md5sums = SKIP
+ sha256sums = SKIP
+
+pkgname = pacvcs
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..5da8b0472a6
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,28 @@
+# Maintainer: pzl <alsoelp@gmail.com>
+
+pkgname=pacvcs
+pkgver=1.0489599
+pkgrel=1
+pkgdesc="Pacman VCS version checker"
+arch=('any')
+url="https://github.com/pzl/pacvcs"
+license=('MIT')
+depends=()
+optdepends=('git' 'bzr')
+makedepends=('git')
+provides=("${_pkgname}")
+conflicts=("${_pkgname}")
+options=()
+source=('git+https://github.com/pzl/pacvcs.git')
+md5sums=('SKIP')
+sha256sums=('SKIP')
+
+pkgver() {
+ cd "$srcdir/$_pkgname"
+ echo $(git rev-list --count HEAD).$(git rev-parse --short HEAD)
+}
+
+package() {
+ cd "$srcdir/$_pkgname"
+ install -D -m755 "$_pkgname" "${pkgdir}/usr/bin/$_pkgname"
+}