aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCarlo Landmeter <clandmeter@gmail.com>2017-10-18 12:11:30 +0200
committerCarlo Landmeter <clandmeter@gmail.com>2017-10-18 12:11:48 +0200
commit9803fc6eb0a33d3aa0dea1d5c94642b558f38d9b (patch)
treea23851f2c93d7cb778b2640bd7b256889ea3342e
parenta1416cdb96321ad1ecec968c1637bfa1cbb54b36 (diff)
downloadaports-9803fc6eb0a33d3aa0dea1d5c94642b558f38d9b.tar.gz
aports-9803fc6eb0a33d3aa0dea1d5c94642b558f38d9b.tar.bz2
aports-9803fc6eb0a33d3aa0dea1d5c94642b558f38d9b.tar.xz
main/lua-hashids: move init.lua to usr/share
-rw-r--r--main/lua-hashids/APKBUILD5
1 files changed, 4 insertions, 1 deletions
diff --git a/main/lua-hashids/APKBUILD b/main/lua-hashids/APKBUILD
index 57a946502d..f27d459ac5 100644
--- a/main/lua-hashids/APKBUILD
+++ b/main/lua-hashids/APKBUILD
@@ -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"