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

Christian Hesse eworm at archlinux.org
Mon May 17 06:25:25 UTC 2021


    Date: Monday, May 17, 2021 @ 06:25:25
  Author: eworm
Revision: 415617

archrelease: copy trunk to testing-x86_64

Added:
  libidn/repos/testing-x86_64/
  libidn/repos/testing-x86_64/PKGBUILD
    (from rev 415616, libidn/trunk/PKGBUILD)

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

Copied: libidn/repos/testing-x86_64/PKGBUILD (from rev 415616, libidn/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2021-05-17 06:25:25 UTC (rev 415617)
@@ -0,0 +1,40 @@
+# Maintainer: Ronald van Haren <ronald.archlinux.org>
+# Contributor: Jan de Groot <jgc.archlinux.org>
+# Contributor: Eric Johnson <eric.archlinux.org>
+
+pkgname=libidn
+pkgver=1.37
+pkgrel=1
+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=('3c8e970d5cd80a8cb56f59c61611535336343942e3f1c81b0190c69993a692c2'
+            'SKIP')
+
+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