nawk: tweak Pkgfile

This commit is contained in:
Steffen Nurpmeso 2021-02-08 22:56:18 +01:00
parent 9ff1dff4bb
commit af9a746c98
2 changed files with 8 additions and 5 deletions

View File

@ -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

View File

@ -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