Last active
December 23, 2015 10:19
-
-
Save JaHIY/6620252 to your computer and use it in GitHub Desktop.
PKGBUILD for jq
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Submitter: Alex Chamberlain <[email protected]> | |
# Maintainer: Kars Wang <[email protected]> | |
pkgname=jq | |
pkgver=1.3 | |
pkgrel=1 | |
pkgdesc='Command-line JSON processor' | |
arch=('i686' 'x86_64') | |
url='http://stedolan.github.com/jq/' | |
license=('custom') | |
groups=() | |
depends=() | |
makedepends=('python2' 'autoconf' 'automake' 'bison' 'flex') | |
checkdepends=() | |
optdepends=() | |
provides=() | |
conflicts=() | |
source=("http://stedolan.github.io/jq/download/source/${pkgname}-${pkgver}.tar.gz") | |
noextract=() | |
md5sums=('26081b05d22525eca5cbdd8f9f4db17d') | |
build() { | |
cd "${srcdir}/${pkgname}-${pkgver}" | |
./configure --prefix=/usr | |
make | |
} | |
package() { | |
cd "${srcdir}/${pkgname}-${pkgver}" | |
make DESTDIR="$pkgdir" prefix=/usr install | |
install -Dm644 COPYING "${pkgdir}/usr/share/licenses/jq" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment