archrelease: copy trunk to community-any
[ArchLinux/community.git] / lua-basexx / trunk / PKGBUILD
bloba8777ecb906c2c04b40f25653efaf46af8bf5494
1 # Maintainer: Daurnimator <daurnimator@archlinux.org>
3 pkgname=('lua-basexx' 'lua51-basexx' 'lua52-basexx' 'lua53-basexx')
4 pkgver=0.4.1
5 pkgrel=2
6 arch=('any')
7 url='https://github.com/aiq/basexx'
8 license=('MIT')
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'
15         cd "basexx-$pkgver"
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'
23         cd "basexx-$pkgver"
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'
31         cd "basexx-$pkgver"
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'
39         cd "basexx-$pkgver"
40         install -Dm644 lib/basexx.lua "$pkgdir/usr/share/lua/5.3/basexx.lua"
41         install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"