1 # Maintainer: Daurnimator <daurnimator@archlinux.org>
3 pkgname=('lua-basexx' 'lua51-basexx' 'lua52-basexx' 'lua53-basexx')
7 url='https://github.com/aiq/basexx'
9 source=("$pkgname-$pkgver.tar.gz::https://github.com/aiq/basexx/archive/v$pkgver.tar.gz")
10 sha256sums=('ff62b00446df1181a9cd20ba970c3c8493165d262142e10d069ee3de6337dfe6')
12 package_lua-basexx() {
13 pkgdesc='A Lua library which provides base2(bitfield), base16(hex), base32(crockford/rfc), base64(rfc/url), base85(z85) decoding and encoding for Lua 5.4'
16 install -Dm644 lib/basexx.lua "$pkgdir/usr/share/lua/5.4/basexx.lua"
17 install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
20 package_lua51-basexx() {
21 pkgdesc='A Lua library which provides base2(bitfield), base16(hex), base32(crockford/rfc), base64(rfc/url), base85(z85) decoding and encoding for Lua 5.1'
24 install -Dm644 lib/basexx.lua "$pkgdir/usr/share/lua/5.1/basexx.lua"
25 install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
28 package_lua52-basexx() {
29 pkgdesc='A Lua library which provides base2(bitfield), base16(hex), base32(crockford/rfc), base64(rfc/url), base85(z85) decoding and encoding for Lua 5.2'
32 install -Dm644 lib/basexx.lua "$pkgdir/usr/share/lua/5.2/basexx.lua"
33 install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
36 package_lua53-basexx() {
37 pkgdesc='A Lua library which provides base2(bitfield), base16(hex), base32(crockford/rfc), base64(rfc/url), base85(z85) decoding and encoding for Lua 5.3'
40 install -Dm644 lib/basexx.lua "$pkgdir/usr/share/lua/5.3/basexx.lua"
41 install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"