OCaml 4.13.1 rebuild
[arch-packages.git] / mkinitcpio-nfs-utils / trunk / PKGBUILD
blobf2800839c2e9fda1045e9045d020f481fe7b8d0f
1 # Maintainer: Thomas Bächler <thomas@archlinux.org>
3 pkgname=mkinitcpio-nfs-utils
4 pkgver=0.3
5 pkgrel=7
6 pkgdesc="ipconfig and nfsmount tools for NFS root support in mkinitcpio"
7 arch=('x86_64')
8 url="http://www.archlinux.org/"
9 license=('GPL2')
10 depends=('glibc')
11 source=("https://sources.archlinux.org/other/mkinitcpio/$pkgname-$pkgver.tar.xz"
12         'nfsmount-fix-wrong-umount-path.patch'
13         'initcpio-install-net'
14         'initcpio-hook-net')
15 sha256sums=('d290d489844fae100ca7b848b8eef40078124ff373203086bacc07329d1e8939'
16             '6edb239f3d541b8ddee816e2d18bfb3ee1d3f5f8827769674cc8bf2a7ce38f21'
17             'ce9f021763c020b9b62a761974437fd1e9e894df3effc58e71671bf83b061255'
18             '29a5a4a9ebd61bfa1afbb8dcaf2187e487ee1f34b1979a85a853fa2acbeb510e')
20 build() {
21   cd "$pkgname-$pkgver"
23   # upstream commit 029622dfbfe25203275a385a5bf33d44c2409b00
24   patch -Np1 < "$srcdir/nfsmount-fix-wrong-umount-path.patch"
26   make
29 package() {
30   make -C "$pkgname-$pkgver" DESTDIR="$pkgdir" install
32   # override hooks, they need updates
33   install -m644 "$srcdir/initcpio-install-net" "$pkgdir/usr/lib/initcpio/install/net"
34   install -m644 "$srcdir/initcpio-hook-net" "$pkgdir/usr/lib/initcpio/hooks/net"