1 # Maintainer: jose <jose1711 [at] gmail (dot) com>
6 pkgdesc="Perl/GTK Gnome replacement for SecureCRT/Putty"
8 url="http://sites.google.com/site/davidtv/"
10 source=("https://sourceforge.net/projects/pacmanager/files/pac-3.0/pac-${pkgver}-all.tar.gz")
11 depends=("perl-gtk2-ex-simple-list" "perl-expect" "perl-io-stty" "perl-yaml" "glade-perl" "gconf-perl" "perl-crypt-cbc" "perl-crypt-blowfish" "perl-net-arp" "perl-socket6" "uuid" "perl-freezethaw" "vte" "perl-gnome2-vte" "perl-gtk2-sourceview2")
12 optdepends=('tightvnc' 'rdesktop')
13 md5sums=('bdb016f0cfed70c92a1aa9375cb84aea')
22 mkdir -p $pkgdir/usr/{share/pacmanager/{lib,res,utils},bin}
23 /bin/tar cf - lib/* | ( cd ../../pkg/usr/share/pacmanager/; tar xfp - )
24 install -D -m 644 res/*png $pkgdir/usr/share/pacmanager/res
25 install -D -m 644 res/*jpg $pkgdir/usr/share/pacmanager/res
26 install -D -m 644 res/*glade $pkgdir/usr/share/pacmanager/res
27 install -D -m 755 utils/pac_from_mcm.pl $pkgdir/usr/share/pacmanager/utils/pac_from_mcm.pl
28 install -D -m 755 utils/pac_from_putty.pl $pkgdir/usr/share/pacmanager/utils/pac_from_putty.pl
29 install -D -m 755 pac $pkgdir/usr/share/pacmanager/pac
30 install -D -m 644 README $pkgdir/usr/share/pacmanager/README
31 install -D -m 644 res/pac.1 $pkgdir/usr/share/man/man1/pac.1
32 install -D -m 644 res/pac.yml $pkgdir/usr/share/pacmanager/res/pac.yml
33 install -D -m 644 res/pac64x64.png ${pkgdir}/usr/share/pixmaps/pac.png && \
34 install -D -m 644 res/pac.desktop ${pkgdir}/usr/share/applications/pac.desktop
35 install -D -m 644 res/pac_start.desktop ${pkgdir}/usr/share/applications/pac_start.desktop
36 ln -s /usr/share/pacmanager/pac ${pkgdir}/usr/bin/pac