diff options
author | Eric B. Pratt <eric.b.pratt@gmail.com> | 2011-05-27 20:16:00 -0300 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2011-06-13 01:30:56 -0400 |
commit | ecad7dfd69a0b61143856980492f3346bffbf803 (patch) | |
tree | 00f6f703dfb3e74db0006f0d40ae3dd7cdf103dd /misc/KeePass/KeePass.SlackBuild | |
parent | bb64f42db646f022af9cba2705dc07980f753de3 (diff) |
misc/KeePass: Updated for version 2.15.
Signed-off-by: Niels Horn <niels.horn@slackbuilds.org>
Diffstat (limited to 'misc/KeePass/KeePass.SlackBuild')
-rw-r--r-- | misc/KeePass/KeePass.SlackBuild | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/misc/KeePass/KeePass.SlackBuild b/misc/KeePass/KeePass.SlackBuild index cf9b917ccba04..44db2ba02fca8 100644 --- a/misc/KeePass/KeePass.SlackBuild +++ b/misc/KeePass/KeePass.SlackBuild @@ -18,16 +18,14 @@ # OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. PRGNAM=KeePass -VERSION=${VERSION:-2.14} +VERSION=${VERSION:-2.15} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} -# Automatically determine the architecture we're building on: if [ -z "$ARCH" ]; then case "$( uname -m )" in i?86) ARCH=i486 ;; arm*) ARCH=arm ;; - # Unless $ARCH is already set, use uname -m for all other archs: *) ARCH=$( uname -m ) ;; esac fi @@ -61,7 +59,7 @@ rm -rf $PRGNAM-$VERSION mkdir -p $PRGNAM-$VERSION cd $PRGNAM-$VERSION -mkdir $PRGNAM-$VERSION $PRGNAM-$VERSION-Source +mkdir -p $PRGNAM-$VERSION-Source unzip $CWD/$PRGNAM-$VERSION.zip -d $PRGNAM-$VERSION unzip $CWD/$PRGNAM-$VERSION-Source.zip -d $PRGNAM-$VERSION-Source @@ -93,11 +91,12 @@ mkdir -p $PKG/usr/lib cp -a $PRGNAM-$VERSION $PKG/usr/lib/ mkdir -p $PKG/usr/bin -cp $CWD/files/keepass $PKG/usr/bin/keepass +echo -e '#!/bin/bash'"\nexec /usr/bin/mono /usr/lib/KeePass-${VERSION}/KeePass.exe" > $PKG/usr/bin/keepass chmod 0755 $PKG/usr/bin/keepass mkdir -p $PKG/usr/share/applications cp $CWD/files/KeePass.desktop $PKG/usr/share/applications/ +chmod 0644 $PKG/usr/share/applications/KeePass.desktop mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild |