aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-12-18 11:17:13 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-12-19 07:22:58 +0700
commitcd0a76abb45734331025bb97dc584756b50b23aa (patch)
tree75684aada9cf0fb209c5b8606b602030471025e8
parent55a8e5b2988be90f9bc0efe2fb324a480238f794 (diff)
office/keepassx: Updated for version 0.4.4.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--office/keepassx/keepassx.SlackBuild19
-rw-r--r--office/keepassx/keepassx.info6
2 files changed, 11 insertions, 14 deletions
diff --git a/office/keepassx/keepassx.SlackBuild b/office/keepassx/keepassx.SlackBuild
index 372d40d79a76e..88ee9185995cf 100644
--- a/office/keepassx/keepassx.SlackBuild
+++ b/office/keepassx/keepassx.SlackBuild
@@ -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
diff --git a/office/keepassx/keepassx.info b/office/keepassx/keepassx.info
index 2cbddc04ff257..f6d9b693cff34 100644
--- a/office/keepassx/keepassx.info
+++ b/office/keepassx/keepassx.info
@@ -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=""