[arch-commits] Commit in lesspipe/trunk (PKGBUILD)

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


    Date: Friday, January 7, 2022 @ 12:39:20
  Author: kgizdov
Revision: 1095842

upgpkg: lesspipe 2.01-1

Modified:
  lesspipe/trunk/PKGBUILD

----------+
 PKGBUILD |   21 +++++++--------------
 1 file changed, 7 insertions(+), 14 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2022-01-07 12:37:56 UTC (rev 1095841)
+++ PKGBUILD	2022-01-07 12:39:20 UTC (rev 1095842)
@@ -4,8 +4,8 @@
 # Contributor: solsTiCe d'Hiver <solstice.dhiver at gmail.com>
 
 pkgname=lesspipe
-pkgver=1.91
-pkgrel=3
+pkgver=2.01
+pkgrel=1
 pkgdesc='an input filter for the pager less'
 depends=('less' 'perl')
 arch=('any')
@@ -29,18 +29,11 @@
 	    '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')
+source=("${pkgname}-${pkgver}.tar.gz::https://github.com/wofr06/lesspipe/archive/refs/tags/v${pkgver}.tar.gz"
+        'lesspipe.sh')
+sha256sums=('f6642b1bda91e98c3745fe084164a556832f2aeaa9304bd7534954bff5eeceea'
+            '522a4893b640ed95e39fd4ca83a5d5ec79207542fec03710fa5e73fe201ed057')
 
-prepare() {
-  cd "${srcdir}/${pkgname}-${pkgver}"
-  patch -Np1 -i "${srcdir}/html2text.patch" -d "${srcdir}/${pkgname}-${pkgver}"
-}
-
 build() {
   cd "${srcdir}/${pkgname}-${pkgver}"
   ./configure --prefix=/usr --yes
@@ -50,6 +43,6 @@
 package() {
   cd "${srcdir}/${pkgname}-${pkgver}"
   mkdir -p "${pkgdir}"/usr/share/man/man1
-  make install PREFIX="${pkgdir}"/usr
+  make DESTDIR="${pkgdir}" install
   install -D "${srcdir}"/lesspipe.sh "${pkgdir}"/etc/profile.d/lesspipe.sh
 }



More information about the arch-commits mailing list