# Maintainer: Jan de Groot # Contributor: Hussam Al-Tayeb pkgname=xmlsec pkgver=1.2.11 pkgrel=2 pkgdesc="XML Security Library is a C library based on LibXML2" license=('custom') arch=(i686 x86_64) url="http://www.aleksey.com/xmlsec/index.html" depends=('libxslt>=1.1.24' 'openssl>=0.9.8h' 'gnutls>=2.4.1' 'nss>=3.12') makedepends=('pkgconfig') options=('!libtool') source=(http://www.aleksey.com/xmlsec/download/${pkgname}1-${pkgver}.tar.gz) md5sums=('5652d44eec1375a399a6c61f5f6091f1') build() { cd ${srcdir}/${pkgname}1-${pkgver} ./configure --prefix=/usr || return 1 make || return 1 make DESTDIR=${pkgdir} install || return 1 install -m755 -d ${pkgdir}/usr/share/licenses/${pkgname} install -m644 COPYING ${pkgdir}/usr/share/licenses/${pkgname}/ || return 1 }