From 669d7f174f8791dc7443be70149da24ced711915 Mon Sep 17 00:00:00 2001
From: Britney Fransen <brfransen@gmail.com>
Date: Wed, 21 Mar 2018 20:27:07 +0000
Subject: libtasn1: update to 4.13

---
 abs/core/libtasn1/PKGBUILD         | 16 ++++++++--------
 abs/core/libtasn1/libtasn1.install | 18 ------------------
 2 files changed, 8 insertions(+), 26 deletions(-)
 delete mode 100644 abs/core/libtasn1/libtasn1.install

diff --git a/abs/core/libtasn1/PKGBUILD b/abs/core/libtasn1/PKGBUILD
index 0942ca5..d6ca02f 100644
--- a/abs/core/libtasn1/PKGBUILD
+++ b/abs/core/libtasn1/PKGBUILD
@@ -4,17 +4,16 @@
 # Contributor: judd <jvinet@zeroflux.org>
 
 pkgname=libtasn1
-pkgver=4.7
+pkgver=4.13
 pkgrel=1
 pkgdesc="The ASN.1 library used in GNUTLS"
-arch=('i686' 'x86_64')
+arch=('x86_64')
 license=('GPL3' 'LGPL')
-url="http://www.gnu.org/software/libtasn1/"
-depends=('glibc' 'texinfo')
-install=libtasn1.install
-source=(http://ftp.gnu.org/gnu/libtasn1/${pkgname}-${pkgver}.tar.gz{,.sig})
-md5sums=('12d10ca4ae0a3b95f7aa06a076da39ec'
-         'SKIP')
+url="https://www.gnu.org/software/libtasn1/"
+depends=('glibc')
+source=(https://ftp.gnu.org/gnu/libtasn1/${pkgname}-${pkgver}.tar.gz{,.sig})
+sha256sums=('7e528e8c317ddd156230c4e31d082cd13e7ddeb7a54824be82632209550c8cca'
+            'SKIP')
 validpgpkeys=('1F42418905D8206AA754CCDC29EE58B996865171') #Nikos Mavrogiannopoulos <nmav@gnutls.org>
 
 build() {
@@ -34,4 +33,5 @@ check() {
 package() {
   cd ${pkgname}-${pkgver}
   make DESTDIR="${pkgdir}" install
+  make -C doc/reference DESTDIR="${pkgdir}" install-data-local
 }
diff --git a/abs/core/libtasn1/libtasn1.install b/abs/core/libtasn1/libtasn1.install
deleted file mode 100644
index 2d1ecc0..0000000
--- a/abs/core/libtasn1/libtasn1.install
+++ /dev/null
@@ -1,18 +0,0 @@
-info_dir=/usr/share/info
-info_files=(libtasn1.info)
-
-post_install() {
-  for f in ${info_files[@]}; do
-    install-info ${info_dir}/$f.gz ${info_dir}/dir 2> /dev/null
-  done
-}
-
-post_upgrade() {
-  post_install $1
-}
-
-pre_remove() {
-  for f in ${info_files[@]}; do
-    install-info --delete ${info_dir}/$f.gz ${info_dir}/dir 2> /dev/null
-  done
-}
-- 
cgit v0.12

