diff options
author | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2017-04-11 18:36:24 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2017-04-12 16:02:25 +0700 |
commit | 20ea4e193df564e335132b30d9304fd7f058c9b8 (patch) | |
tree | 8d73ba78b4db4576d682e52265a195bb0bc01455 /libraries/libdockapp/libdockapp.SlackBuild | |
parent | 71e1a4538c9acb6704f3b6e04086b541252037e3 (diff) |
libraries/libdockapp: Updated for version 0.7.2.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries/libdockapp/libdockapp.SlackBuild')
-rw-r--r-- | libraries/libdockapp/libdockapp.SlackBuild | 29 |
1 files changed, 14 insertions, 15 deletions
diff --git a/libraries/libdockapp/libdockapp.SlackBuild b/libraries/libdockapp/libdockapp.SlackBuild index 26636a8afc4de..e937f71dd2da9 100644 --- a/libraries/libdockapp/libdockapp.SlackBuild +++ b/libraries/libdockapp/libdockapp.SlackBuild @@ -6,13 +6,13 @@ # Modified by the SlackBuilds.org project. PRGNAM=libdockapp -VERSION=${VERSION:-0.6.2} +VERSION=${VERSION:-0.7.2} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac @@ -23,8 +23,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" @@ -42,19 +42,17 @@ set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP -rm -rf $PRGNAM-$VERSION -tar -xvf $CWD/$PRGNAM-$VERSION.tar.bz2 -cd $PRGNAM-$VERSION +rm -rf dockapps-b9baa8f +tar -xvf $CWD/$PRGNAM-$VERSION.tar.gz +cd dockapps-b9baa8f 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 \ - \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ - -exec chmod 644 {} \; - -# Fixup the SHAREDIR in examples/Makefile.in -patch -p1 < $CWD/Fixup-examples-sharedir.patch + \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ + -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 {} \; +autoreconf -fi CFLAGS="$SLKCFLAGS" \ ./configure \ --prefix=/usr \ @@ -63,12 +61,13 @@ CFLAGS="$SLKCFLAGS" \ --localstatedir=/var \ --mandir=/usr/man \ --disable-debug \ + --enable-static=no \ --build=$ARCH-slackware-linux make XFONTDIR="\$(DESTDIR)/usr/share/fonts" make install DESTDIR=$PKG XFONTDIR="\$(DESTDIR)/usr/share/fonts" -find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ +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 |