Commit 2c50499e authored by Luca Giambonini's avatar Luca Giambonini

libidn 1.35 and libidn2 2.2.0 [skip-ci]

parent 09b75c5f
Pipeline #4164 skipped
pkgname=libidn
pkgver=1.33
pkgver=1.35
pkgrel=1
pkgdesc="Implementation of the Stringprep, Punycode and IDNA specifications"
url="http://www.gnu.org/software/libidn/"
arch=('x86_64')
license=('GPL3' 'LGPL')
depends=('glibc' 'texinfo')
source=(http://ftp.gnu.org/gnu/${pkgname}/${pkgname}-${pkgver}.tar.gz)
install=libidn.install
sha1sums=('57872fdc665dcc585e16f4ac0bb35374b1103f7e')
depends=('glibc')
source=(https://ftp.gnu.org/gnu/${pkgname}/${pkgname}-${pkgver}.tar.gz{,.sig})
validpgpkeys=('9AA9BDB11BB1B99A21285A330664A76954265E8C' # Simon Josefsson <simon@josefsson.org>
'1CB27DBC98614B2D5841646D08302DB6A2670428') # Tim Rühsen <tim.ruehsen@gmx.de>
sha256sums=('f11af1005b46b7b15d057d7f107315a1ad46935c7fcdf243c16e46ec14f0fe1e'
'SKIP')
build() {
cd ${srcdir}/${pkgname}-${pkgver}
cd ${pkgname}-${pkgver}
./configure --prefix=/usr
make
}
check() {
cd ${pkgname}-${pkgver}
make check
}
package() {
cd ${srcdir}/${pkgname}-${pkgver}
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}
}
pkgname=libidn2
pkgver=2.2.0
_pkgver=2.2.0
pkgrel=1
pkgdesc="Implementation of the IDNA2008 + TR46 specifications"
url="https://www.gnu.org/software/libidn/#libidn2"
arch=('x86_64')
license=('GPL3' 'LGPL')
depends=('libunistring')
makedepends=('pkgconfig')
options=('!libtool')
source=("https://ftp.gnu.org/gnu/libidn/${pkgname}-${_pkgver}.tar.gz")
md5sums=('b846d4d20e22b99d6f7387bb66e00a1f')
build() {
cd ${pkgname}-${pkgver}
./configure --prefix=/usr
make
}
check() {
cd ${pkgname}-${pkgver}
make check
}
package() {
cd ${pkgname}-${pkgver}
make DESTDIR=${pkgdir} install
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment