summaryrefslogtreecommitdiff
path: root/user
diff options
context:
space:
mode:
authorKiyoshi Aman <kiyoshi.aman+adelie@gmail.com>2019-06-29 17:52:05 -0500
committerKiyoshi Aman <kiyoshi.aman+adelie@gmail.com>2019-06-29 20:12:40 -0500
commit0393d71e83500735c68eba1d31a55cd0b773ba09 (patch)
tree8a61cbb86d94e601f1e994b3f7b20d206bb08631 /user
parentfe2975ed08c6843c42af42dd3afc7e32f6a385f5 (diff)
downloadpackages-0393d71e83500735c68eba1d31a55cd0b773ba09.tar.gz
packages-0393d71e83500735c68eba1d31a55cd0b773ba09.tar.bz2
packages-0393d71e83500735c68eba1d31a55cd0b773ba09.tar.xz
packages-0393d71e83500735c68eba1d31a55cd0b773ba09.zip
user/lua-filesystem: query the right .pc, install the manifest correctly
Diffstat (limited to 'user')
-rw-r--r--user/lua-filesystem/APKBUILD6
1 files changed, 3 insertions, 3 deletions
diff --git a/user/lua-filesystem/APKBUILD b/user/lua-filesystem/APKBUILD
index e809a654f..3cf8fd603 100644
--- a/user/lua-filesystem/APKBUILD
+++ b/user/lua-filesystem/APKBUILD
@@ -5,7 +5,7 @@ _pkgname=luafilesystem
pkgver=1.7.0.2
_pkgver=${pkgver//./_}
_rockver=${pkgver%.*}-${pkgver##*.}
-pkgrel=0
+pkgrel=1
pkgdesc="Filesystem functions for Lua"
url="http://keplerproject.github.io/luafilesystem/"
arch="all"
@@ -26,9 +26,9 @@ check() {
}
package() {
- local rockdir="$pkgdir"/usr/lib/luarocks/rocks-5.3/$_rockname/$_rockver
+ local rockdir="$pkgdir"/usr/lib/luarocks/rocks-5.3/$_pkgname/$_rockver
cd "$builddir"
- make LUA_LIBDIR="$pkgdir"/$(pkg-config --variable=INSTALL_CMOD lua5.3) install
+ make LUA_LIBDIR="$pkgdir"/$(pkg-config --variable=INSTALL_CMOD lua) install
mkdir -p "$rockdir"
echo 'rock_manifest = {}' > "$rockdir"/rock_manifest
}