diff options
author | Tucker Boniface | 2018-08-30 22:47:46 -0700 |
---|---|---|
committer | Tucker Boniface | 2018-08-30 22:47:46 -0700 |
commit | 31ac9454df9d5f51537555ddf4531d845ae1c4bf (patch) | |
tree | 97ca1ef4d6d3a7c121eae229d11ebf1dbfb7550b | |
parent | 78255ecab0c254ea054b9bb0120d191ba656ef9f (diff) | |
download | aur-31ac9454df9d5f51537555ddf4531d845ae1c4bf.tar.gz |
apply patch to fix compilation
https://github.com/stedolan/jq/pull/1702
-rw-r--r-- | .SRCINFO | 8 | ||||
-rw-r--r-- | .gitignore | 3 | ||||
-rw-r--r-- | PKGBUILD | 14 |
3 files changed, 18 insertions, 7 deletions
@@ -1,7 +1,7 @@ pkgbase = jq-git pkgdesc = Command-line JSON processor - pkgver = 1.6rc2 - pkgrel = 1 + pkgver = 1.6rc2.2.g341a5fc + pkgrel = 2 url = http://stedolan.github.io/jq/ arch = i686 arch = x86_64 @@ -17,7 +17,9 @@ pkgbase = jq-git provides = jq conflicts = jq source = git+https://github.com/stedolan/jq.git - md5sums = SKIP + source = 0001-Bugfix-Math-function-checking.patch::https://github.com/stedolan/jq/pull/1702.patch + sha512sums = SKIP + sha512sums = 4f092cfc4a3fb8ba25d322fe5dbdf165e1309cc3cc2789b1f337e1c5bd70e7ba7ae372ffa71a11775d4b6551faa6e172db5bd3bc9cf38eeeb4625c667d659b0c pkgname = jq-git diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000000..4e9c4d01c420 --- /dev/null +++ b/.gitignore @@ -0,0 +1,3 @@ +* +!/PKGBUILD +!/.SRCINFO @@ -4,8 +4,8 @@ pkgname=jq-git _gitname='jq' -pkgver=1.6rc2 -pkgrel=1 +pkgver=1.6rc2.2.g341a5fc +pkgrel=2 pkgdesc='Command-line JSON processor' arch=('i686' 'x86_64') url='http://stedolan.github.io/jq/' @@ -14,14 +14,20 @@ depends=('oniguruma') makedepends=('python2' 'git' 'autoconf' 'automake' 'bison' 'flex' 'glibc') provides=('jq') conflicts=('jq') -source=('git+https://github.com/stedolan/jq.git') -md5sums=(SKIP) +source=('git+https://github.com/stedolan/jq.git' + '0001-Bugfix-Math-function-checking.patch::https://github.com/stedolan/jq/pull/1702.patch') +sha512sums=('SKIP' + '4f092cfc4a3fb8ba25d322fe5dbdf165e1309cc3cc2789b1f337e1c5bd70e7ba7ae372ffa71a11775d4b6551faa6e172db5bd3bc9cf38eeeb4625c667d659b0c') pkgver() { cd "$_gitname" git describe --tag | sed -e 's/^jq-//' -e 's/-/./g' } +prepare() { + cd "$_gitname" + patch -p1 < "$srcdir"/0001-Bugfix-Math-function-checking.patch +} build() { cd "$_gitname" |