summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorDwayne Bent2018-02-05 12:07:36 -0500
committerDwayne Bent2018-02-05 12:07:36 -0500
commit9e0d9d3b6b35fde0e1d8932f99550a71369a72bb (patch)
tree6563e0dff8930b7b287d171492ab5b5f9f410bcc
parent6b5b50c8ac81def91ee87a2871c0d7350cc5e397 (diff)
downloadaur-9e0d9d3b6b35fde0e1d8932f99550a71369a72bb.tar.gz
v0.4.4-2
-rw-r--r--.SRCINFO12
-rw-r--r--PKGBUILD25
2 files changed, 18 insertions, 19 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 6a7b13eb561..1ef39f8d186 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,4 @@
-# Generated by mksrcinfo v8
-# Fri Feb 2 21:59:22 UTC 2018
-pkgbase = lua51-event
+pkgbase = lua-event
pkgdesc = libevent binding for Lua
pkgver = 0.4.4
pkgrel = 2
@@ -17,6 +15,10 @@ pkgbase = lua51-event
source = luaevent-0.4.4.tar.gz::https://github.com/harningt/luaevent/archive/v0.4.4.tar.gz
sha256sums = 242c95b9cacd87201aa35ba618eb1cd0b0e2a7d1a8fc6734c0bc06dd742e2455
+pkgname = lua-event
+ depends = libevent
+ depends = lua-socket
+
pkgname = lua51-event
depends = libevent
depends = lua51-socket
@@ -25,7 +27,3 @@ pkgname = lua52-event
depends = libevent
depends = lua52-socket
-pkgname = lua-event
- depends = libevent
- depends = lua-socket
-
diff --git a/PKGBUILD b/PKGBUILD
index 130379a0a3a..379004441e9 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
# Contributor: Timothée Ravier <tim@siosm.fr>
# Contributor: Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
-pkgname=(lua51-event lua52-event lua-event)
+pkgname=(lua-event lua51-event lua52-event)
_pkgbase=luaevent
pkgver=0.4.4
pkgrel=2
@@ -17,6 +17,18 @@ sha256sums=('242c95b9cacd87201aa35ba618eb1cd0b0e2a7d1a8fc6734c0bc06dd742e2455')
# There is no build directory because the Makefile doesn’t allow for separating
# both steps, see https://github.com/harningt/luaevent/issues/11
+package_lua-event() {
+ depends=('libevent' 'lua-socket')
+
+ cd $_pkgbase-$pkgver
+ make LUA_INC_DIR=/usr/include \
+ INSTALL_DIR_BIN='/usr/lib/lua/5.3' \
+ INSTALL_DIR_LUA='/usr/share/lua/5.3' \
+ DESTDIR="$pkgdir" \
+ install
+ install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
+
package_lua51-event() {
depends=('libevent' 'lua51-socket')
@@ -41,14 +53,3 @@ package_lua52-event() {
install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
}
-package_lua-event() {
- depends=('libevent' 'lua-socket')
-
- cd $_pkgbase-$pkgver
- make LUA_INC_DIR=/usr/include \
- INSTALL_DIR_BIN='/usr/lib/lua/5.3' \
- INSTALL_DIR_LUA='/usr/share/lua/5.3' \
- DESTDIR="$pkgdir" \
- install
- install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}