Added doc to ca-certs

This commit is contained in:
Ella-0 2021-02-03 13:46:17 +00:00
parent ba4f0f2500
commit ac7776a449
1 changed files with 7 additions and 0 deletions

View File

@ -1,6 +1,7 @@
pkgname=ca-certificates
pkgver=202200601
pkgrel=2
ext=doc
fetch(){
curl http://ftp.debian.org/debian/pool/main/c/ca-certificates/ca-certificates_20200601~deb10u2.tar.xz -o $pkgname-$pkgver.tar.gz
@ -43,6 +44,12 @@ package() {
chmod +x "$pkgdir"/etc/ca-certificates/update.d/certhash
}
package_doc() {
cd $pkgname-$pkgver
install -d $pkgdir/usr/share/man/man8
install -Dm644 ./sbin/update-ca-certificates.8 $pkgdir/usr/share/man/man8
}
license() {
cd $pkgname-$pkgver
cat debian/copyright