diff options
Diffstat (limited to 'user/lua-filesystem/APKBUILD')
-rw-r--r-- | user/lua-filesystem/APKBUILD | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/user/lua-filesystem/APKBUILD b/user/lua-filesystem/APKBUILD index e0deea91a..11e166311 100644 --- a/user/lua-filesystem/APKBUILD +++ b/user/lua-filesystem/APKBUILD @@ -1,5 +1,5 @@ # Contributor: Natanael Copa <ncopa@alpinelinux.org> -# Maintainer: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com> +# Maintainer: Kiyoshi Aman <adelie@aerdan.vulpine.house> pkgname=lua-filesystem _pkgname=luafilesystem pkgver=1.7.0.2 @@ -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 |