updated on Tue Jan 10 04:01:21 UTC 2012
[aur-mirror.git] / toptray / PKGBUILD
blobd17b34c25153803a2b02f2b15fdd137c90435c49
1 pkgname=toptray
2 pkgver=0.1
3 pkgrel=2
4 pkgdesc="Wifi assistant for Politecnico di Torino"
5 arch=(i686 x86_64)
6 depends=('python' 'wxpython')
7 license=('GPL')
8 url="http://www.labinf.polito.it/whitone/toptray/"
9 source=(
10   'http://www.labinf.polito.it/whitone/soft/TOPTray/0.1/TOPTray-0.1.tar.bz2'
11   'install.patch')
13 md5sums=('38f021f1b854cf657f5f21d967432149'
14          '7d299328d03e19197d43d9d465377ae0')
16 build() {
17   cd ${srcdir} ; patch < install.patch
18   mkdir -p ${pkgdir}/usr/bin
19   cp ${srcdir}/TOPTray.py ${pkgdir}/usr/bin/toptray
20   mkdir -p ${pkgdir}/usr/share/{doc,pixmaps,}/toptray
21   cp ${srcdir}/LICENSE ${pkgdir}/usr/share/doc/toptray/
22   cp ${srcdir}/TOPTray.png ${pkgdir}/usr/share/pixmaps/toptray/
23   cp ${srcdir}/FormParser.py ${pkgdir}/usr/share/toptray/
24   cp ${srcdir}/SetupWizard.py ${pkgdir}/usr/share/toptray/
25   cp ${srcdir}/SimpleConfig.py ${pkgdir}/usr/share/toptray/
26   cp ${srcdir}/VernierAuthentication.py ${pkgdir}/usr/share/toptray/
27   mkdir -p ${pkgdir}/usr/share/{python-support,applications}
28   echo '/usr/share/toptray' > ${pkgdir}/usr/share/python-support/toptray.dirs
29   cp ${srcdir}/TOPTray.desktop ${pkgdir}/usr/share/applications/