diff options
author | William Pitcock <nenolod@dereferenced.org> | 2011-11-17 02:58:57 -0600 |
---|---|---|
committer | William Pitcock <nenolod@dereferenced.org> | 2011-11-17 02:58:57 -0600 |
commit | e83f1beee5c10660c4389f7560f8459b0f2d4773 (patch) | |
tree | 527f9994d79df7c86fdd719c6ece68fe031696d3 /main | |
parent | 9cb751a3fe07d180a5cce06860430aca3f22b49e (diff) | |
download | aports-e83f1beee5c10660c4389f7560f8459b0f2d4773.tar.bz2 aports-e83f1beee5c10660c4389f7560f8459b0f2d4773.tar.xz |
Revert "main/lua: install to /lib and /bin instead of /usr/bin and /usr/lib"
This reverts commit 9cb751a3fe07d180a5cce06860430aca3f22b49e.
Diffstat (limited to 'main')
-rw-r--r-- | main/lua/APKBUILD | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/main/lua/APKBUILD b/main/lua/APKBUILD index 146adf7ff3..90f3009b0e 100644 --- a/main/lua/APKBUILD +++ b/main/lua/APKBUILD @@ -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 |