aboutsummaryrefslogtreecommitdiffstats
path: root/community/java-cacerts/APKBUILD
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-03-02 16:17:20 -0600
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-03-02 16:17:20 -0600
commitaa83dfc0126cd7fa84c5262a0a78d71211f14026 (patch)
tree5bbc3ae979046addabaf5dab002e6c8a73183f24 /community/java-cacerts/APKBUILD
parent5b0fcfe6e6bff9f0157aa0efcf25a25c3237cb57 (diff)
downloadaports-aa83dfc0126cd7fa84c5262a0a78d71211f14026.tar.bz2
aports-aa83dfc0126cd7fa84c5262a0a78d71211f14026.tar.xz
community/java-cacerts: Modernise, mark no tests
Diffstat (limited to 'community/java-cacerts/APKBUILD')
-rw-r--r--community/java-cacerts/APKBUILD14
1 files changed, 3 insertions, 11 deletions
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 <<EOF