1 # Maintainer: Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
2 # Contributor: Andrea Scarpino <bash.lnx@gmail.com>
4 pkgname=adesklet-mounter
7 pkgdesc="A simple desklet that allows a user to (un)mount a device and see its free space"
10 url="http://adesklets.sourceforge.net/desklets.html"
12 groups=('adesklet-desklets')
13 source=(http://downloads.sourceforge.net/adesklets/mounter-$pkgver.tar.bz2)
14 md5sums=('6376e73d6659f5c02dd468b4be05b3ab')
17 cd ${srcdir}/mounter-$pkgver
20 sed -i 's_env python_env python2_' mounter.py
22 install -d ${pkgdir}/usr/share/adesklets/mounter
23 cp -r README icons/ ${pkgdir}/usr/share/adesklets/mounter
24 chmod -R 644 ${pkgdir}/usr/share/adesklets/mounter
25 chown -R :adesklets ${pkgdir}/usr/share/adesklets/mounter
26 install -m775 -g adesklets mounter.py ${pkgdir}/usr/share/adesklets/mounter