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

Andreas Radke andyrtr at archlinux.org
Sat Oct 31 22:56:04 UTC 2020


    Date: Saturday, October 31, 2020 @ 22:56:04
  Author: andyrtr
Revision: 399094

archrelease: copy trunk to extra-x86_64

Added:
  xmlsec/repos/extra-x86_64/PKGBUILD
    (from rev 399093, xmlsec/trunk/PKGBUILD)
Deleted:
  xmlsec/repos/extra-x86_64/PKGBUILD

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-10-31 22:55:59 UTC (rev 399093)
+++ PKGBUILD	2020-10-31 22:56:04 UTC (rev 399094)
@@ -1,35 +0,0 @@
-# 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}/
-}

Copied: xmlsec/repos/extra-x86_64/PKGBUILD (from rev 399093, xmlsec/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-10-31 22:56:04 UTC (rev 399094)
@@ -0,0 +1,36 @@
+# 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.31
+pkgrel=1
+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=('9b10bc52cc31e4f76162e3975e50db26b71ab49c571d810b311ca626be5a0b26')
+#validpgpkeys=('') #
+
+build() {
+  cd ${pkgname}1-${pkgver}
+  ./configure --prefix=/usr --disable-static
+  sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
+  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