updated on Tue Jan 10 04:01:21 UTC 2012
[aur-mirror.git] / luabitop / PKGBUILD
blob0953b3ca5e57e7eb95acb917a92604fc20005477
1 # Contributor: Lucas Hermann Negri <kkndrox@gmail.com>
2 pkgname=luabitop
3 pkgver=1.0.1
4 pkgrel=1
5 pkgdesc="Lua BitOp is a C extension module for Lua 5.1 which adds bitwise operations on numbers."
6 arch=(i686 x86_64)
7 url="http://bitop.luajit.org/index.html"
8 makedepends=('gcc')
9 depends=('lua>=5.1')
10 source=(http://bitop.luajit.org/download/LuaBitOp-$pkgver.tar.gz)
11 md5sums=('39984456940aea838e0f500bececbd73')
12 license=('MIT')
14 build() {
15         cd $startdir/src/LuaBitOp-$pkgver
16         make || return 1
17         mkdir -p $startdir/pkg/usr/lib/lua/5.1
18         cp $startdir/src/LuaBitOp-$pkgver/bit.so $startdir/pkg/usr/lib/lua/5.1