diff options
Diffstat (limited to 'community/postgresql-pllua/APKBUILD')
-rw-r--r-- | community/postgresql-pllua/APKBUILD | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/community/postgresql-pllua/APKBUILD b/community/postgresql-pllua/APKBUILD index 508afadf13b..bcb3d9bdbeb 100644 --- a/community/postgresql-pllua/APKBUILD +++ b/community/postgresql-pllua/APKBUILD @@ -2,17 +2,16 @@ # Contributor: Jakub Jirutka <jakub@jirutka.cz> # Maintainer: Michael Mason <ms13sp@gmail.com> pkgname=postgresql-pllua -pkgver=2.0.10 +pkgver=2.0.12 _pkgver="REL_${pkgver//./_}" -pkgrel=0 +pkgrel=1 pkgdesc="Procedural language for PostgreSQL using Lua" url="https://github.com/RhodiumToad/pllua-ng" -# riscv64: limited by luajit +# ppc64le, riscv64: limited by luajit # s390x: fails to build -arch="all !riscv64 !s390x" +arch="all !ppc64le !riscv64 !s390x" license="MIT" -depends="postgresql" -makedepends="postgresql-dev luajit-dev" +makedepends="postgresql-dev postgresql luajit-dev" options="!check" # tests require running PostgreSQL provides="pllua=$pkgver-r$pkgrel" # for backward compatibility replaces="pllua" # for backward compatibility @@ -29,18 +28,20 @@ build() { } package() { + depends="postgresql$(pg_config --major-version)" + _make DESTDIR="$pkgdir" install } _make() { make \ LUAJIT=luajit \ - LUA_INCDIR=$(pkgconf --variable=includedir luajit) \ - LUALIB=$(pkgconf --libs luajit) \ + LUA_INCDIR="$(pkgconf --variable=includedir luajit)" \ + LUALIB="$(pkgconf --libs luajit)" \ USE_PGXS=1 \ "$@" } sha512sums=" -35f0d53e364d61b5d28af4e722aad454c323b549e86c3c05e8c5e7858f0903b22416151cb1292649303cc11ae16519c7a306a86a3cab2041c59f424803536899 pllua-ng-REL_2_0_10.tar.gz +c27892e12cabc406e320537827c46b8ed5eb7d6ba8bffffca56300664edd68da2bddf6d9abe1c272732a5fc0d468dc9b0b030c52acc4fb14539a36483064ae20 pllua-ng-REL_2_0_12.tar.gz " |