summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorRafael Fontenelle2018-10-02 17:07:39 -0300
committerRafael Fontenelle2018-10-02 17:43:16 -0300
commit54cb2c6d7f76e33eb769579aed598067ff2104c1 (patch)
tree694975f795eb458b98b980a9fa5da82a277543e6 /PKGBUILD
parentffcba85cfb19e090e83bb7626cd66cf2f50123c4 (diff)
downloadaur-54cb2c6d7f76e33eb769579aed598067ff2104c1.tar.gz
Update to 20181002
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD9
1 files changed, 4 insertions, 5 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 9747e42c892..c2483c29a09 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
# Contributor: Tiago Brait <tiagobrait AT gmail DOT com>
pkgname=ca-certificates-icp_br
-pkgver=20180926
+pkgver=20181002
pkgrel=1
pkgdesc="Brazilian government Certification Authorities"
arch=('any')
@@ -11,13 +11,12 @@ license=('unknown')
depends=('ca-certificates-utils')
makedepends=('unzip')
source=("icpbr_certs-${pkgver}-${pkgrel}.zip::http://acraiz.icpbrasil.gov.br/credenciadas/CertificadosAC-ICP-Brasil/ACcompactado.zip")
-sha512sums=('a958236d541d73b26f392c1f51352092f891e18cad35c684f8a10c457bf5e3e057dcaefc3efbba0ecd32d051c3afee830c1277532a00709b3a42407951117a91')
+sha512sums=('86e74cffac2493538c25bd7f28f7cc79d04221398667f4b0ce56a1a23475d2b9bc2b34f43deb091dd04c2f090fe733b574e1af701ffc352371584e39728022e5')
package() {
- local cert_tag='icp_br'
find * -print0 | while read -d $'\0' cert; do
- # Remove whitespaces from filenames
- mv "$cert" "$cert_tag.${cert//' '/'_'}"
+ # Edit filenames removing whitespaces and prepending 'icp_br'
+ mv "$cert" "icp_br.${cert//' '/'_'}"
done
install -d -m0755 "$pkgdir/usr/share/ca-certificates/trust-source/anchors"
install -vm0644 *.crt "$pkgdir/usr/share/ca-certificates/trust-source/anchors"