# $Id$ # Maintainer: Bartłomiej Piotrowski # Contributor: IgnorantGuru http://igurublog.wordpress.com/contact-ignorantguru/ pkgname=udevil pkgver=0.4.4 pkgrel=1 arch=('i686' 'x86_64') pkgdesc='Mount and unmount without password' url='http://ignorantguru.github.com/udevil/' license=('GPL3') makedepends=('intltool' 'gettext') depends=('udev' 'glib2') optdepends=('davfs2: mount WebDAV shares' 'nfs-utils: mount nfs shares' 'sshfs: mount sftp shares' 'curlftpfs: mount ftp shares' 'cifs-utils: mount samba shares' 'zenity: devmon popups' 'udisks2: devmon mount without suid udevil') provides=('devmon') backup=('etc/udevil/udevil.conf') install=$pkgname.install source=($pkgname-$pkgver.tar.gz::https://github.com/IgnorantGuru/udevil/archive/$pkgver.tar.gz) md5sums=('281aa065d92c679cb41728069e72b272') build() { cd $pkgname-$pkgver sed -i 's:#include :#include \n#include :g' src/device-info.h ./configure --prefix=/usr make } package() { cd $pkgname-$pkgver make DESTDIR="$pkgdir" install }