1 # Contributor: Tom Vincent <http://www.tlvince.com/>
6 pkgdesc="A GUI for netcfg2, fork of netcfgGUI"
7 arch=('i686' 'x86_64' 'arm')
8 url="http://admiral0.github.com/netcfgfx/"
10 depends=('netcfg' 'wireless_tools' 'qt' 'sudo')
11 makedepends=('git' 'cmake')
12 install=netcfgfx.install
13 source=(netcfgfx.desktop netcfgfx.sudoers)
14 _gitroot="git://github.com/admiral0/netcfgfx"
17 msg "Connecting to GIT server..."
18 if [[ -d $srcdir/${_gitname} ]]; then
19 cd ${srcdir}/${_gitname} && git pull origin || return 1
21 git clone $_gitroot ${srcdir}/${_gitname} || return 1
22 cd $srcdir/${_gitname}
24 msg "GIT checkout done or server timeout"
25 msg "Starting make..."
31 install -Dm755 netcfgfx ${pkgdir}/usr/bin/netcfgfx
32 install -Dm644 ${srcdir}/${_gitname}/resources/Network_Connection_Manager.png ${pkgdir}/usr/share/pixmaps/netcfgfx.png
33 install -Dm644 ${startdir}/netcfgfx.desktop ${pkgdir}/usr/share/applications/netcfgfx.desktop
34 install -Dm0440 ${startdir}/netcfgfx.sudoers ${pkgdir}/etc/sudoers.d/netcfgfx
36 md5sums=('f16cf637a54233ab9637df8190526120'
37 'e38cb5ccad77ad32ec68e9d28306bd87')