aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--main/gawk/APKBUILD10
-rw-r--r--main/gawk/gawk.post-deinstall5
2 files changed, 8 insertions, 7 deletions
diff --git a/main/gawk/APKBUILD b/main/gawk/APKBUILD
index 94dc699fa2..2f89b5c56d 100644
--- a/main/gawk/APKBUILD
+++ b/main/gawk/APKBUILD
@@ -3,12 +3,14 @@
# Contributor: Bartłomiej Piotrowski <nospam@bpiotrowski.pl>
# Contributor: TBK <alpine@jjtc.eu>
pkgname=gawk
-pkgver=5.0.0
+pkgver=5.0.1
pkgrel=0
pkgdesc="GNU awk pattern-matching language"
url="https://www.gnu.org/software/gawk/gawk.html"
arch="all"
license="GPL-3.0-or-later"
+options="!check" # failing tests
+checkdepends="coreutils diffutils"
subpackages="$pkgname-doc"
source="https://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.xz"
builddir="$srcdir/$pkgname-$pkgver"
@@ -25,8 +27,12 @@ build() {
make
}
+check() {
+ make check
+}
+
package() {
make DESTDIR="$pkgdir" install
}
-sha512sums="9eb663bbcad53165b7ddb7d72cfb8377252b68004733a9eb8c191b2ddddaff857e48ba811280311384243eb67574fbe7ac9edf4e507f9a82d67b4b2adff8ef6e gawk-5.0.0.tar.xz"
+sha512sums="ff9842a91035f843482d93eac8a35cddf2ce16acaa43a0112c1efff08802aebf705ee70d47eff74a190dca7be330c31f7204ad27cb63bdee65333f9b9c984212 gawk-5.0.1.tar.xz"
diff --git a/main/gawk/gawk.post-deinstall b/main/gawk/gawk.post-deinstall
deleted file mode 100644
index 3f80e67c49..0000000000
--- a/main/gawk/gawk.post-deinstall
+++ /dev/null
@@ -1,5 +0,0 @@
-#!/bin/sh
-
-# we need update bb links immediatly since other install scripts might use
-# awk
-exec /bin/busybox --install -s