[arch-commits] Commit in lesspipe/repos (3 files)
Konstantin Gizdov
kgizdov at gemini.archlinux.org
Wed Nov 10 19:58:53 UTC 2021
Date: Wednesday, November 10, 2021 @ 19:58:52
Author: kgizdov
Revision: 1040206
archrelease: copy trunk to community-testing-any
Added:
lesspipe/repos/community-testing-any/
lesspipe/repos/community-testing-any/PKGBUILD
(from rev 1040205, lesspipe/trunk/PKGBUILD)
lesspipe/repos/community-testing-any/lesspipe.sh
(from rev 1040205, lesspipe/trunk/lesspipe.sh)
-------------+
PKGBUILD | 48 ++++++++++++++++++++++++++++++++++++++++++++++++
lesspipe.sh | 1 +
2 files changed, 49 insertions(+)
Copied: lesspipe/repos/community-testing-any/PKGBUILD (from rev 1040205, lesspipe/trunk/PKGBUILD)
===================================================================
--- community-testing-any/PKGBUILD (rev 0)
+++ community-testing-any/PKGBUILD 2021-11-10 19:58:52 UTC (rev 1040206)
@@ -0,0 +1,48 @@
+# Maintainer: Konstantin Gizdov <arch at kge dot pw>
+# Contributor: Baptiste Jonglez <archlinux at bitsofnetworks dot org>
+# Contributor: Angel 'angvp' Velasquez <angvp[at]archlinux.com.ve>
+# Contributor: solsTiCe d'Hiver <solstice.dhiver at gmail.com>
+
+pkgname=lesspipe
+pkgver=1.91
+pkgrel=1
+pkgdesc='an input filter for the pager less'
+depends=('less' 'perl')
+arch=('any')
+license=('GPL')
+optdepends=('rpmextract: support for rpm files'
+ 'fastjar: support for jar files'
+ 'unzip: support for zip files'
+ 'unrar: support for rar files'
+ 'p7zip: support for 7za files'
+ 'cabextract: support for cab files'
+ 'cdrtools: support for iso files'
+ 'html2text: support for html files'
+ 'ghostscript: support for ps files'
+ 'djvulibre: support for DjVu files'
+ 'odt2txt: support for OpenDocument files'
+ 'antiword: support for word file'
+ 'catdoc: support for word file'
+ 'pandoc: support for word file'
+ 'libreoffice-fresh: support for MS Office files'
+ 'unrtf: support for rtf file'
+ 'mediainfo: support for mp4 file'
+ 'imagemagick: support for some image file')
+url="https://www-zeuthen.desy.de/~friebel/unix/lesspipe.html"
+source=("https://github.com/wofr06/lesspipe/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz"
+ lesspipe.sh)
+sha256sums=('6192e7e451c5db26841c6dc3cbcc23c1ef396c1cc4588288effa699dbc665cdb'
+ '522a4893b640ed95e39fd4ca83a5d5ec79207542fec03710fa5e73fe201ed057')
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ ./configure --prefix=/usr --yes
+ make
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ mkdir -p "${pkgdir}"/usr/share/man/man1
+ make install PREFIX="${pkgdir}"/usr
+ install -D "${srcdir}"/lesspipe.sh "${pkgdir}"/etc/profile.d/lesspipe.sh
+}
Copied: lesspipe/repos/community-testing-any/lesspipe.sh (from rev 1040205, lesspipe/trunk/lesspipe.sh)
===================================================================
--- community-testing-any/lesspipe.sh (rev 0)
+++ community-testing-any/lesspipe.sh 2021-11-10 19:58:52 UTC (rev 1040206)
@@ -0,0 +1 @@
+export LESSOPEN='|/usr/bin/lesspipe.sh %s'
More information about the arch-commits
mailing list