[arch-commits] Commit in (10 files)

Timothy Redaelli tredaelli at nymeria.archlinux.org
Wed Nov 20 10:51:53 UTC 2013


    Date: Wednesday, November 20, 2013 @ 11:51:53
  Author: tredaelli
Revision: 101237

New package: keepass

Added:
  keepass/
  keepass/repos/
  keepass/trunk/
  keepass/trunk/KeePass.config.xml
  keepass/trunk/PKGBUILD
  keepass/trunk/keepass
  keepass/trunk/keepass.1
  keepass/trunk/keepass.desktop
  keepass/trunk/keepass.install
  keepass/trunk/keepass.xml

--------------------+
 KeePass.config.xml |    1 
 PKGBUILD           |   62 +++++++++++++++++++++++++++++++++++++++++++++++++++
 keepass            |    2 +
 keepass.1          |   23 ++++++++++++++++++
 keepass.desktop    |   12 +++++++++
 keepass.install    |   40 ++++++++++++++++++++++++++++++++
 keepass.xml        |    1 
 7 files changed, 141 insertions(+)

Added: keepass/trunk/KeePass.config.xml
===================================================================
(Binary files differ)

Index: keepass/trunk/KeePass.config.xml
===================================================================
--- keepass/trunk/KeePass.config.xml	2013-11-20 10:46:49 UTC (rev 101236)
+++ keepass/trunk/KeePass.config.xml	2013-11-20 10:51:53 UTC (rev 101237)

