summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorJohn Regan2021-01-15 16:58:44 -0500
committerJohn Regan2021-01-15 16:58:44 -0500
commit5d050a96aea9d467b8480c6ead28e8bca9397d21 (patch)
treeb93ed8ff1b6e163c59d2dfb87fd0bfc0b049b177 /PKGBUILD
parent00a24dc69e89ca6404a66d90e4eb25bf51cb7fa0 (diff)
downloadaur-lua-pgmoon.tar.gz
update
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD35
1 files changed, 14 insertions, 21 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 246b9afc915..90f88a348c3 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,24 +2,17 @@
pkgname=('lua-pgmoon' 'lua51-pgmoon' 'lua52-pgmoon' 'lua53-pgmoon')
_pkgbase='pgmoon'
-pkgver=1.11.0
-pkgrel=2
+pkgver=1.12.0
+pkgrel=1
arch=('any')
url='https://github.com/leafo/pgmoon'
license=('MIT')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/leafo/pgmoon/archive/v$pkgver.tar.gz"
-"${_pkgbase}-lua53-compat.patch")
-md5sums=('fbfa084ff9947b1d2552357dde2e25c8'
-'b25c48ed67c2b70011333eaa1f8292c3')
-
-prepare() {
- cd "${_pkgbase}-$pkgver"
- patch --forward --strip=1 --input="${srcdir}/${_pkgbase}-lua53-compat.patch"
-}
+source=("$pkgname-$pkgver.tar.gz::https://github.com/leafo/pgmoon/archive/v$pkgver.tar.gz")
+md5sums=('324b85cea48fd7650cd67ec354b8a783')
package_lua-pgmoon() {
pkgdesc='PostgreSQL driver written in pure Lua for Lua 5.4'
- depends=('lua-lpeg')
+ depends=('lua' 'lua-lpeg')
optdepends=('lua-cqueues: asynchronous connectivity'
'lua-socket: synchronous connectivity')
@@ -31,9 +24,9 @@ package_lua-pgmoon() {
package_lua51-pgmoon() {
pkgdesc='PostgreSQL driver written in pure Lua for Lua 5.1'
- depends=('lua-lpeg' 'lua51-bitop')
- optdepends=('lua-cqueues: asynchronous connectivity'
- 'lua-socket: synchronous connectivity')
+ depends=('lua51' 'lua51-lpeg' 'lua51-bitop')
+ optdepends=('lua51-cqueues: asynchronous connectivity'
+ 'lua51-socket: synchronous connectivity')
cd "pgmoon-$pkgver"
install -Dm644 pgmoon.lua "$pkgdir/usr/share/lua/5.1/pgmoon.lua"
@@ -43,9 +36,9 @@ package_lua51-pgmoon() {
package_lua52-pgmoon() {
pkgdesc='PostgreSQL driver written in pure Lua for Lua 5.2'
- depends=('lua-lpeg' 'lua52-bitop')
- optdepends=('lua-cqueues: asynchronous connectivity'
- 'lua-socket: synchronous connectivity')
+ depends=('lua52' 'lua52-lpeg' 'lua52-bitop')
+ optdepends=('lua52-cqueues: asynchronous connectivity'
+ 'lua52-socket: synchronous connectivity')
cd "pgmoon-$pkgver"
install -Dm644 pgmoon.lua "$pkgdir/usr/share/lua/5.2/pgmoon.lua"
@@ -55,9 +48,9 @@ package_lua52-pgmoon() {
package_lua53-pgmoon() {
pkgdesc='PostgreSQL driver written in pure Lua for Lua 5.3'
- depends=('lua-lpeg')
- optdepends=('lua-cqueues: asynchronous connectivity'
- 'lua-socket: synchronous connectivity')
+ depends=('lua53' 'lua53-lpeg')
+ optdepends=('lua53-cqueues: asynchronous connectivity'
+ 'lua53-socket: synchronous connectivity')
cd "pgmoon-$pkgver"
install -Dm644 pgmoon.lua "$pkgdir/usr/share/lua/5.3/pgmoon.lua"