PKGBUILDs/extra/xmlsec/PKGBUILD
2009-10-09 21:23:22 -05:00

23 lines
818 B
Bash

# Maintainer: Jan de Groot <jgc@archlinux.org>
# Contributor: Hussam Al-Tayeb <ht990332@gmail.com>
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
}