summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: ba3bc189f1ecc7a6a1d173a82869f02dd72d2be4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
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
}