summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlad Wenter2016-02-23 17:27:59 +0100
committerAlad Wenter2016-02-23 17:27:59 +0100
commit70cb353e8f4929bb26dce19b7a8b93a4f396ea98 (patch)
treed616bf68d91706e29a86a71b13e66730dfb491c5
parentb72fb1d244a5ab58e243497f52e04aee13db2511 (diff)
downloadaur-70cb353e8f4929bb26dce19b7a8b93a4f396ea98.tar.gz
rm bloat
-rw-r--r--PKGBUILD71
1 files changed, 26 insertions, 45 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 516047b9958..a914da5db2a 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,66 +1,47 @@
-# Maintainer: flu
+# Contributor: flu
# Contributor: IgnorantGuru http://igurublog.wordpress.com/contact-ignorantguru/
-_gitname="udevil"
-pkgname=${_gitname}-git
-pkgver=20131209.192
+pkgname=udevil-git
+pkgver=20150504.216
pkgrel=1
-pkgdesc="Mount without password - includes devmon - git branch"
+pkgdesc='Mount without password'
arch=('i686' 'x86_64')
-url=("http://ignorantguru.github.com/${_gitname}/")
+url=http://ignorantguru.github.com/udevil
license=('GPL3')
-
makedepends=('intltool' 'gettext')
depends=('udev' 'glib2')
-# See devmon dependency table:
-# http://igurublog.wordpress.com/downloads/script-devmon/#withtable
optdepends=(
- 'nfs-utils: mount nfs shares'
- 'sshfs: mount sftp shares'
- 'curlftpfs: mount ftp shares'
- 'cifs-utils: mount samba shares'
- 'davfs2: mount WebDAV shares'
- 'eject: eject via devmon'
- 'spacefm: devmon popups'
- 'zenity: devmon popups'
- 'pmount: devmon mount without suid udevil'
- 'udisks: devmon mount without suid udevil'
- 'udisks2: devmon mount without suid udevil'
+ 'nfs-utils: mount nfs shares'
+ 'sshfs: mount sftp shares'
+ 'curlftpfs: mount ftp shares'
+ 'cifs-utils: mount samba shares'
+ 'davfs2: mount WebDAV shares'
+ 'eject: eject via devmon'
+ 'spacefm: devmon popups'
+ 'zenity: devmon popups'
+ 'pmount: devmon mount without suid udevil'
+ 'udisks: devmon mount without suid udevil'
+ 'udisks2: devmon mount without suid udevil'
)
conflicts=('udevil' 'devmon' 'devmon-git')
provides=('udevil' 'devmon')
-backup=(etc/udevil/udevil.conf etc/conf.d/devmon)
-source=(git://github.com/IgnorantGuru/${_gitname}.git)
+backup=('etc/udevil/udevil.conf' 'etc/conf.d/devmon')
+options=(!strip debug)
+source=(git://github.com/IgnorantGuru/udevil.git)
md5sums=(SKIP)
-# Set USE_GDB=1 to build for gdb debugging, otherwise set USE_GDB=0
-USE_GDB=0
-
-if (( USE_GDB == 1 )); then
- options=('!strip')
-fi
-
pkgver() {
- cd "${srcdir}/${_gitname}"
- echo "$(git log -1 --format="%cd" --date=short | sed 's|-||g').$(git rev-list --count master)"
+ cd udevil
+ printf "$(git log -1 --format="%cd" --date=short | sed 's|-||g').$(git rev-list --count master)"
}
build() {
- cd "${srcdir}/${_gitname}"
-
- # make
- if (( USE_GDB == 1 )); then
- CFLAGS+="-g" ./configure --prefix=/usr
- CFLAGS+="-g" make
- else
- ./configure --prefix=/usr
- make
- fi
- msg "REMEMBER to enable kernel polling when using udevil without udisks:"
- msg " http://ignorantguru.github.com/udevil/#polling"
+ cd udevil
+ ./configure --prefix=/usr
+ make
}
package() {
- cd "${srcdir}/${_gitname}"
- make DESTDIR="${pkgdir}/" install
+ cd udevil
+ make DESTDIR="$pkgdir/" install
}