aboutsummaryrefslogtreecommitdiff
path: root/office/keepassxc/keepassxc.SlackBuild
diff options
context:
space:
mode:
authorBenjamin Trigona-Harany <bosth@alumni.sfu.ca>2017-01-22 14:34:14 -0800
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-01-24 07:23:16 +0700
commit6f465bf1e0baef8d3b5fa06eb5c6b3e1a5627492 (patch)
tree69becd3b3635cb6d5f295db569815c66da3d3938 /office/keepassxc/keepassxc.SlackBuild
parentcb5f2bbc2724ca23c1d3cfe768f4e70590c87fcb (diff)
office/keepassxc: Updated for version 2.1.0.
Signed-off-by: Benjamin Trigona-Harany <bosth@alumni.sfu.ca>
Diffstat (limited to 'office/keepassxc/keepassxc.SlackBuild')
-rw-r--r--office/keepassxc/keepassxc.SlackBuild13
1 files changed, 6 insertions, 7 deletions
diff --git a/office/keepassxc/keepassxc.SlackBuild b/office/keepassxc/keepassxc.SlackBuild
index 3b05dc09602b6..3733052be5804 100644
--- a/office/keepassxc/keepassxc.SlackBuild
+++ b/office/keepassxc/keepassxc.SlackBuild
@@ -23,8 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=keepassxc
-VERSION=${VERSION:-20160102}
-SRCREV=534364454d9504fed894bd073fcc96907e71dc76
+VERSION=${VERSION:-2.1.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -60,9 +59,9 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-$SRCREV
-tar xvf $CWD/$PRGNAM-$SRCREV.tar.gz || tar xvf $CWD/$SRCREV.tar.gz
-cd $PRGNAM-$SRCREV
+rm -rf $PRGNAM-$VERSION
+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 \
@@ -76,7 +75,7 @@ cd build
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Release \
-DWITH_TESTS=OFF \
- -DWITH_XC_HTTP="${XC_HTTP:-ON}" \
+ -DWITH_XC_HTTP="${XC_HTTP:-OFF}" \
-DWITH_XC_AUTOTYPE="${XC_AUTOTYPE:-ON}" \
..
@@ -88,7 +87,7 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a COPYING INSTALL CHANGELOG $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a CHANGELOG COPYING README.md $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install