diff options
author | daurnimator | 2017-01-10 11:59:39 +1100 |
---|---|---|
committer | daurnimator | 2017-01-10 11:59:39 +1100 |
commit | dd454a01302672a285e48d04518b9a8563f6f0c2 (patch) | |
tree | bcca9bb9bc557883192e5bf0b55ac13d138fbb1b | |
download | aur-dd454a01302672a285e48d04518b9a8563f6f0c2.tar.gz |
Initial commit
-rw-r--r-- | .SRCINFO | 19 | ||||
-rw-r--r-- | PKGBUILD | 32 |
2 files changed, 51 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..4b45fec4f34f --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,19 @@ +pkgbase = libidn2 + pkgdesc = A free software implementation of IDNA2008 + pkgver = 0.14 + pkgrel = 1 + url = https://www.gnu.org/software/libidn/libidn2/manual/libidn2.html + arch = i686 + arch = x86_64 + license = GPL2 + license = LGPL3 + makedepends = gtk-doc + depends = libunistring + source = http://alpha.gnu.org/gnu/libidn/libidn2-0.14.tar.gz + source = http://alpha.gnu.org/gnu/libidn/libidn2-0.14.tar.gz.sig + validpgpkeys = 9AA9BDB11BB1B99A21285A330664A76954265E8C + sha1sums = 88524516b49f9736292ed4a7fa17a5be072ee64e + sha1sums = SKIP + +pkgname = libidn2 + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..69f209bfd4fc --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,32 @@ +# Maintainer: Daurnimator <quae@daurnimator.com> + +pkgname=libidn2 +pkgver=0.14 +pkgrel=1 +pkgdesc="A free software implementation of IDNA2008" +url="https://www.gnu.org/software/libidn/libidn2/manual/libidn2.html" +arch=('i686' 'x86_64') +license=('GPL2' 'LGPL3') +depends=('libunistring') +makedepends=('gtk-doc') +source=(http://alpha.gnu.org/gnu/libidn/${pkgname}-${pkgver}.tar.gz{,.sig}) +sha1sums=('88524516b49f9736292ed4a7fa17a5be072ee64e' + 'SKIP') +validpgpkeys=('9AA9BDB11BB1B99A21285A330664A76954265E8C') # "Simon Josefsson <simon@josefsson.org>" + +build() { + cd ${pkgname}-${pkgver} + ./configure --prefix=/usr \ + --enable-gtk-doc + make +} + +check() { + cd ${pkgname}-${pkgver} + make check +} +package() { + cd ${pkgname}-${pkgver} + make DESTDIR=${pkgdir} install + rm ${pkgdir}/usr/bin/idn2_noinstall +} |