aboutsummaryrefslogtreecommitdiffstats
path: root/main/pllua/APKBUILD
blob: 68d031fd155e72edfd3c7463b21025babdb40466 (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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
# Contributor: Michael Mason <ms13sp@gmail.com>
# Maintainer: Michael Mason <ms13sp@gmail.com>
pkgname=pllua
pkgver=1.0
pkgrel=1
pkgdesc="Procedural language for PostgreSQL using Lua"
url="http://pllua.projects.pgfoundry.org/"
arch="all"
license="GPL"
depends="postgresql"
makedepends="postgresql-dev lua-dev"
install=
subpackages=""
source="http://pgfoundry.org/frs/download.php/3481/pllua-$pkgver.tar.gz
	9.3-headers.patch
	9.3-int2.patch
	9.3-notice-create-index.patch
	"

_builddir="$srcdir"/pllua-$pkgver
prepare() {
	cd "$_builddir"
	for i in $source; do
		case $i in
		*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
		esac
	done
}

build() {
	cd "$_builddir"
	make || return 1
}

package() {
	cd "$_builddir"
	make DESTDIR="$pkgdir" install
}

md5sums="371aaf62fab5f5c954dd4270ec0dfa13  pllua-1.0.tar.gz
175600e15def447ad421254e96bcf2e7  9.3-headers.patch
33c1c28c9e2be890be0a85233ea6143f  9.3-int2.patch
9fea64072610ebdef462cacd5763b9b6  9.3-notice-create-index.patch"
sha256sums="a2a4f8172563485255d729f3e053a47b408b118105b0e77bcd5eef8b951ef429  pllua-1.0.tar.gz
96189a72437ed604c068f4b508563af8e702c086838af5327b4b1c65606a1f73  9.3-headers.patch
9276bcb75bf3978e46eca159dbbbf83ac6db2f502ecbf34863497f5059027e8f  9.3-int2.patch
cd4ff054b629ad65fbedd3b333544722d07769fba56498d094671f5b1fe17cc9  9.3-notice-create-index.patch"
sha512sums="99f007a39d5b7ac7f0c8bcdda1cb053b8a26b1d3f87006d8db61f73afeac29e0a9b054d398170a529cfc090e7083bb84098815fb67f2f6964b16297a47f5441b  pllua-1.0.tar.gz
de17345d216475d8524aa3ac58d4e66830326d8954529d6eb5c923d3038032af8975bfb66e34598e87bf6c27d49d341aed4b955e6a4f5054fc9699a9e7941308  9.3-headers.patch
2066122be748ca0f99f6d8b62343412ead65329134f14040249dcc1389d01fa63e4bfbfff082a5ee1efff9e50d56a10b55629b961aa0b0e54a5ea6df0ccdc6e7  9.3-int2.patch
fbeb59dbcb7667dc9b2ca7b513625db32bc51d5a40f5fc4ab081a633982a6433716c65dc2845c7647556c0eee660f32bfb3656c32dfd783e23cfcc97337f8eda  9.3-notice-create-index.patch"