[arch-commits] Commit in lib32-libidn/trunk (PKGBUILD)

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


    Date: Monday, May 17, 2021 @ 06:27:49
  Author: eworm
Revision: 935994

upgpkg: lib32-libidn 1.37-1: new upstream release

Modified:
  lib32-libidn/trunk/PKGBUILD

----------+
 PKGBUILD |   17 ++++++++---------
 1 file changed, 8 insertions(+), 9 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-05-17 01:23:16 UTC (rev 935993)
+++ PKGBUILD	2021-05-17 06:27:49 UTC (rev 935994)
@@ -2,7 +2,7 @@
 
 _pkgbasename=libidn
 pkgname=lib32-$_pkgbasename
-pkgver=1.36
+pkgver=1.37
 pkgrel=1
 pkgdesc="Implementation of the Stringprep, Punycode and IDNA specifications (32 bit)"
 url="https://www.gnu.org/software/libidn/"
@@ -10,25 +10,24 @@
 license=('GPL3' 'LGPL')
 depends=('lib32-glibc' "$_pkgbasename>=$pkgver")
 source=("https://ftp.gnu.org/gnu/${_pkgbasename}/${_pkgbasename}-${pkgver}.tar.gz"{,.sig})
-sha512sums=('0d66e10bf7a8de4b27f692a427d2c8e901b8bed73b0a36268d8f939205df81f6a30f0634fd3b87370d4e81c1327c0b10391fa122a0a5459c32a3541b8a2149ad'
+sha512sums=('198a5b2f0db3ad076e3726dda7f197835dd93a126ee796c138185abd09ee2f828042225dd570fa19b58b3e81b120daf929f348a55f9a536c546dd3311c29e27c'
             'SKIP')
 validpgpkeys=('9AA9BDB11BB1B99A21285A330664A76954265E8C'  # Simon Josefsson <simon at josefsson.org>
               '1CB27DBC98614B2D5841646D08302DB6A2670428') # Tim Rühsen <tim.ruehsen at gmx.de>
 
-prepare() {
+build() {
   cd ${_pkgbasename}-${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 ${_pkgbasename}-${pkgver}
-  ./configure --prefix=/usr --libdir=/usr/lib32 CC='gcc -m32'
+  ./configure \
+    CC='gcc -m32' \
+    --prefix=/usr \
+    --libdir=/usr/lib32
   make
 }
 
 package() {
   cd ${_pkgbasename}-${pkgver}
+
   make DESTDIR="${pkgdir}" install
   rm -rf "${pkgdir}"/usr/{bin,include,share}
 }



More information about the arch-commits mailing list