diff options
author | B. Watson <yalhcru@gmail.com> | 2022-04-12 02:37:32 -0400 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2022-04-16 12:11:23 +0700 |
commit | cd56fbb2dd28bd820d3d00384e4aa5e2bdb5b325 (patch) | |
tree | 0a678198bfccd2b195e97406292d6b053bcf4a79 /libraries | |
parent | 2e28629c80e97609f473b7091a4a1d2ec5d891a4 (diff) | |
download | slackbuilds-cd56fbb2dd28bd820d3d00384e4aa5e2bdb5b325.tar.gz |
libraries/libbonoboui: Fix doc, .desktop.
Signed-off-by: B. Watson <yalhcru@gmail.com>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries')
-rw-r--r-- | libraries/libbonoboui/libbonoboui.SlackBuild | 26 |
1 files changed, 16 insertions, 10 deletions
diff --git a/libraries/libbonoboui/libbonoboui.SlackBuild b/libraries/libbonoboui/libbonoboui.SlackBuild index c5aa162f78..29fa781584 100644 --- a/libraries/libbonoboui/libbonoboui.SlackBuild +++ b/libraries/libbonoboui/libbonoboui.SlackBuild @@ -22,25 +22,27 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# 20220411 bkw: Modified by SlackBuilds.org, BUILD=2: +# - make .desktop file validate. +# - remove empty AUTHORS from doc dir. +# - i486 => i586. + cd $(dirname $0) ; CWD=$(pwd) PRGNAM=libbonoboui VERSION=${VERSION:-2.24.5} -BUILD=${BUILD:-2} +BUILD=${BUILD:-3} 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 @@ -50,8 +52,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" @@ -75,9 +77,12 @@ 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 {} \+ + +# 20220412 bkw: shut desktop-file-validate up. +sed -i '/^Encoding/d' tools/browser/bonobo-browser.desktop.in CFLAGS="$SLKCFLAGS" \ ./configure \ @@ -92,8 +97,9 @@ CFLAGS="$SLKCFLAGS" \ make make install-strip DESTDIR=$PKG +# 20220412 bkw: AUTHORS is a 0-byte placeholder. mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a AUTHORS COPYING COPYING.LIB ChangeLog MAINTAINERS \ +cp -a COPYING COPYING.LIB ChangeLog MAINTAINERS \ NEWS README $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild |