summaryrefslogtreecommitdiff
path: root/community/luabitop/PKGBUILD
blob: 9e8a83683bf51452fc0103895f09f02c3e0bd768 (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)
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: