summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorDwayne Bent2015-06-13 13:16:21 -0400
committerDwayne Bent2015-06-13 13:22:02 -0400
commitcfdb08d8c500d0d7c4a28fc3598045a1be5568cb (patch)
tree3af4934941e479441347b68587984a8d3a92f31a
downloadaur-cfdb08d8c500d0d7c4a28fc3598045a1be5568cb.tar.gz
v0.4.3-3
-rw-r--r--.SRCINFO17
-rw-r--r--.gitignore6
-rw-r--r--PKGBUILD29
3 files changed, 52 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..df822a4a461
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,17 @@
+pkgbase = lua51-event
+ pkgdesc = libevent binding for Lua
+ pkgver = 0.4.3
+ pkgrel = 3
+ url = https://github.com/harningt/luaevent
+ arch = i686
+ arch = x86_64
+ arch = armv6h
+ license = LGPL2.1
+ makedepends = lua51
+ makedepends = lua51-socket
+ depends = libevent>=1.4
+ source = luaevent-0.4.3.tar.gz::https://github.com/harningt/luaevent/archive/v0.4.3.tar.gz
+ sha512sums = 5f02c9d40e59589a2b932b49d27230ca6650174feeda2cf412769c33af056c9df52d38fdd5fc12f0f6318b788e29a2deef54f11beb4becc48818edd27185f161
+
+pkgname = lua51-event
+
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 00000000000..e92d3755612
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,6 @@
+/pkg/
+/src/
+
+*.tar.gz
+*.tar.xz
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..38f31b5b6ff
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,29 @@
+# Maintainer: Dwayne Bent <dbb@dbb.io>
+# Contributor: Timothée Ravier <tim@siosm.fr>
+
+pkgname=lua51-event
+_pkgbase=luaevent
+pkgver=0.4.3
+pkgrel=3
+pkgdesc="libevent binding for Lua"
+arch=('i686' 'x86_64' 'armv6h')
+url="https://github.com/harningt/luaevent"
+license=('LGPL2.1')
+makedepends=('lua51' 'lua51-socket')
+depends=('libevent>=1.4')
+source=(${_pkgbase}-${pkgver}.tar.gz::https://github.com/harningt/${_pkgbase}/archive/v${pkgver}.tar.gz)
+sha512sums=('5f02c9d40e59589a2b932b49d27230ca6650174feeda2cf412769c33af056c9df52d38fdd5fc12f0f6318b788e29a2deef54f11beb4becc48818edd27185f161')
+
+build() {
+ cd ${_pkgbase}-${pkgver}
+ make LUA_INC_DIR=/usr/include/lua5.1
+}
+
+package() {
+ cd ${_pkgbase}-${pkgver}
+ make INSTALL_DIR_BIN='/usr/lib/lua/5.1' \
+ INSTALL_DIR_LUA='/usr/share/lua/5.1' \
+ DESTDIR="${pkgdir}" \
+ install
+}
+