From 287c0aa90d0e2ddd5b76fb2aa0eaf870ea8c332d Mon Sep 17 00:00:00 2001
From: Britney Fransen <brfransen@gmail.com>
Date: Mon, 6 Jul 2020 03:38:04 +0000
Subject: nettle: update to 3.6

---
 abs/core/nettle/PKGBUILD       | 13 ++++++-------
 abs/core/nettle/nettle.install | 20 --------------------
 2 files changed, 6 insertions(+), 27 deletions(-)
 delete mode 100644 abs/core/nettle/nettle.install

diff --git a/abs/core/nettle/PKGBUILD b/abs/core/nettle/PKGBUILD
index 486f7a3..a90d167 100644
--- a/abs/core/nettle/PKGBUILD
+++ b/abs/core/nettle/PKGBUILD
@@ -1,20 +1,19 @@
-# $Id$
 # Maintainer: Andreas Radke <andyrtr@archlinux.org>
 # Contributor: bender02 at gmx dot com
 
 pkgname=nettle
-pkgver=3.2
+pkgver=3.6
 pkgrel=1
 pkgdesc="A low-level cryptographic library"
-arch=('i686' 'x86_64')
-url="http://www.lysator.liu.se/~nisse/nettle/"
+arch=('x86_64')
+url="https://www.lysator.liu.se/~nisse/nettle"
 license=('GPL2')
-install=$pkgname.install
 depends=('gmp')
+provides=('libnettle.so' 'libhogweed.so')
 checkdepends=('valgrind')
 source=(https://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.gz{,.sig})
-md5sums=('afb15b4764ebf1b4e6d06c62bd4d29e4'
-         'SKIP')
+sha256sums=('d24c0d0f2abffbc8f4f34dcf114b0f131ec3774895f3555922fe2f40f3d5e3f1'
+            'SKIP')
 validpgpkeys=('343C2FF0FBEE5EC2EDBEF399F3599FF828C67298') # Niels Möller <nisse@lysator.liu.se>
 
 
diff --git a/abs/core/nettle/nettle.install b/abs/core/nettle/nettle.install
deleted file mode 100644
index 3d19b5f..0000000
--- a/abs/core/nettle/nettle.install
+++ /dev/null
@@ -1,20 +0,0 @@
-infodir=/usr/share/info
-filelist=(nettle.info)
-
-post_install() {
-  [ -x usr/bin/install-info ] || return 0
-  for file in ${filelist[@]}; do
-    install-info $infodir/$file.gz $infodir/dir 2> /dev/null
-  done
-}
-
-post_upgrade() {
-  post_install $1
-}
-
-pre_remove() {
-  [ -x usr/bin/install-info ] || return 0
-  for file in ${filelist[@]}; do
-    install-info --delete $infodir/$file.gz $infodir/dir 2> /dev/null
-  done
-}
-- 
cgit v0.12

