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

Evangelos Foutras foutrelis at archlinux.org
Sat May 16 11:56:25 UTC 2020


    Date: Saturday, May 16, 2020 @ 11:56:25
  Author: foutrelis
Revision: 384385

archrelease: copy trunk to staging-x86_64

Added:
  libidn/repos/staging-x86_64/
  libidn/repos/staging-x86_64/PKGBUILD
    (from rev 384384, libidn/trunk/PKGBUILD)

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

Copied: libidn/repos/staging-x86_64/PKGBUILD (from rev 384384, libidn/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2020-05-16 11:56:25 UTC (rev 384385)
@@ -0,0 +1,46 @@
+# Maintainer: Ronald van Haren <ronald.archlinux.org>
+# Contributor: Jan de Groot <jgc.archlinux.org>
+# Contributor: Eric Johnson <eric.archlinux.org>
+
+pkgname=libidn
+pkgver=1.35
+pkgrel=3
+pkgdesc="Implementation of the Stringprep, Punycode and IDNA specifications"
+url="https://www.gnu.org/software/libidn/"
+arch=('x86_64')
+license=('GPL3' 'LGPL')
+depends=('glibc')
+source=("https://ftp.gnu.org/gnu/${pkgname}/${pkgname}-${pkgver}.tar.gz"{,.sig})
+validpgpkeys=('9AA9BDB11BB1B99A21285A330664A76954265E8C'  # Simon Josefsson <simon at josefsson.org>
+              '1CB27DBC98614B2D5841646D08302DB6A2670428') # Tim Rühsen <tim.ruehsen at gmx.de>
+sha256sums=('f11af1005b46b7b15d057d7f107315a1ad46935c7fcdf243c16e46ec14f0fe1e'
+            'SKIP')
+
+prepare() {
+  cd "${pkgname}-${pkgver}"
+  # https://git.savannah.gnu.org/cgit/gnulib.git/commit/?id=cca32830b5
+  sed -i '/pragma weak pthread_create/d' {lib/,}gltests/glthread/thread.h
+}
+
+build() {
+  cd "${pkgname}-${pkgver}"
+
+  ./configure \
+    --prefix=/usr
+  make
+}
+
+check() {
+  cd "${pkgname}-${pkgver}"
+
+  make check
+}
+
+package() {
+  cd "${pkgname}-${pkgver}"
+
+  make DESTDIR="${pkgdir}" install
+  # doc html installation - gtk-doc isn't supported anymore - FS#55151
+  mkdir -p "${pkgdir}/usr/share/gtk-doc/html/${pkgname}"
+  cp -r -v doc/reference/html/* "${pkgdir}/usr/share/gtk-doc/html/${pkgname}"
+}


More information about the arch-commits mailing list