Package Details: lua-basexx 0.4.1-1

Git Clone URL: https://aur.archlinux.org/lua-basexx.git (read-only, click to copy)
Package Base: lua-basexx
Description: A Lua library which provides base2(bitfield), base16(hex), base32(crockford/rfc), base64(rfc/url), base85(z85) decoding and encoding for Lua 5.4
Upstream URL: https://github.com/aiq/basexx
Licenses: MIT
Submitter: daurnimator
Maintainer: daurnimator
Last Packager: daurnimator
Votes: 4
Popularity: 0.61
First Submitted: 2017-01-28 15:45
Last Updated: 2020-11-19 12:07

Dependencies (0)

Required by (1)

Sources (1)

Latest Comments

jprjr commented on 2020-11-12 21:55

Hi there, sorry for all this comment spam - just another PKGBUILD for producing a 5.4 package:

# Maintainer: Daurnimator <quae@daurnimator.com>

pkgname=('lua-basexx' 'lua51-basexx' 'lua52-basexx' 'lua53-basexx')
pkgver=0.4.0
pkgrel=2
arch=('any')
url='https://github.com/aiq/basexx'
license=('MIT')
source=("$pkgname-$pkgver.tar.gz::https://github.com/aiq/basexx/archive/v$pkgver.tar.gz")
md5sums=('c931e3abdb788be95c319be4fa0ac79f')

package_lua-basexx() {
    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'

    cd "basexx-$pkgver"
    install -Dm644 lib/basexx.lua "$pkgdir/usr/share/lua/5.4/basexx.lua"
    install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}

package_lua51-basexx() {
    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'

    cd "basexx-$pkgver"
    install -Dm644 lib/basexx.lua "$pkgdir/usr/share/lua/5.1/basexx.lua"
    install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}

package_lua52-basexx() {
    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'

    cd "basexx-$pkgver"
    install -Dm644 lib/basexx.lua "$pkgdir/usr/share/lua/5.2/basexx.lua"
    install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}

package_lua53-basexx() {
    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'

    cd "basexx-$pkgver"
    install -Dm644 lib/basexx.lua "$pkgdir/usr/share/lua/5.3/basexx.lua"
    install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}