office/keepassx: Updated for version 0.4.4.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Willy Sudiarto Raharjo 2015-12-18 11:17:13 +07:00
parent 55a8e5b298
commit cd0a76abb4
2 changed files with 11 additions and 14 deletions

View File

@ -23,8 +23,8 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=keepassx
VERSION=0.4.3
BUILD=${BUILD:-2}
VERSION=${VERSION:-0.4.4}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@ -64,10 +64,10 @@ tar xvf $CWD/keepassx-$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 {} \;
patch -p1 < $CWD/keepassx-0.4.3-gcc47.patch
@ -78,14 +78,11 @@ qmake \
make
make install INSTALL_ROOT=$PKG
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
# there is no manpage
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a COPYING INSTALL changelog \
$PKG/usr/doc/$PRGNAM-$VERSION
cp -a COPYING INSTALL changelog $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install

View File

@ -1,8 +1,8 @@
PRGNAM="keepassx"
VERSION="0.4.3"
VERSION="0.4.4"
HOMEPAGE="http:///www.keepassx.org/"
DOWNLOAD="http://downloads.sourceforge.net/keepassx/keepassx-0.4.3.tar.gz"
MD5SUM="1df67bb22b2e08df49f09e61d156f508"
DOWNLOAD="https://www.keepassx.org/releases/0.4.4/keepassx-0.4.4.tar.gz"
MD5SUM="6022ffe1e2c59fc6f1a47544417bb0b5"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""