summaryrefslogtreecommitdiff
path: root/community/luabitop
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-07-16 00:01:23 +0000
committerroot <root@rshg054.dnsready.net>2012-07-16 00:01:23 +0000
commit50a1eb604b2d5503a06d56b76347faa581160245 (patch)
tree0d29be50534518ab002e0e6da90300006b3aca58 /community/luabitop
parent1ed995034acd07688fe8e78b1d40901bcc662155 (diff)
Mon Jul 16 00:01:23 UTC 2012
Diffstat (limited to 'community/luabitop')
-rw-r--r--community/luabitop/PKGBUILD26
1 files changed, 26 insertions, 0 deletions
diff --git a/community/luabitop/PKGBUILD b/community/luabitop/PKGBUILD
new file mode 100644
index 000000000..9e8a83683
--- /dev/null
+++ b/community/luabitop/PKGBUILD
@@ -0,0 +1,26 @@
+# $Id: PKGBUILD 73728 2012-07-14 17:39:06Z seblu $
+# Maintainer: Sébastien Luttringer <seblu@aur.archlinux.org>
+# Contributor: Lucas Hermann Negri <kkndrox@gmail.com>
+
+pkgname=luabitop
+pkgver=1.0.2
+pkgrel=1
+pkgdesc='C extension adding bitwise operations on numbers'
+arch=(i686 x86_64)
+url='http://bitop.luajit.org/index.html'
+depends=('lua')
+source=("http://bitop.luajit.org/download/LuaBitOp-$pkgver.tar.gz")
+md5sums=('d0c1080fe0c844e8477279668e2d0d06')
+license=('MIT')
+
+build() {
+ cd LuaBitOp-$pkgver
+ make
+}
+
+package() {
+ cd LuaBitOp-$pkgver
+ install -Dm 644 bit.so "$pkgdir/usr/lib/lua/5.1/bit.so"
+}
+
+# vim:set ts=2 sw=2 et: