summaryrefslogtreecommitdiff
path: root/community/luabitop/PKGBUILD
blob: 755ec5ea81bf00642e05c3e75a4a40333ac63bc3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
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 mips64el)
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: