diff options
author | B. Watson <yalhcru@gmail.com> | 2022-04-23 00:15:08 -0400 |
---|---|---|
committer | B. Watson <yalhcru@gmail.com> | 2022-04-24 10:44:34 -0400 |
commit | 26c9a1b5a1a8a8a954d3acf2f17687c996b543b8 (patch) | |
tree | 51e5ff6bbd985b6b3b661c18948da0f1ed28e2b4 | |
parent | ce7b338a460a65d303e4a34d04d4d1eec9d09262 (diff) | |
download | slackbuilds-26c9a1b5a1a8a8a954d3acf2f17687c996b543b8.tar.gz |
libraries/libdmapsharing: Fix docs.
Signed-off-by: B. Watson <yalhcru@gmail.com>
-rw-r--r-- | libraries/libdmapsharing/libdmapsharing.SlackBuild | 23 | ||||
-rw-r--r-- | libraries/libdmapsharing/libdmapsharing.info | 2 |
2 files changed, 14 insertions, 11 deletions
diff --git a/libraries/libdmapsharing/libdmapsharing.SlackBuild b/libraries/libdmapsharing/libdmapsharing.SlackBuild index 1a670a78ef..aaaf437758 100644 --- a/libraries/libdmapsharing/libdmapsharing.SlackBuild +++ b/libraries/libdmapsharing/libdmapsharing.SlackBuild @@ -4,25 +4,27 @@ # Written by crocket (crockabiscuit@gmail.com) +# 20220422 bkw: Modified by SlackBuilds.org, BUILD=4: +# - remove empty NEWS from doc dir. +# - symlink html docs to doc dir. +# - i486 => i586. + cd $(dirname $0) ; CWD=$(pwd) PRGNAM=libdmapsharing VERSION=${VERSION:-2.1.9} -BUILD=${BUILD:-3} +BUILD=${BUILD:-4} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac fi -# If the variable PRINT_PACKAGE_NAME is set, then this script will report what -# the name of the created package would be, and then exit. This information -# could be useful to other scripts. if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" exit 0 @@ -32,8 +34,8 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" @@ -57,9 +59,9 @@ cd $PRGNAM-$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 \ + -exec chmod 755 {} \+ -o \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ - -exec chmod 644 {} \; + -exec chmod 644 {} \+ # Starting with glib 2.32 it is now mandatory to # include glib.h instead of individual headers. @@ -83,8 +85,9 @@ make install-strip DESTDIR=$PKG mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a \ - AUTHORS COPYING ChangeLog INSTALL NEWS README* TODO \ + AUTHORS COPYING ChangeLog README* TODO \ $PKG/usr/doc/$PRGNAM-$VERSION +ln -s ../../share/gtk-doc/html/$PRGNAM $PKG/usr/doc/$PRGNAM-$VERSION/html cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild rm -f $PKG/usr/lib*/*.la diff --git a/libraries/libdmapsharing/libdmapsharing.info b/libraries/libdmapsharing/libdmapsharing.info index 5158c3c380..fe3b3fa9a7 100644 --- a/libraries/libdmapsharing/libdmapsharing.info +++ b/libraries/libdmapsharing/libdmapsharing.info @@ -1,7 +1,7 @@ PRGNAM="libdmapsharing" VERSION="2.1.9" HOMEPAGE="https://www.flyn.org/projects/libdmapsharing/" -DOWNLOAD="https://www.flyn.org/projects/libdmapsharing/libdmapsharing-2.1.9.tar.gz" +DOWNLOAD="https://slackware.uk/~urchlay/src/libdmapsharing-2.1.9.tar.gz" MD5SUM="04f722d08f56a01f3c985bfdeb4b28ea" DOWNLOAD_x86_64="" MD5SUM_x86_64="" |