pkgname=make-ca
pkgver=1.13
pkgrel=3
arch=('armv7h' 'aarch64')
license=('unknown')
source=("$pkgname-$pkgver.tar.xz"
"certdata.txt")
provides=(ca-certificates)
package() {
install=make-ca.install
cd "$pkgname-$pkgver"
make DESTDIR="$pkgdir/" install
install -vdm755 "$pkgdir"/etc/ssl/local
mkdir -p "$pkgdir"/etc/ssl/certs
cp ../certdata.txt "$pkgdir"/etc/ssl
ln -s /etc/pki/tls/certs/ca-bundle.crt "$pkgdir"/etc/ssl/certs/ca-certificates.crt
echo "ln -sf /etc/pki/tls/certs/ca-bundle.crt /etc/ssl/certs/ca-certificates.crt" >> "$pkgdir"/usr/sbin/make-ca
}
sha256sums=('8671a196bc3e46287bbdf745475697d07fa46bb337071f81509d2b4359cdbbe8'
'4d96bd539f4719e9ace493757afbe4a23ee8579de1c97fbebc50bba3c12e8c1e')