[arch-commits] Commit in xmlsec/trunk (PKGBUILD)
Jan de Groot
jgc at archlinux.org
Sun Aug 3 16:04:51 UTC 2008
Date: Sunday, August 3, 2008 @ 12:04:51
Author: jgc
Revision: 7677
upgpkg: xmlsec 1.2.11-2
Rebuild for GNUTLS
Modified:
xmlsec/trunk/PKGBUILD
----------+
PKGBUILD | 13 +++++++------
1 file changed, 7 insertions(+), 6 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2008-08-03 16:04:21 UTC (rev 7676)
+++ PKGBUILD 2008-08-03 16:04:51 UTC (rev 7677)
@@ -2,21 +2,22 @@
# Contributor: Hussam Al-Tayeb <ht990332 at gmail.com>
pkgname=xmlsec
pkgver=1.2.11
-pkgrel=1
+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=('libxml2' 'libxslt' 'openssl' 'gnutls' 'nss')
+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 ${startdir}/src/${pkgname}1-${pkgver}
- ./configure --prefix=/usr
+ cd ${srcdir}/${pkgname}1-${pkgver}
+ ./configure --prefix=/usr || return 1
make || return 1
- make DESTDIR=${startdir}/pkg install
- install -D -m644 ${startdir}/src/${pkgname}1-${pkgver}/COPYING ${startdir}/pkg/usr/share/licenses/${pkgname}/COPYING
+ make DESTDIR=${pkgdir} install || return 1
+ install -m755 -d ${pkgdir}/usr/share/licenses/${pkgname}
+ install -m644 COPYING ${pkgdir}/usr/share/licenses/${pkgname}/ || return 1
}
More information about the arch-commits
mailing list