summaryrefslogtreecommitdiff
path: root/community/autofs/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/autofs/PKGBUILD')
-rw-r--r--community/autofs/PKGBUILD21
1 files changed, 9 insertions, 12 deletions
diff --git a/community/autofs/PKGBUILD b/community/autofs/PKGBUILD
index 2b07c46b2..9404d5f3a 100644
--- a/community/autofs/PKGBUILD
+++ b/community/autofs/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 90885 2013-05-15 08:03:41Z bpiotrowski $
+# $Id: PKGBUILD 92244 2013-06-03 11:15:10Z allan $
# Maintainer: Lukas Fleischer <archlinux at cryptocrack dot de>
# Contributor: Andrea Scarpino <andrea@archlinux.org>
# Contributor: Dale Blount <dale@archlinux.org>
@@ -6,7 +6,7 @@
pkgname=autofs
pkgver=5.0.7
-pkgrel=2
+pkgrel=3
pkgdesc='A kernel-based automounter for Linux.'
arch=('i686' 'x86_64' 'mips64el')
url='http://freshmeat.net/projects/autofs'
@@ -14,19 +14,15 @@ license=('GPL2')
depends=('libxml2')
makedepends=('libldap' 'krb5' 'kmod')
optdepends=('krb5: for LDAP support')
-backup=('etc/autofs/auto.master'
- 'etc/autofs/auto.misc'
- 'etc/conf.d/autofs')
+backup=('etc/default/autofs'
+ 'etc/autofs/auto.master'
+ 'etc/autofs/auto.misc')
options=(!makeflags)
install='autofs.install'
source=("http://www.kernel.org/pub/linux/daemons/${pkgname}/v5/${pkgname}-${pkgver}.tar.bz2"
- 'autofs'
- 'autofs.conf.d'
'auto.master'
'auto.misc')
md5sums=('bc46838dece83c02d800ff144ed9f431'
- 'e307bf6d2638e46eeb916cf42fe029b2'
- '47f597c870410055e0fdb66103daf928'
'a6cefb591e77b31b79dbb7243646c96b'
'd8a15ec9186c5c0b36e5cea1e2739e8a')
@@ -36,7 +32,8 @@ build() {
sed -i "s:SUBDIRS = lib daemon modules man samples:SUBDIRS = lib daemon modules man:" \
Makefile.rules
- ./configure --prefix=/usr --sysconfdir=/etc/autofs --with-mapdir=/etc/autofs --without-hesiod \
+ ./configure --prefix=/usr --sysconfdir=/etc/autofs --sbindir=/usr/bin \
+ --with-mapdir=/etc/autofs --without-hesiod \
--enable-ignore-busy --with-systemd
make
}
@@ -48,8 +45,8 @@ package() {
install -Dm0644 "${srcdir}/auto.master" "${pkgdir}/etc/autofs/auto.master"
install -Dm0644 "${srcdir}/auto.misc" "${pkgdir}/etc/autofs/auto.misc"
- install -Dm0755 "${srcdir}/autofs" "${pkgdir}/etc/rc.d/autofs"
- install -Dm0644 "${srcdir}/autofs.conf.d" "${pkgdir}/etc/conf.d/autofs"
install -Dm0644 "samples/autofs.service" "${pkgdir}/usr/lib/systemd/system/autofs.service"
}
+
+# vim:set ts=2 sw=2 et: