Added doc to ca-certs

This commit is contained in:
Ella-0 2021-02-03 13:46:17 +00:00
parent ba4f0f2500
commit ac7776a449

View file

@ -1,6 +1,7 @@
pkgname=ca-certificates pkgname=ca-certificates
pkgver=202200601 pkgver=202200601
pkgrel=2 pkgrel=2
ext=doc
fetch(){ fetch(){
curl http://ftp.debian.org/debian/pool/main/c/ca-certificates/ca-certificates_20200601~deb10u2.tar.xz -o $pkgname-$pkgver.tar.gz 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 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() { license() {
cd $pkgname-$pkgver cd $pkgname-$pkgver
cat debian/copyright cat debian/copyright