summaryrefslogtreecommitdiffstats
path: root/abs/core/udevil
diff options
context:
space:
mode:
Diffstat (limited to 'abs/core/udevil')
-rw-r--r--abs/core/udevil/PKGBUILD39
-rw-r--r--abs/core/udevil/udevil.install4
2 files changed, 43 insertions, 0 deletions
diff --git a/abs/core/udevil/PKGBUILD b/abs/core/udevil/PKGBUILD
new file mode 100644
index 0000000..912d0bf
--- /dev/null
+++ b/abs/core/udevil/PKGBUILD
@@ -0,0 +1,39 @@
+# $Id: PKGBUILD 80589 2012-11-26 14:58:37Z bpiotrowski $
+# Maintainer: Bartłomiej Piotrowski <nospam@bpiotrowski.pl>
+# Contributor: IgnorantGuru http://igurublog.wordpress.com/contact-ignorantguru/
+
+pkgname=udevil
+pkgver=0.3.5
+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)
+
+build() {
+ cd $srcdir/$pkgname-$pkgver
+ ./configure --prefix=/usr
+ make
+}
+
+package() {
+ cd $srcdir/$pkgname-$pkgver
+ make DESTDIR=$pkgdir install
+}
+
+md5sums=('0acb03c85f06fc8b59c6997830613529')
diff --git a/abs/core/udevil/udevil.install b/abs/core/udevil/udevil.install
new file mode 100644
index 0000000..d839de6
--- /dev/null
+++ b/abs/core/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'
+}