blob: 323c1bf906ea9e7b22997bf6829a2ffac18f6278 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
# Maintainer: Daurnimator <quae@daurnimator.com>
pkgname=pllua
pkgver=2.0.9
pkgrel=1
replaces=('pllua-ng')
pkgdesc='PL/Lua is a procedural language module for the PostgreSQL database that allows server-side functions to be written in Lua'
arch=('x86_64')
url='https://pllua.github.io/pllua/'
license=('MIT')
depends=('lua' 'postgresql')
source=("$pkgname-$pkgver.tar.gz::https://github.com/RhodiumToad/pllua-ng/archive/REL_${pkgver//./_}.tar.gz")
sha256sums=('1fb97de4ba6f4d8811b683d8bcf7b00aae4f87e327a518cd21b8629722f57e72')
build() {
cd "pllua-ng-REL_${pkgver//./_}"
make LUA=lua LUAC=luac LUA_INCDIR=/usr/include LUALIB=-llua
make -C hstore LUA=lua LUAC=luac LUA_INCDIR=/usr/include LUALIB=-llua
}
package() {
cd "pllua-ng-REL_${pkgver//./_}"
make DESTDIR="$pkgdir" install LUA=lua
make -C hstore DESTDIR="$pkgdir" install
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}
|