At 17:00 UTC (19:00 CEST, 13:00 EDT), this Gitlab instance will be upgraded and will be unavailable for a short while.

Commit e83f1bee authored by Ariadne Conill's avatar Ariadne Conill 🐰
Browse files

Revert "main/lua: install to /lib and /bin instead of /usr/bin and /usr/lib"

This reverts commit 9cb751a3.
parent 9cb751a3
......@@ -2,7 +2,7 @@
pkgname=lua
pkgver=5.1.4_p3
_ver=${pkgver%_p*}
pkgrel=3
pkgrel=2
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="/lib" \
RPATH="/usr/lib" \
LIB_LIBS="-lpthread -lm -ldl" \
V=$pkgver \
gentoo_all || return 1
......@@ -46,10 +46,9 @@ build ()
package() {
cd "$_builddir"
make INSTALL_TOP="$pkgdir"/usr INSTALL_LIB="$pkgdir"/lib \
INSTALL_BIN="$pkgdir"/bin \
make INSTALL_TOP="$pkgdir"/usr INSTALL_LIB="$pkgdir"/usr/lib \
V=$pkgver gentoo_install || return 1
rm "$pkgdir"/lib/*.la || return 1
rm "$pkgdir"/usr/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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment