updated on Wed Jan 11 00:07:16 UTC 2012
[aur-mirror.git] / cvpncg / PKGBUILD
blob63ee2a6085174a73f5ff1617fc1a5b150db2c504
1 # Maintainer: Giorgio Gilestro <giorgio@gilestro@tk>
2 pkgname=cvpncg
3 pkgver=0.6
4 debrel=1
5 pkgrel=2
6 pkgdesc="A GUI for the cisco vpnclient"
7 arch=('i686' 'x86_64')
8 url="http://sourceforge.net/projects/guiforciscovpnc/"
9 install=${pkgname}.install
10 source=(http://downloads.sourceforge.net/project/guiforciscovpnc/cvpncg/0.6/${pkgname}_${pkgver}-${debrel}.deb)
11 license=('GPL')
12 makedepends=('deb2targz')
13 depends=('cisco-vpnclient' 'python2' 'pygtk')
14 md5sums=('7acca648878c4df1ca78193b5a010519')
16 build() {
17    cd $srcdir
18    deb2targz ${pkgname}_${pkgver}-${debrel}.deb
19    tar -xvzf ${pkgname}_${pkgver}-${debrel}.tar.gz
20    mkdir -p ${pkgdir}/usr/share/{doc/cvpncg,locale,cvpncg,applications,pixmaps}
21    mkdir -p ${pkgdir}/usr/bin
22    mkdir -p ${pkgdir}/usr/local/bin
23    install -D ./usr/share/doc/cvpncg/changelog.Debian.gz ${pkgdir}/usr/share/doc/cvpncg/
24    install -D ./usr/share/doc/cvpncg/NEWS.gz ${pkgdir}/usr/share/doc/cvpncg/
25    install -D ./usr/share/doc/cvpncg/copyright ${pkgdir}/usr/share/doc/cvpncg/
26    install -D ./usr/share/doc/cvpncg/changelog.gz ${pkgdir}/usr/share/doc/cvpncg/
27    install -D ./usr/share/doc/cvpncg/README.Debian ${pkgdir}/usr/share/doc/cvpncg/
28    install -D ./usr/share/doc/cvpncg/README ${pkgdir}/usr/share/doc/cvpncg/
29    install -D ./usr/share/cvpncg/cvpncg.py ${pkgdir}/usr/share/cvpncg/
30    install -D ./usr/share/applications/cvpncg.desktop ${pkgdir}/usr/share/applications/
31    install -D ./usr/share/pixmaps/cvpncg.png ${pkgdir}/usr/share/pixmaps/
32    install -D ./usr/share/pixmaps/cvpncg_status_unlocked.png ${pkgdir}/usr/share/pixmaps/
33    install -D ./usr/share/pixmaps/cvpncg_status_locked.png ${pkgdir}/usr/share/pixmaps/
34    
35    sed -i s/python/python2/ "${pkgdir}/usr/share/cvpncg/cvpncg.py"