diff options
Diffstat (limited to 'system')
-rw-r--r-- | system/pgadmin3/pgadmin3.SlackBuild | 21 | ||||
-rw-r--r-- | system/pgadmin3/pgadmin3.info | 6 |
2 files changed, 14 insertions, 13 deletions
diff --git a/system/pgadmin3/pgadmin3.SlackBuild b/system/pgadmin3/pgadmin3.SlackBuild index 65eb85242a..46965a26bf 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 diff --git a/system/pgadmin3/pgadmin3.info b/system/pgadmin3/pgadmin3.info index 73ad41468f..a4fc69e90c 100644 --- a/system/pgadmin3/pgadmin3.info +++ b/system/pgadmin3/pgadmin3.info @@ -1,8 +1,8 @@ PRGNAM="pgadmin3" -VERSION="1.18.1" +VERSION="1.20.0" HOMEPAGE="http://www.pgadmin.org/" -DOWNLOAD="ftp://ftp.postgresql.org/pub/pgadmin3/release/v1.18.1/src/pgadmin3-1.18.1.tar.gz" -MD5SUM="7dde96680407c900af72d0839a377de4" +DOWNLOAD="http://ftp.postgresql.org/pub/pgadmin3/release/v1.20.0/src/pgadmin3-1.20.0.tar.gz" +MD5SUM="3ca39fb598d0866eca90d30b85d5d5c4" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="postgresql wxPython" |