1 # Maintainer: Igor Mosyagin <c6h10o5@gmail.com>
3 pkgname=xmlsec-gost-git
6 pkgdesc="XMLSEC git version with GOST algorithms enabled"
8 url="http://www.aleksey.com/xmlsec/index.html"
10 depends=('libxslt>=1.1.26' 'openssl>=1.0.0' 'gnutls' 'nss>=3.12.10' 'libtool')
16 _gitroot=git://git.gnome.org/${pkgname/-*}
17 _gitname=${pkgname/-*}
22 msg "Connecting to GIT server...."
24 if [ -d "$_gitname" ] ; then
25 cd "$_gitname" && git pull origin
26 msg "The local files are updated."
28 git clone --depth 1 "$_gitroot"
30 msg "GIT checkout done or server timeout"
31 msg "Starting build..."
33 cd "$srcdir/$_gitname"
35 ./configure --prefix=/usr --disable-static --enable-gost
41 cd "$srcdir/$_gitname"
46 cd "$srcdir/$_gitname"
47 make DESTDIR="${pkgdir}/" install
48 install -m755 -d ${pkgdir}/usr/share/licenses/${_basepkgname}
49 install -m644 COPYING ${pkgdir}/usr/share/licenses/${_basepkgname}/
52 # vim:set ts=2 sw=2 et: