summaryrefslogtreecommitdiff
path: root/user/java-cacerts/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'user/java-cacerts/APKBUILD')
-rw-r--r--user/java-cacerts/APKBUILD24
1 files changed, 24 insertions, 0 deletions
diff --git a/user/java-cacerts/APKBUILD b/user/java-cacerts/APKBUILD
new file mode 100644
index 000000000..b096f7795
--- /dev/null
+++ b/user/java-cacerts/APKBUILD
@@ -0,0 +1,24 @@
+# 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"