summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 1909f1c74a777e3028d8ee0acca93c29bdfd1b92 (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
27
28
29
30
31
32
33
34
35
36
# Maintainer: kevku <kevku@gmx.com>
pkgname='xml-security-c'
pkgver='2.0.2'
pkgrel='3'
pkgdesc='C++ Implementation of W3C security standards for XML'
arch=('i686' 'x86_64')
url='http://santuario.apache.org/'
license=('Apache')
depends=('xerces-c' 'xalan-c')
source=("https://archive.apache.org/dist/santuario/c-library/$pkgname-$pkgver.tar.bz2.asc"
        "https://archive.apache.org/dist/santuario/c-library/$pkgname-$pkgver.tar.bz2"
        "xalan-c-1.12.patch")
sha256sums=('SKIP'
            '39e963ab4da477b7bda058f06db37228664c68fe68902d86e334614dd06e046b'
            'fe009b1cadcbce62015229138ab9a8a07981264e802213d0888c281538748907')
validpgpkeys=('DCAA15007BED9DE690CD9523378B845402277962')

prepare() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  patch -p1 -i "${srcdir}/xalan-c-1.12.patch"
}

build() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  ./configure --prefix=/usr \
    --without-nss \
    --with-openssl=/usr \
    --disable-debug \
    --disable-static
  make
}

package(){
  cd "${srcdir}/${pkgname}-${pkgver}"
  make DESTDIR="$pkgdir" install
}