[arch-commits] Commit in lesspipe/repos/community-any (6 files)

Konstantin Gizdov kgizdov at gemini.archlinux.org
Fri Jan 7 12:39:28 UTC 2022


    Date: Friday, January 7, 2022 @ 12:39:28
  Author: kgizdov
Revision: 1095843

archrelease: copy trunk to community-any

Added:
  lesspipe/repos/community-any/PKGBUILD
    (from rev 1095842, lesspipe/trunk/PKGBUILD)
  lesspipe/repos/community-any/html2text.patch
    (from rev 1095842, lesspipe/trunk/html2text.patch)
  lesspipe/repos/community-any/lesspipe.sh
    (from rev 1095842, lesspipe/trunk/lesspipe.sh)
Deleted:
  lesspipe/repos/community-any/PKGBUILD
  lesspipe/repos/community-any/html2text.patch
  lesspipe/repos/community-any/lesspipe.sh

-----------------+
 PKGBUILD        |  103 +++++++++++++++++++++++++-----------------------------
 html2text.patch |   30 +++++++--------
 lesspipe.sh     |    2 -
 3 files changed, 64 insertions(+), 71 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2022-01-07 12:39:20 UTC (rev 1095842)
+++ PKGBUILD	2022-01-07 12:39:28 UTC (rev 1095843)
@@ -1,55 +0,0 @@
-# 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=3
-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=("${pkgname}-${pkgver}.tar.gz::https://github.com/wofr06/lesspipe/archive/refs/tags/${pkgver}.tar.gz"
-        lesspipe.sh
-        'html2text.patch')
-sha256sums=('6192e7e451c5db26841c6dc3cbcc23c1ef396c1cc4588288effa699dbc665cdb'
-            '522a4893b640ed95e39fd4ca83a5d5ec79207542fec03710fa5e73fe201ed057'
-            'a095ccc303fd4da8cdc2d586f478f48c66f8a86743685d94da332f22c1eadfe6')
-
-prepare() {
-  cd "${srcdir}/${pkgname}-${pkgver}"
-  patch -Np1 -i "${srcdir}/html2text.patch" -d "${srcdir}/${pkgname}-${pkgver}"
-}
-
-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-any/PKGBUILD (from rev 1095842, lesspipe/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2022-01-07 12:39:28 UTC (rev 1095843)
@@ -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=2.01
+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=("${pkgname}-${pkgver}.tar.gz::https://github.com/wofr06/lesspipe/archive/refs/tags/v${pkgver}.tar.gz"
+        'lesspipe.sh')
+sha256sums=('f6642b1bda91e98c3745fe084164a556832f2aeaa9304bd7534954bff5eeceea'
+            '522a4893b640ed95e39fd4ca83a5d5ec79207542fec03710fa5e73fe201ed057')
+
+build() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+  ./configure --prefix=/usr --yes
+  make
+}
+
+package() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+  mkdir -p "${pkgdir}"/usr/share/man/man1
+  make DESTDIR="${pkgdir}" install
+  install -D "${srcdir}"/lesspipe.sh "${pkgdir}"/etc/profile.d/lesspipe.sh
+}

Deleted: html2text.patch
===================================================================
--- html2text.patch	2022-01-07 12:39:20 UTC (rev 1095842)
+++ html2text.patch	2022-01-07 12:39:28 UTC (rev 1095843)
@@ -1,15 +0,0 @@
-diff --color -aur lesspipe-1.91-old/lesspipe.sh.in lesspipe-1.91-new/lesspipe.sh.in
---- lesspipe-1.91-old/lesspipe.sh.in	2021-11-10 20:11:39.000000000 +0200
-+++ lesspipe-1.91-new/lesspipe.sh.in	2021-11-26 14:43:55.134403225 +0200
-@@ -600,9 +600,9 @@
-     return
- #ifdef html2text
-   elif cmd_exist html2text; then
--    if [[ "$1" = - ]]; then html2text -utf8 2>/dev/null ||
-+    if [[ "$1" = - ]]; then html2text - utf8 2>/dev/null ||
-       html2text -from_encoding utf-8
--    else html2text -utf8 "$1" 2>/dev/null ||
-+    else html2text "$1" utf8 2>/dev/null ||
-       html2text -from_encoding utf-8 "$1"; fi
- #ifdef lynx
-   elif cmd_exist lynx; then

Copied: lesspipe/repos/community-any/html2text.patch (from rev 1095842, lesspipe/trunk/html2text.patch)
===================================================================
--- html2text.patch	                        (rev 0)
+++ html2text.patch	2022-01-07 12:39:28 UTC (rev 1095843)
@@ -0,0 +1,15 @@
+diff --color -aur lesspipe-1.91-old/lesspipe.sh.in lesspipe-1.91-new/lesspipe.sh.in
+--- lesspipe-1.91-old/lesspipe.sh.in	2021-11-10 20:11:39.000000000 +0200
++++ lesspipe-1.91-new/lesspipe.sh.in	2021-11-26 14:43:55.134403225 +0200
+@@ -600,9 +600,9 @@
+     return
+ #ifdef html2text
+   elif cmd_exist html2text; then
+-    if [[ "$1" = - ]]; then html2text -utf8 2>/dev/null ||
++    if [[ "$1" = - ]]; then html2text - utf8 2>/dev/null ||
+       html2text -from_encoding utf-8
+-    else html2text -utf8 "$1" 2>/dev/null ||
++    else html2text "$1" utf8 2>/dev/null ||
+       html2text -from_encoding utf-8 "$1"; fi
+ #ifdef lynx
+   elif cmd_exist lynx; then

Deleted: lesspipe.sh
===================================================================
--- lesspipe.sh	2022-01-07 12:39:20 UTC (rev 1095842)
+++ lesspipe.sh	2022-01-07 12:39:28 UTC (rev 1095843)
@@ -1 +0,0 @@
-export LESSOPEN='|/usr/bin/lesspipe.sh %s'

Copied: lesspipe/repos/community-any/lesspipe.sh (from rev 1095842, lesspipe/trunk/lesspipe.sh)
===================================================================
--- lesspipe.sh	                        (rev 0)
+++ lesspipe.sh	2022-01-07 12:39:28 UTC (rev 1095843)
@@ -0,0 +1 @@
+export LESSOPEN='|/usr/bin/lesspipe.sh %s'



More information about the arch-commits mailing list