# Contributor: Alex Laskin # Maintainer: Alex Laskin pkgname=autofs pkgver=5.1.4 pkgrel=1 pkgdesc="A kernel-based automounter for Linux" url="https://www.kernel.org/pub/linux/daemons/autofs/" arch="all" license="GPL-2.0-or-later" depends="" makedepends="linux-headers automake flex bison rpcgen libtirpc-dev libnfs-dev coreutils" subpackages="$pkgname-doc $pkgname-openrc" options="!check" # no test suite provided source=" https://www.kernel.org/pub/linux/daemons/${pkgname}/v5/${pkgname}-${pkgver}.tar.xz autofs.initd autofs.confd 10-glibc.patch " build() { cd "$builddir" ./configure \ --prefix=/usr \ --sysconfdir=/etc/autofs \ --with-mapdir=/etc/autofs \ --with-confdir=/etc/conf.d \ --without-hesiod \ --with-libtirpc \ --enable-ignore-busy make } check() { cd "$builddir" daemon/automount -V } package() { cd "$builddir" make DESTDIR="$pkgdir" install install -m755 -D "$srcdir"/$pkgname.initd \ "$pkgdir"/etc/init.d/$pkgname install -m644 -D "$srcdir"/$pkgname.confd \ "$pkgdir"/etc/conf.d/$pkgname } sha512sums="1ef48800a1e44d6bf7048923109f3b8299ef266ff0fbaf5f979c32f42c6c5e28620c1876f64b9d913fddb69244ff83226c01c666401ff6271dd6b53d31860589 autofs-5.1.4.tar.xz ea4fe994509051d7c7d2ffe820a6767164163acbdd07e38649918e4d4792afc5eaad6b0e1cc5cba790fd45519ad7b321e651351ae5718ee665e98275b695310e autofs.initd 74884b94d8c5dc72579c9c0c9f13c8918ee0babe6fc1e6352bb79cfaf6f5ce3daa87a9b2ea2f34a4600c93a971b329aa0892785fe2efd42829fb7953a6130dd7 autofs.confd c4edd75443543aa06b7741c2ee4907718d21e791ea70abc7b2b7b8413a7a82a663a3b7ef7bad1661a5d31aab86cc934cba2b4bd0803e502f7db4e73d374adf64 10-glibc.patch"