archrelease: copy trunk to extra-x86_64
[arch-packages.git] / libidn / trunk / PKGBUILD
blob0f409d98812a455cc764d67b822d0a896187aadd
1 # Maintainer: Ronald van Haren <ronald.archlinux.org>
2 # Contributor: Jan de Groot <jgc.archlinux.org>
3 # Contributor: Eric Johnson <eric.archlinux.org>
5 pkgname=libidn
6 pkgver=1.41
7 pkgrel=1
8 pkgdesc="Implementation of the Stringprep, Punycode and IDNA specifications"
9 url="https://www.gnu.org/software/libidn/"
10 arch=('x86_64')
11 license=('GPL3' 'LGPL')
12 depends=('glibc')
13 source=("https://ftp.gnu.org/gnu/${pkgname}/${pkgname}-${pkgver}.tar.gz"{,.sig})
14 validpgpkeys=('9AA9BDB11BB1B99A21285A330664A76954265E8C'  # Simon Josefsson <simon@josefsson.org>
15               'B1D2BD1375BECB784CF4F8C4D73CF638C53C06BE'  # Simon Josefsson <simon@josefsson.org>
16               '1CB27DBC98614B2D5841646D08302DB6A2670428') # Tim Rühsen <tim.ruehsen@gmx.de>
17 sha256sums=('884d706364b81abdd17bee9686d8ff2ae7431c5a14651047c68adf8b31fd8945'
18             'SKIP')
20 build() {
21   cd "${pkgname}-${pkgver}"
23   ./configure \
24     --prefix=/usr
25   make
28 check() {
29   cd "${pkgname}-${pkgver}"
31   make check
34 package() {
35   cd "${pkgname}-${pkgver}"
37   make DESTDIR="${pkgdir}" install
38   # doc html installation - gtk-doc isn't supported anymore - FS#55151
39   mkdir -p "${pkgdir}/usr/share/gtk-doc/html/${pkgname}"
40   cp -r -v doc/reference/html/* "${pkgdir}/usr/share/gtk-doc/html/${pkgname}"