summaryrefslogtreecommitdiffstats
path: root/abs/core/ca-certificates-cacert/PKGBUILD
blob: f8bfeffe25d984bef77555fcb637745afce3bd0c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# $Id$
# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens@gmail.com>

pkgname=ca-certificates-cacert
pkgver=20140824
pkgrel=2
pkgdesc="CAcert.org root certificates"
arch=(any)
url="https://www.cacert.org/index.php?id=3"
license=('custom:RDL')
depends=(ca-certificates-utils)
install=ca-certificates-cacert.install
source=(CAcert.org_root.crt::http://www.cacert.org/certs/root.crt
        CAcert.org_class3.crt::http://www.cacert.org/certs/class3.crt
        LICENSE)
sha256sums=('c0e0773a79dceb622ef6410577c19c1e177fb2eb9c623a49340de3c9f1de2560'
            'f5badaa5da1cc05b110a9492455a2c2790d00c7175dcf3a7bcb5441af71bf84f'
            '2d9007a467e72d437ecfa13cc605c371e98a469f1aac4c890be74f953559833c')

package() {
  local _certdir="$pkgdir/usr/share/ca-certificates/trust-source/anchors"
  install -d "$_certdir"
  install -t "$_certdir" -m644 *.crt

  install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}