[arch-commits] Commit in xmlsec/repos (staging-x86_64 staging-x86_64/PKGBUILD)

Evangelos Foutras foutrelis at archlinux.org
Mon Apr 27 09:54:13 UTC 2020


    Date: Monday, April 27, 2020 @ 09:54:12
  Author: foutrelis
Revision: 381684

archrelease: copy trunk to staging-x86_64

Added:
  xmlsec/repos/staging-x86_64/
  xmlsec/repos/staging-x86_64/PKGBUILD
    (from rev 381683, xmlsec/trunk/PKGBUILD)

----------+
 PKGBUILD |   35 +++++++++++++++++++++++++++++++++++
 1 file changed, 35 insertions(+)

Copied: xmlsec/repos/staging-x86_64/PKGBUILD (from rev 381683, xmlsec/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2020-04-27 09:54:12 UTC (rev 381684)
@@ -0,0 +1,35 @@
+# Maintainer: AndyRTR <andyrtr at archlinux.org>
+# Contributor: Jan de Groot <jgc at archlinux.org>
+# Contributor: Hussam Al-Tayeb <ht990332 at gmail.com>
+
+pkgname=xmlsec
+pkgver=1.2.30
+pkgrel=2
+pkgdesc="XML Security Library is a C library based on LibXML2"
+license=('custom')
+arch=('x86_64')
+url="https://www.aleksey.com/xmlsec/index.html"
+depends=('libxslt' 'openssl' 'gnutls' 'nss' 'libltdl')
+provides=('libxmlsec1.so' 'libxmlsec1-openssl.so' 'libxmlsec1-nss.so' 'libxmlsec1-gnutls.so' 'libxmlsec1-gcrypt.so')
+#source=(https://www.aleksey.com/xmlsec/download/${pkgname}1-${pkgver}.{tar.gz,sig}) # signature file not compatible
+source=(https://www.aleksey.com/xmlsec/download/${pkgname}1-${pkgver}.tar.gz)
+sha256sums=('2d84360b03042178def1d9ff538acacaed2b3a27411db7b2874f1612ed71abc8')
+#validpgpkeys=('') #
+
+build() {
+  cd ${pkgname}1-${pkgver}
+  ./configure --prefix=/usr --disable-static
+  make
+}
+
+check() {
+  cd ${pkgname}1-$pkgver
+  make -k check
+}
+
+package() {
+  cd ${pkgname}1-${pkgver}
+  make DESTDIR="${pkgdir}" install
+  install -m755 -d "${pkgdir}"/usr/share/licenses/${pkgname}
+  install -m644 COPYING "${pkgdir}"/usr/share/licenses/${pkgname}/
+}



More information about the arch-commits mailing list