aboutsummaryrefslogtreecommitdiffstats
path: root/main/ruby/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'main/ruby/APKBUILD')
-rw-r--r--main/ruby/APKBUILD7
1 files changed, 5 insertions, 2 deletions
diff --git a/main/ruby/APKBUILD b/main/ruby/APKBUILD
index 97a04568e7..5fc15ca46b 100644
--- a/main/ruby/APKBUILD
+++ b/main/ruby/APKBUILD
@@ -4,12 +4,12 @@
pkgname=ruby
pkgver=2.3.3
_abiver=2.3.0
-pkgrel=2
+pkgrel=3
pkgdesc="An object-oriented language for quick and easy programming"
url="http://www.ruby-lang.org/en/"
arch="all"
license="Ruby"
-depends=""
+depends="ca-certificates"
depends_dev="gmp-dev"
makedepends="$depends_dev zlib-dev libressl-dev gdbm-dev db-dev readline-dev
libffi-dev coreutils yaml-dev linux-headers autoconf"
@@ -93,6 +93,9 @@ package() {
rm -R "$pkgdir"$_gemdir/cache/*
+ # Remove bundled CA certificates.
+ rm -R "$pkgdir"$_rubydir/rubygems/ssl_certs/*.pem
+
if [ -d "$pkgdir"/usr/local ]; then
local f=$(cd "$pkgdir" ; find usr/local -type f)
if [ -n "$f" ]; then