Add some useful symlinks
This commit is contained in:
parent
2652a0b904
commit
469e40c71d
8
PKGBUILD
8
PKGBUILD
|
@ -191,6 +191,10 @@ _package-headers() {
|
|||
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"
|
||||
}
|
||||
|
@ -206,6 +210,10 @@ _package-docs() {
|
|||
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"
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue