diff options
author | Caleb Maclennan | 2016-04-23 14:28:17 +0300 |
---|---|---|
committer | Caleb Maclennan | 2016-04-23 14:28:17 +0300 |
commit | f6b2de6fc96f19e4e4ae04db26bb0f3794c9b78d (patch) | |
tree | e370d1272250fb9617a64e2437b4c2f1e9531814 /PKGBUILD | |
download | aur-f6b2de6fc96f19e4e4ae04db26bb0f3794c9b78d.tar.gz |
Intial add of package wrapper that fetches lua rock
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..314566494298 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,21 @@ +# Maintainer: Caleb Maclennan <caleb@alerque.com> + +pkgname=lua-utf8 +pkgver=0.1.1 +_rockname=luautf8 +_rockrel=1 +pkgrel=1 +pkgdesc="Add UTF-8 support to Lua, compatible with Lua string module." +arch=('i686' 'x86_64') +url="http://github.com/starwing/luautf8" +license=('MIT') +depends=('lua') +makedepends=('luarocks') +conflicts=() +source=("https://luarocks.org/${_rockname}-${pkgver}-${_rockrel}.src.rock") +sha256sums=('51aa211a9d39d62c65bfcca4eccb8482a11bfe918992eed58104b646338d62a0') + +package() { + luarocks --tree="$pkgdir/usr" install "${_rockname}-${pkgver}-${_rockrel}.src.rock" +} + |