Property changes on: keepass/trunk/KeePass.config.xml
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/xml
\ No newline at end of property
Added: keepass/trunk/PKGBUILD
===================================================================
--- keepass/trunk/PKGBUILD	                        (rev 0)
+++ keepass/trunk/PKGBUILD	2013-11-20 10:51:53 UTC (rev 101237)
@@ -0,0 +1,62 @@
+# $Id$
+# Maintainer: Timothy Redaelli <timothy.redaelli at gmail.com>
+# Contributor: Kirill "reflexing" Churin <reflexing at reflexing.ru>
+# Contributor: Andrej Gelenberg <andrej.gelenberg at udo.edu>
+
+pkgname=keepass
+pkgver=2.24
+pkgrel=1
+pkgdesc='KeePass Password Safe, the free, open source, light-weight and easy-to-use password manager'
+arch=('any')
+url='http://keepass.info/'
+license=('GPL')
+depends=('mono' 'desktop-file-utils' 'xdg-utils' 'shared-mime-info' 'hicolor-icon-theme')
+makedepends=('icoutils')
+optdepends=('xdotool: if you want to use auto-type'
+            'xsel: clipboard operations in order to work around Mono clipboard bugs')
+install="$pkgname.install"
+source=("http://downloads.sourceforge.net/keepass/KeePass-$pkgver.zip"
+        'keepass'
+        'keepass.1'
+        'keepass.desktop'
+        'keepass.xml'
+        'KeePass.config.xml')
+
+sha256sums=('180c2e1187400d23dc5fda0342891f39179cb699c9b9b312f41a3b06e6557076'
+            '7547f2af38771b66c8c2f3d7900b051b37214af49de3dfa27a5d383bf847d582'
+            'a5fff678466443c0c8256c4771128c86103da47b6a2c49351d9941191b65dd6f'
+            '1d5420e8babce5f4bbb3c68bdffe3bc0d3c3be25ad689138cd02fa14edd89140'
+            '3d017c17a8788166c644e2460ba3596fd503f300342561921201fe5f69e5d194'
+            'c4a3626bbcdfe4b17759e75582ad5f89beaa28efc857431f373e104fbe7b8440')
+
+package() {
+  cd "$srcdir"
+
+  install -dm755 "$pkgdir"/usr/bin
+  install -dm755 "$pkgdir"/usr/share/keepass/XSL
+
+  install -Dm755 keepass "$pkgdir"/usr/bin/keepass
+  install -Dm755 KeePass.exe "$pkgdir"/usr/share/keepass/KeePass.exe
+  install -Dm755 KeePass.config.xml "$pkgdir"/usr/share/keepass/KeePass.config.xml
+  install -Dm755 KeePass.exe.config "$pkgdir"/usr/share/keepass/KeePass.exe.config
+  install -Dm755 KeePass.chm "$pkgdir"/usr/share/keepass/KeePass.chm
+
+  install -m644 XSL/* "$pkgdir"/usr/share/keepass/XSL
+
+  install -Dm644 keepass.1 "$pkgdir"/usr/share/man/man1/keepass.1
+
+  # Proper installation of .desktop file
+  desktop-file-install -m 644 --dir "$pkgdir"/usr/share/applications/ keepass.desktop
+
+  # Extract and install icons
+  wrestool -o . --type=14 -x KeePass.exe
+  icotool -x KeePass.exe_*.ico
+  for size in 16 32 48 256; do
+    install -Dm644 \
+    KeePass_*_${size}x${size}x32.png \
+    "$pkgdir"/usr/share/icons/hicolor/${size}x${size}/apps/keepass.png
+  done
+
+  # Needed for postinst with xdg-utils
+  install -Dm644 keepass.xml "$pkgdir"/usr/share/mime/packages/keepass.xml
+}


Property changes on: keepass/trunk/PKGBUILD
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property
Added: keepass/trunk/keepass
===================================================================
--- keepass/trunk/keepass	                        (rev 0)
+++ keepass/trunk/keepass	2013-11-20 10:51:53 UTC (rev 101237)
@@ -0,0 +1,2 @@
+#!/bin/sh
+exec mono /usr/share/keepass/KeePass.exe "$@"

Added: keepass/trunk/keepass.1
===================================================================
--- keepass/trunk/keepass.1	                        (rev 0)
+++ keepass/trunk/keepass.1	2013-11-20 10:51:53 UTC (rev 101237)
@@ -0,0 +1,23 @@
+.TH KEEPASS 1 "Mar 19, 2011"
+.SH NAME
+keepass \- password manager
+.SH SYNOPSIS
+.B keepass
+.SH DESCRIPTION
+\fBKeePass\fP is a free/open-source password manager or safe which helps you to manage your passwords in a secure way. You can put all your passwords in one database, which is locked with one master key or a key file. So you only have to remember one single master password to unlock the whole database. The databases are encrypted using AES-256.
+.SH OPTIONS
+.TP
+\fB\-\-auto-type\fP
+invokes global auto-type
+.TP
+\fB\-\-lock-all\fP
+lock databases of all KeePass instances
+.TP
+\fB\-\-unlock-all\fP
+unlock databases of all KeePass instances
+.TP
+\fB\-\-exit-all\fP
+exit all KeePass instances
+.SH AUTHOR
+This manual page was written by Julian Taylor <jtaylor.debian at googlemail.com>,
+for the Debian project (but may be used by others).

Added: keepass/trunk/keepass.desktop
===================================================================
--- keepass/trunk/keepass.desktop	                        (rev 0)
+++ keepass/trunk/keepass.desktop	2013-11-20 10:51:53 UTC (rev 101237)
@@ -0,0 +1,12 @@
+[Desktop Entry]
+Type=Application
+Name=KeePass Password Safe
+GenericName=Cross-platform password manager
+Comment=The free, open source, light-weight and easy-to-use password manager
+Exec=keepass
+Icon=keepass
+MimeType=application/x-keepass2;
+Terminal=false
+StartupNotify=false
+Categories=Utility;
+StartupWMClass=KeePass2

Added: keepass/trunk/keepass.install
===================================================================
--- keepass/trunk/keepass.install	                        (rev 0)
+++ keepass/trunk/keepass.install	2013-11-20 10:51:53 UTC (rev 101237)
@@ -0,0 +1,40 @@
+post_install() {
+  echo "Installing icons for mimetypes..."
+  for size in 16 32 48 256; do
+    xdg-icon-resource install --context mimetypes --size $size \
+    "$pkgdir"/usr/share/icons/hicolor/${size}x${size}/apps/keepass.png application-x-keepass2
+  done
+  echo "done."
+  
+  echo "Adding file type descriptions provided in mimetypes-file to the desktop environment..."
+  xdg-mime install --novendor /usr/share/mime/packages/keepass.xml
+  echo "done."
+  
+  echo "Updating icon, desktop and MIME caches..."
+  xdg-icon-resource forceupdate --theme hicolor &> /dev/null
+  update-desktop-database -q
+  update-mime-database usr/share/mime &> /dev/null
+  echo "done."
+}
+
+post_upgrade() {
+  post_install
+}
+
+pre_remove() {
+  echo "Removing icons for mimetypes..."
+  for size in 16 32 48 256; do
+    xdg-icon-resource uninstall --context mimetypes --size $size application-x-keepass2
+  done
+  echo "done."
+  
+  echo "Removing file type descriptions provided in mimetypes-file from the desktop environment..."
+  xdg-mime uninstall /usr/share/mime/packages/keepass.xml
+  echo "done."
+  
+  echo "Updating icon, desktop and MIME caches..."
+  xdg-icon-resource forceupdate --theme hicolor &> /dev/null
+  update-desktop-database -q
+  update-mime-database usr/share/mime &> /dev/null
+  echo "done."
+}

Added: keepass/trunk/keepass.xml
===================================================================
(Binary files differ)

Index: keepass/trunk/keepass.xml
===================================================================
--- keepass/trunk/keepass.xml	2013-11-20 10:46:49 UTC (rev 101236)
+++ keepass/trunk/keepass.xml	2013-11-20 10:51:53 UTC (rev 101237)

Property changes on: keepass/trunk/keepass.xml
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/xml
\ No newline at end of property



More information about the arch-commits mailing list