1 # Contributor: Filipp Andjelo <scorp@mauilueberfall.de>
6 pkgdesc="Password manager based on Eclipse RCP"
8 url="http://sleutel.sourceforge.net"
9 depends=('java-environment>=6' 'gtk2>=2.16.1')
10 install=sleutel.install
12 if [ "$CARCH" = "x86_64" ]; then
13 source=(http://downloads.sourceforge.net/project/sleutel/sleutel/${pkgver}/sleutel-${pkgver}-linux.gtk.x86_64.tgz
16 md5sums=('03b88020a3378c50872ab024cfb83f22'
17 '5e3559906a4d74c3919cf0e8b3aa130f'
18 '085d09d22326ef9a882fb8353d49c085')
20 source=(http://downloads.sourceforge.net/project/sleutel/sleutel/${pkgver}/sleutel-${pkgver}-linux.gtk.x86.tgz
23 md5sums=('d0158acb305a2fc69ec6a566a1db9392'
24 '5e3559906a4d74c3919cf0e8b3aa130f'
25 '085d09d22326ef9a882fb8353d49c085')
29 cd "${srcdir}/sleutel" || return 1
32 install -m755 -d "${pkgdir}/usr/share"
33 mv "${srcdir}/sleutel" "${pkgdir}/usr/share/" || return 1
36 mkdir -p ${pkgdir}/usr/bin ${pkgdir}/usr/share/applications \
37 ${pkgdir}/usr/share/icons/hicolor/48x48/apps || return 1
38 install -m755 "${srcdir}/sleutel.sh" "${pkgdir}/usr/bin/sleutel" || return 1
39 install -m644 "${srcdir}/sleutel.desktop" "${pkgdir}/usr/share/applications/" || return 1
40 ln -s /usr/share/sleutel/icon.xpm \
41 "${pkgdir}/usr/share/icons/hicolor/48x48/apps/sleutel.xpm" || return 1