From 78ec38f4db6acdcfcd821db7ae9271f2d69565b2 Mon Sep 17 00:00:00 2001
From: Britney Fransen <brfransen@gmail.com>
Date: Mon, 15 Jun 2020 01:19:55 +0000
Subject: gawk: update to 5.1.0

---
 abs/core/gawk/PKGBUILD | 23 +++++++++--------------
 1 file changed, 9 insertions(+), 14 deletions(-)

diff --git a/abs/core/gawk/PKGBUILD b/abs/core/gawk/PKGBUILD
index 5272608..9661360 100644
--- a/abs/core/gawk/PKGBUILD
+++ b/abs/core/gawk/PKGBUILD
@@ -1,38 +1,33 @@
-# $Id$
 # Maintainer:
 # Contributor: Tom Newsom <Jeepster@gmx.co.uk>
 
 pkgname=gawk
-pkgver=4.2.0
-pkgrel=3
+pkgver=5.1.0
+pkgrel=1
 pkgdesc="GNU version of awk"
 arch=('x86_64')
-url="http://www.gnu.org/software/gawk/"
+url="https://www.gnu.org/software/gawk/"
 license=('GPL')
-groups=('base' 'base-devel')
+groups=('base-devel')
 depends=('sh' 'glibc' 'mpfr')
 provides=('awk')
 source=(https://ftp.gnu.org/pub/gnu/${pkgname}/${pkgname}-${pkgver}.tar.gz{,.sig})
-md5sums=('0b598c31bc703d66082bd958d4189980'
+md5sums=('f719bc9966df28e67fc6ebc405e7ea03'
          'SKIP')
 validpgpkeys=('D1967C63788713177D861ED7DF597815937EC0D2') # Arnold Robbins
 
 build() {
-  cd ${srcdir}/${pkgname}-${pkgver}
+  cd ${pkgname}-${pkgver}
   ./configure --prefix=/usr --libexecdir=/usr/lib --sysconfdir=/etc --without-libsigsegv
   make
 }
 
 check() {
-  cd ${srcdir}/${pkgname}-${pkgver}
+  cd ${pkgname}-${pkgver}
   make check
 }
 
 package() {
-  cd ${srcdir}/${pkgname}-${pkgver}
-  make DESTDIR=${pkgdir} install
-
-  #install -dm755 ${pkgdir}/bin
-  #ln -sf /usr/bin/gawk ${pkgdir}/bin/
-  #ln -sf gawk ${pkgdir}/bin/awk
+  cd ${pkgname}-${pkgver}
+  make DESTDIR="${pkgdir}" install
 }
-- 
cgit v0.12

