Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Updated PKGBUILD to new standards

  • Loading branch information...
commit c5d8276de2adb01e8097969cebaf2db5ed409a7f 1 parent 4546c5e
@flamusdiu flamusdiu authored
Showing with 25 additions and 0 deletions.
  1. +25 −0 PKGBUILD
View
25 PKGBUILD
@@ -0,0 +1,25 @@
+# Contributor: Andreas B. Wagner <AndreasBWagner@pointfree.net>
+pkgname=jsawk-git
+pkgver=1.3.2.gc031fef
+pkgrel=1
+pkgdesc="like awk, but for JSON"
+arch=('i686' 'x86_64')
+url="http://github.com/micha/jsawk"
+source=('jsawk-git::git+https://github.com/micha/jsawk.git#branch=master')
+md5sums=('SKIP')
+license=('unknown')
+depends=('js')
+makedepends=('git')
+provides=('jsawk')
+conflicts=('jsawk')
+
+pkgver() {
+ cd "${srcdir}/${pkgname}"
+ git describe | sed 's/^v//;s/-/./g'
+}
+
+package() {
+ cd "$SRCDEST"
+ install -dm755 "${pkgdir}"/usr/bin/
+ install -Dm755 jsawk "${pkgdir}"/usr/bin/jsawk
+}
Please sign in to comment.
Something went wrong with that request. Please try again.