diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2014-11-17 07:39:20 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2014-11-17 07:39:20 +0000 |
commit | 8b33f2511bb3bc5cc4d51e5182180ef58600dad2 (patch) | |
tree | cb911bf85e47d59a4c74bf3814264ef5ebe9ee81 /main/jq | |
parent | add9c65d341ed571ea5decb03e1fb28832152528 (diff) | |
download | aports-8b33f2511bb3bc5cc4d51e5182180ef58600dad2.tar.bz2 aports-8b33f2511bb3bc5cc4d51e5182180ef58600dad2.tar.xz |
main/jq: moved from testing
Diffstat (limited to 'main/jq')
-rw-r--r-- | main/jq/APKBUILD | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/main/jq/APKBUILD b/main/jq/APKBUILD new file mode 100644 index 0000000000..ec1206009b --- /dev/null +++ b/main/jq/APKBUILD @@ -0,0 +1,33 @@ +# Contributor: Johannes Matheis <jomat+alpinebuild@jmt.gr> +# Maintainer: Johannes Matheis <jomat+alpinebuild@jmt.gr> +pkgname=jq +pkgver=1.4 +pkgrel=0 +pkgdesc="A lightweight and flexible command-line JSON processor" +url="http://stedolan.github.io/jq/" +arch="all" +license="MIT" +depends="" +depends_dev="" +makedepends="$depends_dev" +install="" +subpackages="$pkgname-doc $pkgname-dev" +source="http://stedolan.github.io/jq/download/source/${pkgname}-${pkgver}.tar.gz" + +_builddir="${srcdir}/${pkgname}-${pkgver}" + +build() { + cd "$_builddir" + ./configure --prefix=/usr --disable-docs + make +} + +package() { + cd "$_builddir" + make DESTDIR="$pkgdir" prefix=/usr install + rm -f "$pkgdir"/usr/lib/*.la +} + +md5sums="e3c75a4f805bb5342c9f4b3603fb248f jq-1.4.tar.gz" +sha256sums="998c41babeb57b4304e65b4eb73094279b3ab1e63801b6b4bddd487ce009b39d jq-1.4.tar.gz" +sha512sums="02e601b713a3249bcfe5373153dff38a63bf504895181ca3f691dbf033b407373a9c5880001bbd1954123cdf89f4fe75e2a5168e7a7cf13b3f7355dc18f92458 jq-1.4.tar.gz" |