diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2020-01-10 02:33:18 +0000 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2020-01-10 02:33:18 +0000 |
commit | 8ec380b058bc73a57abb13eadf6ddde5fc19a1cd (patch) | |
tree | febcc83b7b6cfb08d1a7b3d43dc482b82fb165eb /user/lua-filesystem | |
parent | 7533214e45198ddbb7aa71d47e545aef8d82a8e3 (diff) | |
download | packages-8ec380b058bc73a57abb13eadf6ddde5fc19a1cd.tar.gz packages-8ec380b058bc73a57abb13eadf6ddde5fc19a1cd.tar.bz2 packages-8ec380b058bc73a57abb13eadf6ddde5fc19a1cd.tar.xz packages-8ec380b058bc73a57abb13eadf6ddde5fc19a1cd.zip |
user/*: Modernise / fix syntax / metadata / deps
Diffstat (limited to 'user/lua-filesystem')
-rw-r--r-- | user/lua-filesystem/APKBUILD | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/user/lua-filesystem/APKBUILD b/user/lua-filesystem/APKBUILD index f244b935d..11e166311 100644 --- a/user/lua-filesystem/APKBUILD +++ b/user/lua-filesystem/APKBUILD @@ -16,18 +16,15 @@ source="$_pkgname-$pkgver.tar.gz::https://github.com/keplerproject/$_pkgname/arc builddir="$srcdir/$_pkgname-$_pkgver" build() { - cd "$builddir" make CFLAGS="$CFLAGS $(pkg-config lua --cflags) -fPIC" } check() { - cd "$builddir" LUA_CPATH=./src/?.so lua tests/test.lua } package() { - local rockdir="$pkgdir/usr/lib/luarocks/rocks-5.3/$_pkgname/$_rockver" - cd "$builddir" + rockdir="$pkgdir/usr/lib/luarocks/rocks-5.3/$_pkgname/$_rockver" make LUA_LIBDIR="$pkgdir/$(pkg-config --variable=INSTALL_CMOD lua)" install mkdir -p "$rockdir" echo 'rock_manifest = {}' > "$rockdir"/rock_manifest |