summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO27
-rw-r--r--PKGBUILD37
-rw-r--r--udevil.install4
3 files changed, 68 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..465aa2b5c7a
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,27 @@
+pkgbase = udevil
+ pkgdesc = Mount and unmount without password
+ pkgver = 0.4.4
+ pkgrel = 4
+ url = https://ignorantguru.github.com/udevil/
+ install = udevil.install
+ arch = x86_64
+ license = GPL3
+ makedepends = intltool
+ makedepends = gettext
+ makedepends = git
+ depends = udev
+ depends = glib2
+ optdepends = davfs2: mount WebDAV shares
+ optdepends = nfs-utils: mount nfs shares
+ optdepends = sshfs: mount sftp shares
+ optdepends = curlftpfs: mount ftp shares
+ optdepends = cifs-utils: mount samba shares
+ optdepends = zenity: devmon popups
+ optdepends = udisks2: devmon mount without suid udevil
+ provides = devmon
+ backup = etc/udevil/udevil.conf
+ backup = etc/conf.d/devmon
+ source = udevil-0.4.4::git+https://github.com/IgnorantGuru/udevil.git#commit=77a61806fadbf19f02072df1aa67191fc375c35d
+ sha256sums = SKIP
+
+pkgname = udevil
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..ba3bc189f1e
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,37 @@
+# Maintainer: Alad Wenter <alad@mailbox.org>
+# Contributor: Bartłomiej Piotrowski <nospam@bpiotrowski.pl>
+# Contributor: IgnorantGuru http://igurublog.wordpress.com/contact-ignorantguru/
+
+pkgname=udevil
+pkgver=0.4.4
+pkgrel=4
+_commit=77a61806fadbf19f02072df1aa67191fc375c35d
+arch=('x86_64')
+pkgdesc='Mount and unmount without password'
+url='https://ignorantguru.github.com/udevil/'
+license=('GPL3')
+makedepends=('intltool' 'gettext' 'git')
+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' 'etc/conf.d/devmon')
+install=$pkgname.install
+source=("$pkgname-$pkgver::git+https://github.com/IgnorantGuru/udevil.git#commit=$_commit")
+sha256sums=('SKIP')
+
+build() {
+ cd "$pkgname-$pkgver"
+ ./configure --prefix=/usr
+ make
+}
+
+package() {
+ cd "$pkgname-$pkgver"
+ make DESTDIR="$pkgdir" install
+}
diff --git a/udevil.install b/udevil.install
new file mode 100644
index 00000000000..d839de6628e
--- /dev/null
+++ b/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'
+}