Jakub Jirutka 2ae7fcc113 testing/libpg_query: update patches based on my pull request
No changes in the output, so bumping pkgrel is not needed.
2021-04-07 21:59:34 +02:00

48 lines
1.8 KiB
Plaintext

# Contributor: Jakub Jirutka <jakub@jirutka.cz>
# Maintainer: Jakub Jirutka <jakub@jirutka.cz>
pkgname=libpg_query
# Keep in mind the aport ruby-pg_query when bumping.
pkgver=13.2.0.4
_pkgver=${pkgver/./-}
pkgrel=0
pkgdesc="C library for accessing the PostgreSQL parser outside of the server"
url="https://github.com/pganalyze/libpg_query"
arch="all"
license="BSD-3-Clause"
makedepends="protobuf-c-dev xxhash-dev"
subpackages="$pkgname-dbg $pkgname-dev"
source="https://github.com/pganalyze/libpg_query/archive/$_pkgver/$pkgname-$_pkgver.tar.gz
build-shared-lib.patch
make-install.patch
dont-override-opt-level.patch
verbose-build.patch
unbundle-vendor-deps.patch
"
builddir="$srcdir/$pkgname-$_pkgver"
prepare() {
default_prepare
# Remove vendored libraries.
rm -Rf vendor
}
build() {
make build
}
check() {
make test
}
package() {
make install DESTDIR="$pkgdir" prefix=/usr
}
sha512sums="5d87e63afa14dd0b7c24e5d9aaf734832a03c63fb9d7ac6c7a62b973666596196a6ae56ca44a13df353ce32fef38a6488444ce7c3e6e8ef43013c1fb8334195e libpg_query-13-2.0.4.tar.gz
e7b8b2c1850121278d4eb75f4c43e8cec549291d683559ea7ac3b8c8ae972b0551e508123bebef555e10880acf97f0dcc8633afb32d8dbb0373f95b78a889ffc build-shared-lib.patch
08cefd349f259447666fc056298ae630a42ce02a04002f73cc97f53990c98597527461a75c54054ed303a89ed38a18430139d273ccaa8632895ebda98b7245d9 make-install.patch
96f63868507eb0612b98bb5ddc36f9ae30b35b805624576c5043fbc2276744f6a63a14d3d7349488b02516e729f8f98a7c7b40855a7555f350defad2191e482b dont-override-opt-level.patch
f85cd8b29a65b3cc4670e5c769d8c4bc6b0b321a86ee4b41c3a24f634f7778ab4b001e676abed616cc02ba4be7b8d9a0e58e32c698f8c1db80ba0484d290310d verbose-build.patch
d74fbd15e54250cd9a70a291d6d7ee5d5630ac9efcdb342efbd4938b47aa8941a87f310bfe3084ebba5ef2d359a8f81df589fe0025ad60b9c7feb26fb5a85097 unbundle-vendor-deps.patch"