summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libre/lesspipe/PKGBUILD (renamed from libre/lesspipe-libre/PKGBUILD)16
-rw-r--r--libre/lesspipe/lesspipe.sh (renamed from libre/lesspipe-libre/lesspipe.sh)0
-rw-r--r--libre/lesspipe/libarchive.patch (renamed from libre/lesspipe-libre/libarchive.patch)0
3 files changed, 7 insertions, 9 deletions
diff --git a/libre/lesspipe-libre/PKGBUILD b/libre/lesspipe/PKGBUILD
index 15e05e4a9..1bbc5a16d 100644
--- a/libre/lesspipe-libre/PKGBUILD
+++ b/libre/lesspipe/PKGBUILD
@@ -3,17 +3,15 @@
# Contributor (Arch): solsTiCe d'Hiver <solstice.dhiver@gmail.com>
# Maintainer: André Silva <emulatorman@parabola.nu>
-_pkgname=lesspipe
-pkgname=lesspipe-libre
+pkgname=lesspipe
pkgver=1.82
-pkgrel=2
+pkgrel=2.parabola1
pkgdesc='an input filter for the pager less, with libarchive support'
depends=('less')
arch=('any')
license=('GPL')
-replaces=($_pkgname)
-conflicts=($_pkgname)
-provides=($_pkgname=$pkgver)
+replaces=(${pkgname}-libre)
+conflicts=(${pkgname}-libre)
optdepends=('perl'
'rpmextract: support for rpm files'
'fastjar: support for jar files'
@@ -35,18 +33,18 @@ md5sums=('dd6f7bc9b9f9afaf04c9aa0cdbe9fe56'
'ec452ea980d5c1e254e9775fd424c18c')
prepare() {
- cd $srcdir/$_pkgname-$pkgver
+ cd $srcdir/$pkgname-$pkgver
patch -Np1 -i ../libarchive.patch
}
build() {
- cd $srcdir/$_pkgname-$pkgver
+ cd $srcdir/$pkgname-$pkgver
./configure --prefix=/usr --yes
make
}
package() {
- cd $srcdir/$_pkgname-$pkgver
+ 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
diff --git a/libre/lesspipe-libre/lesspipe.sh b/libre/lesspipe/lesspipe.sh
index ae6076f6b..ae6076f6b 100644
--- a/libre/lesspipe-libre/lesspipe.sh
+++ b/libre/lesspipe/lesspipe.sh
diff --git a/libre/lesspipe-libre/libarchive.patch b/libre/lesspipe/libarchive.patch
index b4fb48788..b4fb48788 100644
--- a/libre/lesspipe-libre/libarchive.patch
+++ b/libre/lesspipe/libarchive.patch