aboutsummaryrefslogtreecommitdiffstats
path: root/main/pllua
diff options
context:
space:
mode:
Diffstat (limited to 'main/pllua')
-rw-r--r--main/pllua/APKBUILD28
1 files changed, 5 insertions, 23 deletions
diff --git a/main/pllua/APKBUILD b/main/pllua/APKBUILD
index 68d031fd15..8722ce172f 100644
--- a/main/pllua/APKBUILD
+++ b/main/pllua/APKBUILD
@@ -9,42 +9,24 @@ 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
+source="http://pgfoundry.org/frs/download.php/3481/$pkgname-$pkgver.tar.gz
9.3-headers.patch
9.3-int2.patch
9.3-notice-create-index.patch
"
+builddir="$srcdir/$pkgname-$pkgver"
-_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
+ cd "$builddir"
+ make
}
package() {
- cd "$_builddir"
+ 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