summaryrefslogtreecommitdiff
path: root/community/udevil
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-07-15 00:03:24 +0000
committerroot <root@rshg054.dnsready.net>2012-07-15 00:03:24 +0000
commit1ed995034acd07688fe8e78b1d40901bcc662155 (patch)
treeef6aab8713a3545c265159f9cd92499df5f289b4 /community/udevil
parente0f65a739c6445de07de1585e72c230958d8f011 (diff)
Sun Jul 15 00:03:24 UTC 2012
Diffstat (limited to 'community/udevil')
-rw-r--r--community/udevil/PKGBUILD39
-rw-r--r--community/udevil/udevil.install4
2 files changed, 43 insertions, 0 deletions
diff --git a/community/udevil/PKGBUILD b/community/udevil/PKGBUILD
new file mode 100644
index 000000000..7a7df6839
--- /dev/null
+++ b/community/udevil/PKGBUILD
@@ -0,0 +1,39 @@
+# $Id: PKGBUILD 73683 2012-07-13 19:36:15Z bpiotrowski $
+# Maintainer: Bartłomiej Piotrowski <nospam@bpiotrowski.pl>
+# Contributor: IgnorantGuru http://igurublog.wordpress.com/contact-ignorantguru/
+
+pkgname=udevil
+pkgver=0.3.0
+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=('nfs-utils: mount nfs shares'
+ 'sshfs: mount sftp shares'
+ 'curlftpfs: mount ftp shares'
+ 'cifs-utils: mount samba shares'
+ 'eject: eject via devmon'
+ 'zenity: devmon popups'
+ 'pmount: devmon mount without suid udevil'
+ 'udisks: devmon mount without suid udevil'
+ 'udisks2: devmon mount without suid udevil')
+provides=('devmon')
+backup=('etc/udevil/udevil.conf')
+install=$pkgname.install
+source=(https://raw.github.com/IgnorantGuru/$pkgname/master/packages/$pkgver/$pkgname-$pkgver.tar.xz)
+md5sums=('a2695eb0e9d1d2b5208f781710b1a286')
+
+build() {
+ cd $srcdir/$pkgname-$pkgver
+ ./configure --prefix=/usr
+ make
+}
+
+package() {
+ cd $srcdir/$pkgname-$pkgver
+ make DESTDIR=$pkgdir install
+}
+
diff --git a/community/udevil/udevil.install b/community/udevil/udevil.install
new file mode 100644
index 000000000..d839de662
--- /dev/null
+++ b/community/udevil/udevil.install
@@ -0,0 +1,4 @@
+post_install() {
+ echo '>>> REMEMBER to enable kernel polling when using devmon without udisks:'
+ echo ' http://ignorantguru.github.com/udevil/#polling'
+}