summaryrefslogtreecommitdiff
path: root/office/keepassx/keepassx.SlackBuild
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 /office/keepassx/keepassx.SlackBuild
parent55a8e5b2988be90f9bc0efe2fb324a480238f794 (diff)
downloadslackbuilds-cd0a76abb45734331025bb97dc584756b50b23aa.tar.gz
office/keepassx: Updated for version 0.4.4.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'office/keepassx/keepassx.SlackBuild')
-rw-r--r--office/keepassx/keepassx.SlackBuild19
1 files changed, 8 insertions, 11 deletions
diff --git a/office/keepassx/keepassx.SlackBuild b/office/keepassx/keepassx.SlackBuild
index 372d40d79a..88ee918599 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