[arch-commits] Commit in linux/trunk (PKGBUILD)
Jan Steffens
heftig at archlinux.org
Mon Aug 20 21:52:23 UTC 2018
Date: Monday, August 20, 2018 @ 21:52:22
Author: heftig
Revision: 332718
Add some useful symlinks
Modified:
linux/trunk/PKGBUILD
----------+
PKGBUILD | 8 ++++++++
1 file changed, 8 insertions(+)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2018-08-20 20:53:22 UTC (rev 332717)
+++ PKGBUILD 2018-08-20 21:52:22 UTC (rev 332718)
@@ -192,6 +192,10 @@
esac
done < <(find "$builddir" -type f -perm -u+x ! -name vmlinux -print0)
+ msg2 "Adding symlink..."
+ mkdir -p "$pkgdir/usr/src"
+ ln -sr "$builddir" "$pkgdir/usr/src/$pkgbase-$pkgver"
+
msg2 "Fixing permissions..."
chmod -Rc u=rwX,go=rX "$pkgdir"
}
@@ -207,6 +211,10 @@
mkdir -p "$builddir"
cp -t "$builddir" -a Documentation
+ msg2 "Adding symlink..."
+ mkdir -p "$pkgdir/usr/share/doc"
+ ln -sr "$builddir/Documentation" "$pkgdir/usr/share/doc/$pkgbase"
+
msg2 "Fixing permissions..."
chmod -Rc u=rwX,go=rX "$pkgdir"
}
More information about the arch-commits
mailing list