1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-14 11:49:53 +03:00
aports/community/postgresql-url_encode/APKBUILD

28 lines
829 B
Text

# Contributor: Jakub Jirutka <jakub@jirutka.cz>
# Maintainer: Jakub Jirutka <jakub@jirutka.cz>
pkgname=postgresql-url_encode
_pkgname=url_encode
pkgver=1.2.5
pkgrel=1
pkgdesc="url_encode, url_decode functions for PostgreSQL"
url="https://github.com/okbob/url_encode"
arch="all"
license="PostgreSQL"
makedepends="postgresql-dev"
source="https://github.com/okbob/url_encode/archive/v$pkgver/$pkgname-$pkgver.tar.gz"
builddir="$srcdir/$_pkgname-$pkgver"
options="!check" # XXX: tests require running PostgreSQL
build() {
make USE_PGXS=1
}
package() {
depends="postgresql$(pg_config --major-version)"
make install USE_PGXS=1 DESTDIR="$pkgdir"
}
sha512sums="
6bcd9a6d5ae332cc4d2d21276f4cd56536651f9fedca812e9eede257f750560dc4b7961fcded6c3c962bf0d813113aba86362bb0f8bb3ca0974c09f91d999a0c postgresql-url_encode-1.2.5.tar.gz
"