summaryrefslogtreecommitdiffstats
path: root/abs/core/libidn2
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2018-02-23 16:41:22 (GMT)
committerBritney Fransen <brfransen@gmail.com>2018-02-23 16:41:22 (GMT)
commiteac5ecb2bcae528a4f413d4db85ca941263f5105 (patch)
tree8f6599fbc8dc80405d9e5aa34c0f1c293c49d77d /abs/core/libidn2
parent1d03af70aa4d74ef13b0675147a65b459a848554 (diff)
downloadlinhes_pkgbuild-eac5ecb2bcae528a4f413d4db85ca941263f5105.zip
linhes_pkgbuild-eac5ecb2bcae528a4f413d4db85ca941263f5105.tar.gz
linhes_pkgbuild-eac5ecb2bcae528a4f413d4db85ca941263f5105.tar.bz2
libidn2: dep of libpsl
Diffstat (limited to 'abs/core/libidn2')
-rw-r--r--abs/core/libidn2/PKGBUILD40
1 files changed, 40 insertions, 0 deletions
diff --git a/abs/core/libidn2/PKGBUILD b/abs/core/libidn2/PKGBUILD
new file mode 100644
index 0000000..c0a1a25
--- /dev/null
+++ b/abs/core/libidn2/PKGBUILD
@@ -0,0 +1,40 @@
+# $Id$
+# Maintainer: Evangelos Foutras <evangelos@foutrelis.com>
+# Contributor: Daurnimator <quae@daurnimator.com>
+
+pkgname=libidn2
+pkgver=2.0.4
+pkgrel=2
+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=('gtk-doc' 'ruby-ronn')
+source=(https://ftp.gnu.org/gnu/libidn/$pkgname-$pkgver.tar.gz{,.sig})
+sha256sums=('644b6b03b285fb0ace02d241d59483d98bc462729d8bb3608d5cad5532f3d2f0'
+ 'SKIP')
+validpgpkeys=('1CB27DBC98614B2D5841646D08302DB6A2670428')
+
+prepare() {
+ cd $pkgname-$pkgver
+ # https://gitlab.com/libidn/libidn2/issues/39
+ autoreconf -fvi
+}
+
+build() {
+ cd $pkgname-$pkgver
+ ./configure --prefix=/usr
+ make
+}
+
+check() {
+ cd $pkgname-$pkgver
+ make check
+}
+package() {
+ cd $pkgname-$pkgver
+ make DESTDIR="$pkgdir" install
+}
+
+# vim:set ts=2 sw=2 et: