Commit 9803fc6e authored by Carlo Landmeter's avatar Carlo Landmeter

main/lua-hashids: move init.lua to usr/share

parent a1416cdb
......@@ -2,7 +2,7 @@
# Maintainer: Carlo Landmeter <clandmeter@gmail.com>
pkgname=lua-hashids
pkgver=1.0.6
pkgrel=0
pkgrel=1
pkgdesc="A Lua implementation of hashids"
url="https://github.com/leihog/hashids.lua"
arch="all"
......@@ -50,6 +50,9 @@ _subpackage() {
cd "$builddir-$lver"
make INSTALLDIR="$subpkgdir"/usr/lib/lua/$lver/hashids install
mkdir -p "$subpkgdir"/usr/share/lua/$lver/hashids
mv "$subpkgdir"/usr/lib/lua/$lver/hashids/init.lua \
"$subpkgdir"/usr/share/lua/$lver/hashids/
}
sha512sums="33ae6d8e465a35bb04a791da645d6003a25d6917a67aaa4abbb5d80470d6ad6b37ff4ed5b82bc4893be2f0dfb213730c13ae1d14486c5476d0b892b64345f2d7 hashids.lua-1.0.6.tar.gz"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment