summaryrefslogtreecommitdiffstats
path: root/source/l/glib2/glib2.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'source/l/glib2/glib2.SlackBuild')
-rwxr-xr-xsource/l/glib2/glib2.SlackBuild10
1 files changed, 6 insertions, 4 deletions
diff --git a/source/l/glib2/glib2.SlackBuild b/source/l/glib2/glib2.SlackBuild
index 1c7f98e7b..739578e0f 100755
--- a/source/l/glib2/glib2.SlackBuild
+++ b/source/l/glib2/glib2.SlackBuild
@@ -1,6 +1,6 @@
#!/bin/bash
-# Copyright 2008, 2009, 2010, 2011, 2015, 2017, 2018, 2022 Patrick J. Volkerding, Sebeka, MN, USA
+# Copyright 2008, 2009, 2010, 2011, 2015, 2017, 2018, 2022, 2023 Patrick J. Volkerding, Sebeka, MN, USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -103,13 +103,15 @@ meson setup \
DESTDIR=$PKG $NINJA install || exit 1
cd ..
-# Don't ship .la files:
-rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la
-
# Since meson isn't listening to options:
rm -rf $PKG/usr/libexec/installed-tests
rmdir $PKG/usr/libexec
+# Relocate some docs:
+mkdir -p $PKG/usr/doc/glib-$VERSION
+mv $PKG/usr/share/doc/glib-2.0 $PKG/usr/doc/glib-$VERSION
+rmdir $PKG/usr/share/doc
+
# Install profile scripts:
mkdir -p $PKG/etc/profile.d/
cp -a $CWD/libglib2.{csh,sh} $PKG/etc/profile.d/