12345678910111213141516171819202122232425262728293031323334353637 |
- # Maintainer (Arch): Evangelos Foutras <evangelos@foutrelis.com>
- # Contributor (Arch): Daurnimator <quae@daurnimator.com>
- # Maintainer: Tobias Dausend <throgh@hyperbola.info>
- # Contributor: Jesús E. <heckyel@hyperbola.info>
- pkgname=libidn2
- pkgver=2.3.0
- pkgrel=2
- pkgdesc="Free software implementation of IDNA2008, Punycode and TR46"
- arch=('i686' 'x86_64')
- url='https://www.gnu.org/software/libidn/#libidn2'
- license=('GPL-2' 'LGPL-3')
- depends=('libunistring')
- source=(https://ftp.gnu.org/gnu/libidn/$pkgname-$pkgver.tar.gz{,.sig})
- sha512sums=('a2bf6d2249948bce14fbbc802f8af1c9b427fc9bf64203a2f3d7239d8e6061d0a8e7970a23e8e5889110a654a321e0504c7a6d049bb501e7f6a23d42b50b6187'
- 'SKIP')
- validpgpkeys=('1CB27DBC98614B2D5841646D08302DB6A2670428') # Tim Rühsen <tim.ruehsen@gmx.de>
- build() {
- cd $pkgname-$pkgver
- ./configure \
- --prefix=/usr \
- --disable-doc \
- --disable-static
- make
- }
- package() {
- cd $pkgname-$pkgver
- make DESTDIR="$pkgdir" install
- install -dm755 ${pkgdir}/lib
- mv ${pkgdir}/usr/lib/libidn2.so* ${pkgdir}/lib
- ln -sf ../../lib/libidn2.so ${pkgdir}/usr/lib/libidn2.so
- install -d -m755 ${pkgdir}/usr/share/licenses/${pkgname}
- install -m644 COPYING{,.LESSERv3} ${pkgdir}/usr/share/licenses/${pkgname}
- }
|