diff options
author | kvaps | 2016-07-27 11:29:36 +0300 |
---|---|---|
committer | kvaps | 2016-07-27 11:29:36 +0300 |
commit | c99cde26babd1cd5ca82f9c317a1d5072199c26f (patch) | |
tree | 8a68959b0a4a12bda3502b062c56e5bd659a3a14 | |
parent | 20a4a0f45ca446c176fa2df434e3a3239d49ed07 (diff) | |
download | aur-c99cde26babd1cd5ca82f9c317a1d5072199c26f.tar.gz |
Revert "upd: .SRCINFO
-rw-r--r-- | .SRCINFO | 29 | ||||
-rw-r--r-- | KeePass.ico | bin | 0 -> 60409 bytes | |||
-rw-r--r-- | PKGBUILD | 58 | ||||
-rwxr-xr-x | keepass (renamed from keepass-wine) | 4 | ||||
-rw-r--r-- | keepass-wine.install | 14 | ||||
-rw-r--r-- | keepass.1 | 23 | ||||
-rw-r--r-- | keepass.desktop (renamed from keepass-wine.desktop) | 4 | ||||
-rw-r--r-- | keepass.xml | 7 |
8 files changed, 118 insertions, 21 deletions
@@ -1,19 +1,36 @@ pkgbase = keepass-wine pkgdesc = A easy-to-use password manager for Windows, Linux, Mac OS X and mobile devices. pkgver = 2.34 - pkgrel = 3 + pkgrel = 1 url = http://keepass.info/ + install = keepass-wine.install arch = any license = GPL - depends = keepass + makedepends = icoutils depends = wine + depends = desktop-file-utils + depends = xdg-utils + depends = shared-mime-info + depends = gtk-update-icon-cache + optdepends = xdotool: if you want to use auto-type + optdepends = xsel: clipboard operations + provides = keepass + conflicts = keepass + source = http://downloads.sourceforge.net/keepass/KeePass-2.34.zip source = http://download.lenovo.com/ibmdl/pub/pc/pccbbs/thinkvantage_en/dotnetfx.exe - source = keepass-wine - source = keepass-wine.desktop + source = keepass + source = keepass.1 + source = keepass.desktop + source = keepass.xml + source = KeePass.ico validpgpkeys = D95044283EE948D911E8B606A4F762DC58C6F98E + sha256sums = 52dd5a8526cc935b0e240d5ab6402b0b4a3f5f09ad1a6919875878d7f36c697f sha256sums = 46693d9b74d12454d117cc61ff2e9481cabb100b4d74eb5367d3cf88b89a0e71 - sha256sums = e0b2b3bd55cc306e2efd950a2a1fb1837d51259ed6298322727403209fcf395d - sha256sums = 685fa3a4e7c9dfcd04bd2be7000bcbbd353c5a1a60f1697c7469e35dd361432d + sha256sums = 666911c06fbe3a8670b5cd841ced50e6c8a7724938280c0ce7ac92262d9406b6 + sha256sums = a5fff678466443c0c8256c4771128c86103da47b6a2c49351d9941191b65dd6f + sha256sums = 1d5420e8babce5f4bbb3c68bdffe3bc0d3c3be25ad689138cd02fa14edd89140 + sha256sums = 3d017c17a8788166c644e2460ba3596fd503f300342561921201fe5f69e5d194 + sha256sums = d08ebdd9b0a99f6dc4f62bb20d7bb9ce6ab3139fcb31c8830954e16ebbd3d058 pkgname = keepass-wine diff --git a/KeePass.ico b/KeePass.ico Binary files differnew file mode 100644 index 000000000000..0ba27acd0155 --- /dev/null +++ b/KeePass.ico @@ -3,26 +3,62 @@ pkgname=keepass-wine pkgver=2.34 -pkgrel=3 +pkgrel=1 pkgdesc='A easy-to-use password manager for Windows, Linux, Mac OS X and mobile devices.' arch=('any') url='http://keepass.info/' license=('GPL') -depends=('keepass' 'wine') -source=("http://download.lenovo.com/ibmdl/pub/pc/pccbbs/thinkvantage_en/dotnetfx.exe" - 'keepass-wine' - 'keepass-wine.desktop') +depends=('wine' 'desktop-file-utils' 'xdg-utils' 'shared-mime-info' 'gtk-update-icon-cache') +provides=('keepass') +conflicts=('keepass') +makedepends=('icoutils') +optdepends=('xdotool: if you want to use auto-type' + 'xsel: clipboard operations') +install="$pkgname.install" +source=("http://downloads.sourceforge.net/keepass/KeePass-$pkgver.zip" + "http://download.lenovo.com/ibmdl/pub/pc/pccbbs/thinkvantage_en/dotnetfx.exe" + 'keepass' + 'keepass.1' + 'keepass.desktop' + 'keepass.xml' + 'KeePass.ico') -sha256sums=('46693d9b74d12454d117cc61ff2e9481cabb100b4d74eb5367d3cf88b89a0e71' - 'e0b2b3bd55cc306e2efd950a2a1fb1837d51259ed6298322727403209fcf395d' - '685fa3a4e7c9dfcd04bd2be7000bcbbd353c5a1a60f1697c7469e35dd361432d') +sha256sums=('52dd5a8526cc935b0e240d5ab6402b0b4a3f5f09ad1a6919875878d7f36c697f' + '46693d9b74d12454d117cc61ff2e9481cabb100b4d74eb5367d3cf88b89a0e71' + '666911c06fbe3a8670b5cd841ced50e6c8a7724938280c0ce7ac92262d9406b6' + 'a5fff678466443c0c8256c4771128c86103da47b6a2c49351d9941191b65dd6f' + '1d5420e8babce5f4bbb3c68bdffe3bc0d3c3be25ad689138cd02fa14edd89140' + '3d017c17a8788166c644e2460ba3596fd503f300342561921201fe5f69e5d194' + 'd08ebdd9b0a99f6dc4f62bb20d7bb9ce6ab3139fcb31c8830954e16ebbd3d058') validpgpkeys=('D95044283EE948D911E8B606A4F762DC58C6F98E') +prepare() { + # Extract icons + icotool -x KeePass.ico +} + package() { - install -Dm755 keepass-wine "$pkgdir"/usr/bin/keepass-wine - install -Dm755 dotnetfx.exe "$pkgdir"/usr/share/keepass-wine/dotnetfx.exe + install -dm755 "$pkgdir"/usr/bin + install -dm755 "$pkgdir"/usr/share/keepass/XSL + + install -Dm755 keepass "$pkgdir"/usr/bin/keepass + install -Dm755 dotnetfx.exe "$pkgdir"/usr/share/keepass/dotnetfx.exe + install -Dm755 KeePass.exe "$pkgdir"/usr/share/keepass/KeePass.exe + install -Dm755 KeePass.exe.config "$pkgdir"/usr/share/keepass/KeePass.exe.config + 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-wine.desktop + desktop-file-install -m 644 --dir "$pkgdir"/usr/share/applications/ keepass.desktop + + # Install icons + 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 } diff --git a/keepass-wine b/keepass index af7b40cd94fa..8e36ae97a211 100755 --- a/keepass-wine +++ b/keepass @@ -1,6 +1,6 @@ #!/bin/sh -export WINEPREFIX="$HOME/.keepass-wine" +export WINEPREFIX="$HOME/.keepass/wine" export WINEARCH=win32 export WINEDEBUG=-all @@ -21,7 +21,7 @@ function setpath(){ if [ ! -d "$WINEPREFIX" ] ; then mkdir -p `dirname $WINEPREFIX` # Install dotnetfx - wine "/usr/share/keepass-wine/dotnetfx.exe" /c:"install.exe /q" + wine "/usr/share/keepass/dotnetfx.exe" /c:"install.exe /q" setpath fi diff --git a/keepass-wine.install b/keepass-wine.install new file mode 100644 index 000000000000..8a562e60f49d --- /dev/null +++ b/keepass-wine.install @@ -0,0 +1,14 @@ +post_remove() { + rm -f usr/share/keepass/KeePass.exe.so + rmdir --ignore-fail-on-non-empty usr/share/keepass/Plugins usr/share/keepass &> /dev/null +} + +post_install() { + post_remove + mono --aot -O=all usr/share/keepass/KeePass.exe &> /dev/null + mkdir -p usr/share/keepass/Plugins +} + +post_upgrade() { + post_install +} diff --git a/keepass.1 b/keepass.1 new file mode 100644 index 000000000000..7f4cb01672ac --- /dev/null +++ b/keepass.1 @@ -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@googlemail.com>, +for the Debian project (but may be used by others). diff --git a/keepass-wine.desktop b/keepass.desktop index 3d89976cb1a7..2ba721579296 100644 --- a/keepass-wine.desktop +++ b/keepass.desktop @@ -1,9 +1,9 @@ [Desktop Entry] Type=Application -Name=KeePass Password Safe (wine) +Name=KeePass Password Safe GenericName=Cross-platform password manager Comment=The free, open source, light-weight and easy-to-use password manager -Exec=keepass-wine +Exec=keepass Icon=keepass MimeType=application/x-keepass2; Terminal=false diff --git a/keepass.xml b/keepass.xml new file mode 100644 index 000000000000..9282115a6652 --- /dev/null +++ b/keepass.xml @@ -0,0 +1,7 @@ +<?xml version="1.0" encoding="UTF-8"?> +<mime-info xmlns="http://www.freedesktop.org/standards/shared-mime-info"> + <mime-type type="application/x-keepass2"> + <comment>KeePass database</comment> + <glob pattern="*.kdbx"/> + </mime-type> +</mime-info> |