# Maintainer: AndyRTR # Contributor: Jan de Groot # Contributor: Hussam Al-Tayeb pkgname=xmlsec pkgver=1.2.37 pkgrel=1 pkgdesc="XML Security Library is a C library based on LibXML2" license=('custom') arch=('x86_64') url="https://www.aleksey.com/xmlsec/index.html" depends=('libxslt' 'openssl' 'gnutls' 'nss' 'libltdl') provides=('libxmlsec1.so' 'libxmlsec1-openssl.so' 'libxmlsec1-nss.so' 'libxmlsec1-gnutls.so' 'libxmlsec1-gcrypt.so') #source=(https://www.aleksey.com/xmlsec/download/${pkgname}1-${pkgver}.{tar.gz,sig}) # signature file not compatible source=(https://www.aleksey.com/xmlsec/download/${pkgname}1-${pkgver}.tar.gz) sha256sums=('5f8dfbcb6d1e56bddd0b5ec2e00a3d0ca5342a9f57c24dffde5c796b2be2871c') #validpgpkeys=('') # build() { cd ${pkgname}1-${pkgver} ./configure --prefix=/usr --disable-static sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool make } check() { cd ${pkgname}1-$pkgver make check } package() { cd ${pkgname}1-${pkgver} make DESTDIR="${pkgdir}" install install -Dm644 COPYING -t "${pkgdir}/usr/share/licenses/${pkgname}" }