# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=java-cacerts
pkgver=1.0
pkgrel=0
pkgdesc="Script to update Java security certificates"
url=" "
arch="noarch"
options="!check"  # Simple script, no tests
license="MIT"
depends="p11-kit p11-kit-trust ca-certificates"
makedepends=""
subpackages=""
source="java-cacerts"

builddir="$srcdir"

package() {
	cd "$builddir"
	install -D -m755 "$srcdir"/java-cacerts \
		"$pkgdir"/etc/ca-certificates/update.d/java-cacerts
	mkdir -p "$pkgdir"/etc/ssl/certs/java
}

sha512sums="4cc444bcd15312fad08eb23ec605311ef2c525e8ae5b03bd5dfbcbf63632a0f8c5c475f0f5adecebb0c368aa6543a56f3355cf1b98ff9742e3f30a9cc55d02e8  java-cacerts"