updated on Tue Jan 24 16:10:37 UTC 2012
[aur-mirror.git] / cvpncg / PKGBUILD
blob75607fef202a8bf8630d1de4406a21e7fb2d389e
1 # Maintainer: Giorgio Gilestro <giorgio@gilestro@tk>
2 pkgname=cvpncg
3 pkgver=0.6
4 debrel=1
5 pkgrel=3
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 depends=('cisco-vpnclient' 'python2' 'pygtk')
13 md5sums=('7acca648878c4df1ca78193b5a010519')
15 build() {
16    cd $srcdir
17    ar xv ${pkgname}_${pkgver}-${debrel}.deb
18    tar zxvf data.tar.gz
19    mkdir -p ${pkgdir}/usr/share/{doc/cvpncg,locale,cvpncg,applications,pixmaps}
20    mkdir -p ${pkgdir}/usr/bin
21    mkdir -p ${pkgdir}/usr/local/bin
22    install -D ./usr/share/doc/cvpncg/changelog.Debian.gz ${pkgdir}/usr/share/doc/cvpncg/
23    install -D ./usr/share/doc/cvpncg/NEWS.gz ${pkgdir}/usr/share/doc/cvpncg/
24    install -D ./usr/share/doc/cvpncg/copyright ${pkgdir}/usr/share/doc/cvpncg/
25    install -D ./usr/share/doc/cvpncg/changelog.gz ${pkgdir}/usr/share/doc/cvpncg/
26    install -D ./usr/share/doc/cvpncg/README.Debian ${pkgdir}/usr/share/doc/cvpncg/
27    install -D ./usr/share/doc/cvpncg/README ${pkgdir}/usr/share/doc/cvpncg/
28    install -D ./usr/share/cvpncg/cvpncg.py ${pkgdir}/usr/share/cvpncg/
29    install -D ./usr/share/applications/cvpncg.desktop ${pkgdir}/usr/share/applications/
30    install -D ./usr/share/pixmaps/cvpncg.png ${pkgdir}/usr/share/pixmaps/
31    install -D ./usr/share/pixmaps/cvpncg_status_unlocked.png ${pkgdir}/usr/share/pixmaps/
32    install -D ./usr/share/pixmaps/cvpncg_status_locked.png ${pkgdir}/usr/share/pixmaps/
33    
34    sed -i s/python/python2/ "${pkgdir}/usr/share/cvpncg/cvpncg.py"