🔒 Repository is read-only – file editing is disabled.
123456789101112131415161718192021222324252627282930313233
pkgname: libidn2
pkgver: '2.3.8'
pkgrel: '1'
pkgdesc: 'Designed for internationalized string handling based on the Stringprep'
url: 'http://www.gnu.org/software/libidn/'
arch: x86_64
depends: []
makedepends:
- libunistring
source:
- 'https://ftp.gnu.org/gnu/libidn/${pkgname}-${pkgver}.tar.gz'
sha256sums:
- SKIP
build: |
cd ${pkgname}-${pkgver}
./configure --prefix=/usr --disable-static
make
make DESTDIR=${PKGDIR} install
rm -f ${PKGDIR}/usr/lib/${pkgname}.la
package: |
true
update: |
local url ext
url="https://ftp.gnu.org/gnu/${pkgname}/"
ext=".tar.gz"
lynx -read_timeout=20 -dump -listonly -nonumbers \
$url?C=M\;O=A|grep ${pkgname}-[0-9]|grep [0-9]$ext$| \
sed "s@$url${pkgname}-@@"|sed "s@$ext@@"|tail -1