Skip to content

Commit

Permalink
Updated PKGBUILD to new standards
Browse files Browse the repository at this point in the history
  • Loading branch information
flamusdiu committed Oct 30, 2013
1 parent 4546c5e commit c5d8276
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions 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
}

0 comments on commit c5d8276

Please sign in to comment.