summaryrefslogtreecommitdiffstats
path: root/libraries/libsoup3
diff options
context:
space:
mode:
author B. Watson <yalhcru@gmail.com>2022-03-12 19:17:38 -0500
committer B. Watson <yalhcru@gmail.com>2022-03-12 19:17:38 -0500
commit34d3d1268b344be4ec2e4b6a36ecd5fa5d2bf3b0 (patch)
tree4850d79980be0c67213a05403ea34c5c33d05455 /libraries/libsoup3
parent7c5b5b2bcf145d294fa80a14d0366251a82b479a (diff)
downloadslackbuilds-34d3d1268b344be4ec2e4b6a36ecd5fa5d2bf3b0.tar.gz
slackbuilds-34d3d1268b344be4ec2e4b6a36ecd5fa5d2bf3b0.tar.xz
libraries/libsoup3: Update to 15.0 template.
Signed-off-by: B. Watson <yalhcru@gmail.com>
Diffstat (limited to 'libraries/libsoup3')
-rw-r--r--libraries/libsoup3/libsoup3.SlackBuild18
1 files changed, 11 insertions, 7 deletions
diff --git a/libraries/libsoup3/libsoup3.SlackBuild b/libraries/libsoup3/libsoup3.SlackBuild
index 257c10add3..e2062be520 100644
--- a/libraries/libsoup3/libsoup3.SlackBuild
+++ b/libraries/libsoup3/libsoup3.SlackBuild
@@ -22,6 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=libsoup3
SRCNAM=libsoup
VERSION=${VERSION:-3.0.4}
@@ -36,7 +38,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -66,9 +72,9 @@ cd $SRCNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
+ -o -perm 511 \) -exec chmod 755 {} \+ -o \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \+
mkdir build
cd build
@@ -82,15 +88,13 @@ cd build
--mandir=/usr/man \
--prefix=/usr \
-Dtests=FALSE \
+ -Dstrip=true \
--sysconfdir=/etc
ninja
DESTDIR=$PKG ninja install
cd ..
-find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-
- mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a AUTHORS COPYING NEWS README docs examples $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild