summaryrefslogtreecommitdiff
path: root/community/luabitop
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-07-17 00:58:52 -0700
committerroot <root@rshg054.dnsready.net>2013-07-17 00:58:52 -0700
commitdee9f17b595ea903a982d31d1124b302bb17e2ff (patch)
tree295fdab78e28e1952fbc13ce824d57c88ede4e3b /community/luabitop
parent380530d02a5449fdef97b63b394a6743c3de0092 (diff)
Wed Jul 17 00:58:51 PDT 2013
Diffstat (limited to 'community/luabitop')
-rw-r--r--community/luabitop/PKGBUILD45
1 files changed, 0 insertions, 45 deletions
diff --git a/community/luabitop/PKGBUILD b/community/luabitop/PKGBUILD
deleted file mode 100644
index 7dacdad3e..000000000
--- a/community/luabitop/PKGBUILD
+++ /dev/null
@@ -1,45 +0,0 @@
-# $Id: PKGBUILD 81388 2012-12-19 13:22:34Z seblu $
-# Maintainer: Sébastien Luttringer <seblu@aur.archlinux.org>
-# Contributor: Lucas Hermann Negri <kkndrox@gmail.com>
-
-pkgbase=luabitop
-pkgname=(lua-bitop lua51-bitop)
-pkgver=1.0.2
-pkgrel=2
-pkgdesc='C extension adding bitwise operations on numbers'
-arch=(i686 x86_64)
-url='http://bitop.luajit.org/index.html'
-makedepends=('lua' 'lua51')
-source=("http://bitop.luajit.org/download/LuaBitOp-$pkgver.tar.gz")
-md5sums=('d0c1080fe0c844e8477279668e2d0d06')
-license=('MIT')
-
-build() {
- cp -a LuaBitOp-$pkgver LuaBitOp51-$pkgver
- msg2 'Building with lua 5.2'
- cd LuaBitOp-$pkgver
- make INCLUDES=' -I/usr/include' LUA='lua'
- msg2 'Building with lua 5.1'
- cd ../LuaBitOp51-$pkgver
- make INCLUDES=' -I/usr/include/lua5.1' LUA='lua5.1'
-}
-
-package_lua-bitop() {
- depends=('lua')
- cd LuaBitOp-$pkgver
- install -Dm 644 bit.so "$pkgdir/usr/lib/lua/5.2/bit.so"
- install -dm 755 "$pkgdir/usr/share/licenses/$pkgname"
- ln -s '../lua/COPYRIGHT' "$pkgdir/usr/share/licenses/$pkgname/COPYRIGHT"
-}
-
-package_lua51-bitop() {
- depends=('lua51')
- conflicts=('luabitop')
- replaces=('luabitop')
- cd LuaBitOp51-$pkgver
- install -Dm 644 bit.so "$pkgdir/usr/lib/lua/5.1/bit.so"
- install -dm 755 "$pkgdir/usr/share/licenses/$pkgname"
- ln -s '../lua51/COPYRIGHT' "$pkgdir/usr/share/licenses/$pkgname/COPYRIGHT"
-}
-
-# vim:set ts=2 sw=2 et: