Hello, I was looking for a command-line RFC reader program and the one in the upstream repos (rfc) was apparently blacklisted in issue 630. So I've packaged rfc-get: https://github.com/jforberg/rfc Which is using a 3-clause BSD license - hence bypassing the problem of its predecessor in the official repositories. The program is also quite nicely compact and reuses a lot of shell internals.
-- Kind Regards, Wael Karram.
From 10c1f4524d13382b3d0bc72675a55bbbc70ae5ec Mon Sep 17 00:00:00 2001 From: wael <[email protected]> Date: Mon, 2 Jan 2023 19:55:03 +0200 Subject: [PATCH] Added PKGBUILD for a command-line RFC reader. --- pcr/rfc-get/PKGBUILD | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 pcr/rfc-get/PKGBUILD diff --git a/pcr/rfc-get/PKGBUILD b/pcr/rfc-get/PKGBUILD new file mode 100644 index 000000000..e8527aa93 --- /dev/null +++ b/pcr/rfc-get/PKGBUILD @@ -0,0 +1,38 @@ +# Maintainer (AUR): Johan Förberg <[email protected]> +# Maintainer (Parabola): Wael Karram <[email protected]> + +# Parabola Changes and Rationale: +# Fix a minor bug on line 27, from ../../rfc-index.txt to ../rfc-index.txt + + +pkgname=rfc-get +_pkgname=rfc +pkgver=0.1.1 +pkgrel=1 +pkgdesc='Command-line utility to view RFCs, man-style' +arch=('any') +url='https://github.com/jforberg/rfc' +license=('BSD') +groups=() +depends=('bash' 'curl' 'awk' 'sed' 'less') +makedepends=('gzip') +source=("https://github.com/jforberg/rfc/archive/${pkgver}.tar.gz" + 'https://www.rfc-editor.org/rfc/rfc-index.txt') +noextract=() +sha1sums=('5d4fcc03d366524fbd82ad93568d3fe7992510b8' + 'SKIP') + +build() { + cd "$srcdir/$_pkgname-$pkgver" + awk -f genindex.awk <../rfc-index.txt >rfc-index.txt + gzip -f rfc.1 +} + +package() { + cd "$srcdir/$_pkgname-$pkgver" + install -D -m644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" + install -D -m755 rfc.sh "$pkgdir/usr/bin/rfc" + install -D -m644 rfc.1.gz "$pkgdir/usr/share/man/man1/rfc.1.gz" + install -D -m644 rfc-index.txt "$pkgdir/usr/share/rfc-get/rfc-index.txt" +} + -- 2.39.0
signature.asc
Description: This is a digitally signed message part
_______________________________________________ Dev mailing list [email protected] https://lists.parabola.nu/mailman/listinfo/dev
