[arch-commits] Commit in lib32-libtasn1/repos (2 files)

Laurent Carlier lcarlier at gemini.archlinux.org
Wed Nov 10 08:52:27 UTC 2021


    Date: Wednesday, November 10, 2021 @ 08:52:27
  Author: lcarlier
Revision: 1039543

archrelease: copy trunk to multilib-testing-x86_64

Added:
  lib32-libtasn1/repos/multilib-testing-x86_64/
  lib32-libtasn1/repos/multilib-testing-x86_64/PKGBUILD
    (from rev 1039542, lib32-libtasn1/trunk/PKGBUILD)

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

Copied: lib32-libtasn1/repos/multilib-testing-x86_64/PKGBUILD (from rev 1039542, lib32-libtasn1/trunk/PKGBUILD)
===================================================================
--- multilib-testing-x86_64/PKGBUILD	                        (rev 0)
+++ multilib-testing-x86_64/PKGBUILD	2021-11-10 08:52:27 UTC (rev 1039543)
@@ -0,0 +1,42 @@
+# Maintainer: Laurent Carlier <lordheavym at gmail.com>
+# Contributor: Florian Pritz <bluewind at xinu.at>
+# Contributor: josephgbr <rafael.f.f1 at gmail.com>
+
+_pkgbase=libtasn1
+pkgname=lib32-${_pkgbase}
+pkgver=4.18.0
+pkgrel=1
+pkgdesc="The ASN.1 library used in GNUTLS (32 bit)"
+arch=('x86_64')
+license=('GPL3' 'LGPL')
+url="https://www.gnu.org/software/libtasn1/"
+depends=('lib32-glibc' ${_pkgbase})
+makedepends=('gcc-multilib')
+provides=('libtasn1.so')
+source=(https://ftp.gnu.org/gnu/libtasn1/${_pkgbase}-${pkgver}.tar.gz{,.sig})
+sha256sums=('4365c154953563d64c67a024b607d1ee75c6db76e0d0f65709ea80a334cd1898'
+            'SKIP')
+validpgpkeys=('B1D2BD1375BECB784CF4F8C4D73CF638C53C06BE') # "Simon Josefsson <simon at josefsson.org>"
+
+build() {
+  export CC='gcc -m32'
+  export CXX='g++ -m32'
+  export PKG_CONFIG_PATH='/usr/lib32/pkgconfig'
+
+  cd ${_pkgbase}-${pkgver}
+
+  ./configure --prefix=/usr \
+      --libdir=/usr/lib32 \
+      --with-packager=Archlinux \
+      --with-packager-bug-reports="http://bugs.archlinux.org/" \
+      --with-packager-version=${pkgver}-${pkgrel}
+  make
+}
+
+package() {
+  cd ${_pkgbase}-${pkgver}
+
+  make DESTDIR="${pkgdir}" install
+
+  rm -rf "${pkgdir}/usr/"{bin,include,share}
+}



More information about the arch-commits mailing list