initial import
This commit is contained in:
28
jq/PKGBUILD
Normal file
28
jq/PKGBUILD
Normal file
@@ -0,0 +1,28 @@
|
||||
# Maintainer: Jesus E. <heckyel@riseup.net>
|
||||
|
||||
pkgname=jq
|
||||
pkgver=1.6
|
||||
pkgrel=2
|
||||
pkgdesc="Command-line JSON processor"
|
||||
arch=('i686' 'x86_64')
|
||||
url='https://stedolan.github.io/jq/'
|
||||
license=('Expat')
|
||||
depends=('glibc' 'oniguruma')
|
||||
makedepends=('autoconf' 'automake' 'bison' 'flex' 'python')
|
||||
source=("https://github.com/stedolan/jq/releases/download/${pkgname}-${pkgver}/${pkgname}-${pkgver}.tar.gz")
|
||||
sha512sums=('5da71f53c325257f1f546a2520fe47828b495c953270df25ea0e37741463fdda72f0ba4d5b05b25114ec30f27a559344c2b024bacabf610759f4e3e9efadb480')
|
||||
|
||||
build() {
|
||||
cd $pkgname-$pkgver
|
||||
|
||||
./configure \
|
||||
--prefix=/usr
|
||||
make
|
||||
}
|
||||
|
||||
package() {
|
||||
cd $pkgname-$pkgver
|
||||
|
||||
make DESTDIR="${pkgdir}" prefix=/usr install
|
||||
install -Dm644 COPYING -t "${pkgdir}/usr/share/licenses/${pkgname}"
|
||||
}
|
||||
Reference in New Issue
Block a user