[arch-commits] Commit in libidn/repos (testing-x86_64 testing-x86_64/PKGBUILD)
Date: Thursday, July 23, 2020 @ 18:45:27 Author: eworm Revision: 392454 archrelease: copy trunk to testing-x86_64 Added: libidn/repos/testing-x86_64/ libidn/repos/testing-x86_64/PKGBUILD (from rev 392453, libidn/trunk/PKGBUILD) --+ PKGBUILD | 46 ++ 1 file changed, 46 insertions(+) Copied: libidn/repos/testing-x86_64/PKGBUILD (from rev 392453, libidn/trunk/PKGBUILD) === --- testing-x86_64/PKGBUILD (rev 0) +++ testing-x86_64/PKGBUILD 2020-07-23 18:45:27 UTC (rev 392454) @@ -0,0 +1,46 @@ +# Maintainer: Ronald van Haren +# Contributor: Jan de Groot +# Contributor: Eric Johnson + +pkgname=libidn +pkgver=1.36 +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 + '1CB27DBC98614B2D5841646D08302DB6A2670428') # Tim Rühsen +sha256sums=('14b67108344d81ba844631640df77c9071d9fb0659b080326ff5424e86b14038' +'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}" +}
[arch-commits] Commit in libidn/repos (testing-x86_64 testing-x86_64/PKGBUILD)
Date: Tuesday, April 3, 2018 @ 07:17:21 Author: ronald Revision: 320884 archrelease: copy trunk to testing-x86_64 Added: libidn/repos/testing-x86_64/ libidn/repos/testing-x86_64/PKGBUILD (from rev 320883, libidn/trunk/PKGBUILD) --+ PKGBUILD | 40 1 file changed, 40 insertions(+) Copied: libidn/repos/testing-x86_64/PKGBUILD (from rev 320883, libidn/trunk/PKGBUILD) === --- testing-x86_64/PKGBUILD (rev 0) +++ testing-x86_64/PKGBUILD 2018-04-03 07:17:21 UTC (rev 320884) @@ -0,0 +1,40 @@ +# $Id$ +# Maintainer: Ronald van Haren +# Contributor: Jan de Groot +# Contributor: Eric Johnson + +pkgname=libidn +pkgver=1.34 +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}) +# signed by either of the two keys +validpgpkeys=('9AA9BDB11BB1B99A21285A330664A76954265E8C' + '1CB27DBC98614B2D5841646D08302DB6A2670428') +# '9AA9BDB11BB1B99A21285A330664A76954265E8C' => "Simon Josefsson" +# '1CB27DBC98614B2D5841646D08302DB6A2670428' => "Tim Rühsen " +sha256sums=('3719e2975f2fb28605df3479c380af2cf4ab4e919e1506527e4c7670afff6e3c' +'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} +}