summaryrefslogtreecommitdiff
path: root/Ports/xz/package.sh
diff options
context:
space:
mode:
authorPanagiotis Vasilopoulos <hello@alwayslivid.com>2021-04-20 18:42:04 +0300
committerLinus Groh <mail@linusgroh.de>2021-04-20 18:20:00 +0200
commit492f7132d297edc66efdad5a87135bbcef608c8b (patch)
treebaa5ecd698ed247ea4342881e2121d8604a2adc5 /Ports/xz/package.sh
parent139288b071098fc0e2127800e4b18194a8f4035b (diff)
downloadserenity-492f7132d297edc66efdad5a87135bbcef608c8b.zip
Ports: Improve consistency and quality of ports
- Replaced /Root with - Improved documentation. - Removed a few typos. - Replaced with - Added brackets in some cases. Most of the changes were reviewed and applied manually.
Diffstat (limited to 'Ports/xz/package.sh')
-rwxr-xr-xPorts/xz/package.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/Ports/xz/package.sh b/Ports/xz/package.sh
index 7c27b25877..ed286f6f2a 100755
--- a/Ports/xz/package.sh
+++ b/Ports/xz/package.sh
@@ -7,7 +7,7 @@ auth_type=sha256
depends="zlib libiconv"
install() {
- run make DESTDIR=$DESTDIR $installopts install
- ${CC} -shared -o $DESTDIR/usr/local/lib/liblzma.so -Wl,--whole-archive $DESTDIR/usr/local/lib/liblzma.a -Wl,--no-whole-archive -lz -liconv
- rm -f $DESTDIR/usr/local/lib/liblzma.la
+ run make DESTDIR=${SERENITY_INSTALL_ROOT} $installopts install
+ ${CC} -shared -o ${SERENITY_INSTALL_ROOT}/usr/local/lib/liblzma.so -Wl,--whole-archive ${SERENITY_INSTALL_ROOT}/usr/local/lib/liblzma.a -Wl,--no-whole-archive -lz -liconv
+ rm -f ${SERENITY_INSTALL_ROOT}/usr/local/lib/liblzma.la
}