diff options
Diffstat (limited to 'main/lua')
-rw-r--r-- | main/lua/APKBUILD | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/main/lua/APKBUILD b/main/lua/APKBUILD index 90f3009b0..146adf7ff 100644 --- a/main/lua/APKBUILD +++ b/main/lua/APKBUILD @@ -2,7 +2,7 @@ pkgname=lua pkgver=5.1.4_p3 _ver=${pkgver%_p*} -pkgrel=2 +pkgrel=3 pkgdesc="A powerful light-weight programming language designed for extending applications." url="http://www.lua.org/" arch="all" @@ -38,7 +38,7 @@ build () cd src make CFLAGS=" -DLUA_USE_LINUX $CFLAGS" \ - RPATH="/usr/lib" \ + RPATH="/lib" \ LIB_LIBS="-lpthread -lm -ldl" \ V=$pkgver \ gentoo_all || return 1 @@ -46,9 +46,10 @@ build () package() { cd "$_builddir" - make INSTALL_TOP="$pkgdir"/usr INSTALL_LIB="$pkgdir"/usr/lib \ + make INSTALL_TOP="$pkgdir"/usr INSTALL_LIB="$pkgdir"/lib \ + INSTALL_BIN="$pkgdir"/bin \ V=$pkgver gentoo_install || return 1 - rm "$pkgdir"/usr/lib/*.la || return 1 + rm "$pkgdir"/lib/*.la || return 1 install -D -m 644 etc/lua.pc "$pkgdir"/usr/lib/pkgconfig/lua.pc install -D -m 644 doc/lua.1 "$pkgdir"/usr/share/man/man1/lua.1 |