summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 2b2c2ab44b46c09cb6696a7a579ebb9925f17c38 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Maintainer: Caleb Maclennan <caleb@alerque.com>

pkgname=lua-utf8
pkgver=0.1.1
_rockname=luautf8
_rockrel=1
pkgrel=3
pkgdesc='Add UTF-8 support to Lua, compatible with Lua string module.'
arch=('x86_64')
url='https://github.com/starwing/luautf8'
license=('MIT')
depends=('lua')
makedepends=('luarocks')
source=("https://luarocks.org/${_rockname}-${pkgver}-${_rockrel}.src.rock")
noextract=("${_rockname}-${pkgver}-${_rockrel}.src.rock")
sha256sums=('51aa211a9d39d62c65bfcca4eccb8482a11bfe918992eed58104b646338d62a0')

package() {
    luarocks --tree="$pkgdir/usr" install --deps-mode=none "${_rockname}-${pkgver}-${_rockrel}.src.rock"
    find "$pkgdir/usr" -name manifest -delete
}