summaryrefslogtreecommitdiff
path: root/community/luabitop/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/luabitop/PKGBUILD')
-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: