diff options
author | Mario Preksavec <mario@slackware.hr> | 2015-02-03 05:46:15 +0100 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2015-02-07 15:21:05 +0700 |
commit | d407e40a38eeda7be2ebe23df5e7d177239e28e6 (patch) | |
tree | 4ee720cd2587458f88c16b41d53415eda04acc1a /system/pgadmin3/pgadmin3.SlackBuild | |
parent | b8256efeeafb62ca390b70c4fe3d3a0c2c313565 (diff) |
system/pgadmin3: Updated for version 1.20.0 and minor fixes
Diffstat (limited to 'system/pgadmin3/pgadmin3.SlackBuild')
-rw-r--r-- | system/pgadmin3/pgadmin3.SlackBuild | 21 |
1 files changed, 11 insertions, 10 deletions
diff --git a/system/pgadmin3/pgadmin3.SlackBuild b/system/pgadmin3/pgadmin3.SlackBuild index 65eb85242ace..46965a26bfd5 100644 --- a/system/pgadmin3/pgadmin3.SlackBuild +++ b/system/pgadmin3/pgadmin3.SlackBuild @@ -3,9 +3,10 @@ # Slackware build script for pgAdmin # Written by Iskar Enev (<iskar.enev[@]gmail.com>) # Modified by slakmagik <slakmagik@gmail.com> +# Modified by Mario Preksavec <mario@slackware.hr> PRGNAM=pgadmin3 -VERSION=${VERSION:-1.18.1} +VERSION=${VERSION:-1.20.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -36,8 +37,6 @@ else LIBDIRSUFFIX="" fi -DOCUMENTATION="BUGS CHANGELOG DEVELOPERS INSTALL LICENSE README TODO" - set -e rm -rf $PKG @@ -48,10 +47,10 @@ tar xvf $CWD/$PRGNAM-$VERSION.tar.gz 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 \ - \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 \ - -o -perm 400 \) -exec chmod 644 {} \; + \( -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 {} \; CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ @@ -66,8 +65,8 @@ CXXFLAGS="$SLKCFLAGS" \ make make DESTDIR=$PKG install -find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF | - cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true +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 # add the range of pgAdmin3 images - only one can be used in the desktop file # but the default might not be the one people would want @@ -81,7 +80,9 @@ sed '/^Icon=/s/pgadmin3/pixmaps/' \ # as with so many packages, --docdir is present but ignored mkdir -p $PKG/usr/doc ln -s ../share/pgadmin3/docs $PKG/usr/doc/$PRGNAM-$VERSION -cp -a $DOCUMENTATION $PKG/usr/doc/$PRGNAM-$VERSION +cp -a \ + BUGS CHANGELOG DEVELOPERS INSTALL LICENSE README TODO \ + $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install |