[arch-commits] Commit in xmlsec/repos (testing-x86_64 testing-x86_64/PKGBUILD)
Jan Steffens
heftig at gemini.archlinux.org
Tue Aug 30 18:03:26 UTC 2022
Date: Tuesday, August 30, 2022 @ 18:03:26
Author: heftig
Revision: 454786
archrelease: copy trunk to testing-x86_64
Added:
xmlsec/repos/testing-x86_64/
xmlsec/repos/testing-x86_64/PKGBUILD
(from rev 454785, xmlsec/trunk/PKGBUILD)
----------+
PKGBUILD | 36 ++++++++++++++++++++++++++++++++++++
1 file changed, 36 insertions(+)
Copied: xmlsec/repos/testing-x86_64/PKGBUILD (from rev 454785, xmlsec/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2022-08-30 18:03:26 UTC (rev 454786)
@@ -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.34
+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')
+options=('debug')
+#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=('52ced4943f35bd7d0818a38298c1528ca4ac8a54440fd71134a07d2d1370a262')
+#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 -Dm644 COPYING -t "${pkgdir}/usr/share/licenses/${pkgname}"
+}
More information about the arch-commits
mailing list