# $Id: PKGBUILD 189642 2013-07-03 19:47:13Z andyrtr $ # Maintainer: AndyRTR # Contributor: Jan de Groot # Contributor: Hussam Al-Tayeb pkgname=xmlsec pkgver=1.2.19 pkgrel=1 pkgdesc="XML Security Library is a C library based on LibXML2" license=('custom') arch=(i686 x86_64 'mips64el') url="http://www.aleksey.com/xmlsec/index.html" depends=('libxslt' 'openssl' 'gnutls' 'nss' 'libltdl') options=('!libtool') source=(http://www.aleksey.com/xmlsec/download/${pkgname}1-${pkgver}.tar.gz) md5sums=('fe664ba5f01ebfaeb0ab5deeb0b2249e') build() { cd ${srcdir}/${pkgname}1-${pkgver} ./configure --prefix=/usr --disable-static make } check() { cd "$srcdir/${pkgname}1-$pkgver" make -k check } package() { cd ${srcdir}/${pkgname}1-${pkgver} make DESTDIR=${pkgdir} install install -m755 -d ${pkgdir}/usr/share/licenses/${pkgname} install -m644 COPYING ${pkgdir}/usr/share/licenses/${pkgname}/ }