summaryrefslogtreecommitdiff
path: root/libre
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@parabola.nu>2014-09-05 00:47:40 -0300
committerAndré Fabian Silva Delgado <emulatorman@parabola.nu>2014-09-05 00:47:40 -0300
commitc8b1e23a1567aea2f24f105081d8b699731d9a66 (patch)
tree190e986dd6f26c29e1f07d3499682a5cf048f6bc /libre
parentdaabe3e550b037f209008c5313eb6bd468402b92 (diff)
lesspipe: remove libre suffix and add complex pkgrel
Diffstat (limited to 'libre')
-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