updated on Thu Jan 12 04:00:44 UTC 2012
[aur-mirror.git] / usbmanager / PKGBUILD
blob1b0a6f6841e86beb773583cdc894f2dbefefb832
1 # Contributor: phillipe <phillipe@archlinux.com.br>
2 pkgname=usbmanager
3 pkgver=1.0.0
4 pkgrel=1
5 pkgdesc="An USB storage management interface."
6 arch=('any')
7 url="https://launchpad.net/usbmanager"
8 depends=('hal' 'gtk2' 'python>=2.6' 'pygtk' 'python-notify')
9 optdepends=('mtools: to get the name [label] of the usb device.')
10 license=('GPL')
11 source=("http://launchpad.net/usbmanager/1.x/1.0.0/+download/${pkgname}-${pkgver}.tar.gz")
12 md5sums=('d51e01cf78e0c5b1628646e3652ea510')
14 build(){
15         cd ${srcdir}/${pkgname}
16         python setup.py install --root $pkgdir
17         sed -i 's/^Exec=usbmanager/Exec=usbmanager --tray/' ${pkgdir}/usr/share/applications/${pkgname}.desktop
18         rm -rf ${pkgdir}/root