1 # Maintainer: Kirill "reflexing" Churin <reflexing@reflexing.ru>
2 # Contributor: Andrej Gelenberg <andrej.gelenberg@udo.edu>
7 pkgdesc="KeePass Password Safe, the free, open source, light-weight and easy-to-use password manager."
9 url="http://keepass.info/"
11 depends=('mono>=2.6' 'desktop-file-utils' 'xdg-utils')
12 optdepends=('xdotool: if you want to use auto-type.')
13 install=keepass.install
14 source=(http://downloads.sourceforge.net/project/keepass/KeePass%202.x/${pkgver}/KeePass-${pkgver}.zip
20 KeePass_6_256x256x32.png
21 KeePass_7_48x48x32.png
22 KeePass_8_32x32x32.png
23 KeePass_9_16x16x32.png)
28 install -dm755 ${pkgdir}/usr/bin
29 install -dm755 ${pkgdir}/usr/share/keepass/XSL
31 install -Dm755 keepass ${pkgdir}/usr/bin/keepass
32 install -Dm755 KeePass.exe ${pkgdir}/usr/share/keepass/KeePass.exe
33 install -Dm755 KeePass.config.xml ${pkgdir}/usr/share/keepass/KeePass.config.xml
34 install -Dm755 KeePass.exe.config ${pkgdir}/usr/share/keepass/KeePass.exe.config
35 install -Dm755 KeePass.chm ${pkgdir}/usr/share/keepass/KeePass.chm
37 install -m644 XSL/* ${pkgdir}/usr/share/keepass/XSL
39 install -Dm644 keepass.1 ${pkgdir}/usr/share/man/man1/keepass.1
41 # Proper installation of .desktop file
42 desktop-file-install -m 0644 --dir ${pkgdir}/usr/share/applications/ keepass.desktop
44 # Install Icons (got from source package with "icotool -x KeePass.ico")
45 for size in 16 32 48 256; do
47 KeePass_*_${size}x${size}x32.png \
48 ${pkgdir}/usr/share/icons/hicolor/${size}x${size}/apps/keepass.png
51 # Needed for postinst with xdg-utils
52 install -Dm644 keepass.xml ${pkgdir}/usr/share/mime/packages/keepass.xml
55 md5sums=('54e25b1a240ddfdaa1f0af80a79beb17'
56 'daa5d6c01c11cf38c6f5cc207333aa9a'
57 'a2a0dff1ebf0aaf6cbfb6f8566f4a010'
58 '0ff6c4e6b12b77d1954292efcd2e6b97'
59 '1d7545e79e7aa1107a9f78cb46ced251'
60 'ac0f1e104f82d295c27646bfff39fecc'
61 '490859f348e492b5e33739262ff07f00'
62 '5b060d5376e94f6743e787a46f53e9a3'
63 '17044c8d69ad5275a2a57843b19ad89d'
64 '4dfb6d0d6535c6d57ee88a4de7119095')