From aa83dfc0126cd7fa84c5262a0a78d71211f14026 Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Fri, 2 Mar 2018 16:17:20 -0600 Subject: community/java-cacerts: Modernise, mark no tests --- community/java-cacerts/APKBUILD | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) (limited to 'community') diff --git a/community/java-cacerts/APKBUILD b/community/java-cacerts/APKBUILD index 7f43fc0133..917bd773b0 100644 --- a/community/java-cacerts/APKBUILD +++ b/community/java-cacerts/APKBUILD @@ -5,6 +5,7 @@ pkgrel=0 pkgdesc="Script to update java cacerts store" url="https://git.alpinelinux.org/cgit/aports/community/java-cacerts" arch="noarch" +options="!check" # Simple script, no tests license="MIT" depends="p11-kit p11-kit-trust ca-certificates" depends_dev="" @@ -13,23 +14,14 @@ install="$pkgname.post-deinstall" subpackages="" source="" -_builddir="$srcdir" -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} +builddir="$srcdir" build() { return 0 } package() { - cd "$_builddir" + cd "$builddir" mkdir -p "$pkgdir"/etc/ca-certificates/update.d \ "$pkgdir"/etc/ssl/certs/java || return 1 cat > "$pkgdir"/etc/ca-certificates/update.d/java-cacerts <