Commit | Line | Data |
---|---|---|
209feeb0 H |
1 | # Contributor: Thomas Mudrunka <harvie@@email..cz> |
2 | # You can also contact me on http://blog.harvie.cz/ | |
3 | ||
4 | pkgname=ccrypt-gui-integrations | |
5 | pkgver=1.0 | |
6 | pkgrel=3 | |
7 | pkgdesc="Scripts to add shortcuts to ccrypt encryption/decryption to gnome/kde/explorer menu which allows user to encrypt/decrypt files easily. Each user must enable/disable it using ccrypt-*-install and ccrypt-*-remove binaries." | |
8 | arch=('any') | |
9 | license=('GPL') | |
10 | url="http://ccrypt.sourceforge.net/VF/README.html" | |
11 | depends=('ccrypt') | |
12 | optdepends=( | |
13 | 'gnome: ccrypt gui integration for gnome' | |
14 | 'kde: ccrypt gui integration for kde' | |
15 | ) | |
16 | ||
17 | source=( | |
18 | "http://ccrypt.sourceforge.net/VF/ccrypt_gui_integration.zip" | |
19 | ) | |
20 | ||
21 | md5sums=( | |
22 | '1317d45b4cc611f8163d601f96ffb955' | |
23 | ) | |
24 | ||
25 | build() { | |
26 | mkdir -p ${pkgdir}/opt/ccrypt-gui-integration | |
27 | cp ${srcdir}/ccrypt_gui_integration/* ${pkgdir}/opt/ccrypt-gui-integration | |
28 | ||
29 | mkdir -p ${pkgdir}/usr/share/pixmaps | |
30 | cp ${srcdir}/ccrypt_gui_integration/*.png ${pkgdir}/usr/share/pixmaps | |
31 | ||
32 | mkdir -p ${pkgdir}/usr/share/doc/ccrypt-gui-integrations | |
33 | cp ${srcdir}/ccrypt_gui_integration/readme ${pkgdir}/usr/share/doc/ccrypt-gui-integrations | |
34 | cp ${srcdir}/ccrypt_gui_integration/*.html ${pkgdir}/usr/share/doc/ccrypt-gui-integrations | |
35 | ||
36 | mkdir -p ${pkgdir}/usr/bin | |
37 | cp ${srcdir}/ccrypt_gui_integration/*-install ${pkgdir}/usr/bin | |
38 | cp ${srcdir}/ccrypt_gui_integration/*-remove ${pkgdir}/usr/bin | |
39 | ||
40 | chmod -R 755 ${pkgdir}/ | |
41 | } |