43 lines
966 B
Text
43 lines
966 B
Text
# Maintainer: Evangelos Foutras <evangelos@foutrelis.com>
|
|
# Contributor: Daurnimator <quae@daurnimator.com>
|
|
|
|
pkgname=libidn2
|
|
pkgver=2.3.7
|
|
pkgrel=1
|
|
pkgdesc="Free software implementation of IDNA2008, Punycode and TR46"
|
|
arch=('x86_64')
|
|
url="https://www.gnu.org/software/libidn/#libidn2"
|
|
license=('GPL2' 'LGPL3')
|
|
depends=('libunistring')
|
|
makedepends=('ruby-ronn-ng')
|
|
provides=('libidn2.so')
|
|
source=(https://ftp.gnu.org/gnu/libidn/$pkgname-$pkgver.tar.gz{,.sig})
|
|
sha256sums=('4c21a791b610b9519b9d0e12b8097bf2f359b12f8dd92647611a929e6bfd7d64'
|
|
'SKIP')
|
|
validpgpkeys=('B1D2BD1375BECB784CF4F8C4D73CF638C53C06BE') # Simon Josefsson <simon@josefsson.org>
|
|
|
|
prepare() {
|
|
cd $pkgname-$pkgver
|
|
}
|
|
|
|
build() {
|
|
cd $pkgname-$pkgver
|
|
|
|
./configure \
|
|
--prefix=/usr \
|
|
--disable-static
|
|
make
|
|
}
|
|
|
|
check() {
|
|
cd $pkgname-$pkgver
|
|
make check
|
|
}
|
|
package() {
|
|
depends+=('libunistring.so')
|
|
|
|
cd $pkgname-$pkgver
|
|
make DESTDIR="$pkgdir" install
|
|
}
|
|
|
|
# vim:set ts=2 sw=2 et:
|