[crux-commits] ports/contrib (3.6): nawk: tweak Pkgfile

crux at crux.nu crux at crux.nu
Mon Feb 8 23:09:48 UTC 2021


commit af9a746c98c0c84c2ee3afd17d1f0069784b5bd4
Author: Steffen Nurpmeso <steffen at sdaoden.eu>
Date:   Mon Feb 8 22:56:18 2021 +0100

    nawk: tweak Pkgfile

diff --git a/nawk/.signature b/nawk/.signature
index 00d97dd80..c197d8648 100644
--- a/nawk/.signature
+++ b/nawk/.signature
@@ -1,5 +1,5 @@
 untrusted comment: verify with /etc/ports/contrib.pub
-RWSagIOpLGJF3zw9Fx4jKfmErsVb4Da2IVygoLUDrwv7zNuORZT4rl2TxmSrN88F6yIzYQnb//xpFvs6aPvTNsN3potUPZ9d7QI=
-SHA256 (Pkgfile) = 604f178cee5b60595164ec1a9b8928ad23ac4c524de8d6ec7f4c1daee3272008
+RWSagIOpLGJF37TD43p0dO212rqZNFRWDKVD0kEfdrAPZqiK6G/WsqPv1OLu2i6t9CBNMSxcRMWbWE3F/fe4Y/0qq/6c+cvnmQg=
+SHA256 (Pkgfile) = 906736ea73dad36112e83c47d9056662acc6e97fe8fab0f8a0d1047d654560e8
 SHA256 (.footprint) = 1ae93a1207e7107fff9f52ff9a0d9185794ad437058fce391fe5f1582080f5c2
 SHA256 (awk-20210110.tar.gz) = 57bca56b5e84e2148e4ba600f5dcdd376a1a5d374bafe426a386dc17e25ead45
diff --git a/nawk/Pkgfile b/nawk/Pkgfile
index d9df82fce..fcb2f5a88 100644
--- a/nawk/Pkgfile
+++ b/nawk/Pkgfile
@@ -8,14 +8,17 @@ version=20210110
 realn=awk
 gitver=178f660b5a4fde6f39e8065185373166f55b6e0c
 release=1
-source=(https://github.com/onetrueawk/${realn}/archive/${gitver}/${realn}-${version}.tar.gz)
+source=(
+   https://github.com/onetrueawk/${realn}/archive/\
+${gitver}/${realn}-${version}.tar.gz
+)
 
 build() {
    cd ${realn}-${gitver}
 
    make
-   install -D a.out $PKG/usr/bin/$name
-   install -D -m 0644 awk.1 $PKG/usr/share/man/man1/$name.1
+   install -D a.out "${PKG}"/usr/bin/${name}
+   install -D -m 0644 awk.1 "${PKG}"/usr/share/man/man1/${name}.1
 }
 
 # s-sh-mode


More information about the crux-commits mailing list