summaryrefslogtreecommitdiff
path: root/libre/lesspipe/PKGBUILD
diff options
context:
space:
mode:
authorcoadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu>2014-09-05 01:00:19 -0300
committercoadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu>2014-09-05 01:00:19 -0300
commit341b009b3eda915c70228cf8bc79ba89d8274994 (patch)
tree40118832cc809154d6163d52f58a71aeed16d296 /libre/lesspipe/PKGBUILD
parentbfad9b6bddd15d8661f0d4fd52f897232ea8bf74 (diff)
parent7988d6b367de8e5983d7571dd962dc77863eaa60 (diff)
downloadabslibre-341b009b3eda915c70228cf8bc79ba89d8274994.tar.gz
abslibre-341b009b3eda915c70228cf8bc79ba89d8274994.tar.bz2
abslibre-341b009b3eda915c70228cf8bc79ba89d8274994.zip
Merge branch 'master' of ssh://lukeshu.com:1863/srv/git/mirror/parabola/abslibre
Diffstat (limited to 'libre/lesspipe/PKGBUILD')
-rw-r--r--libre/lesspipe/PKGBUILD51
1 files changed, 51 insertions, 0 deletions
diff --git a/libre/lesspipe/PKGBUILD b/libre/lesspipe/PKGBUILD
new file mode 100644
index 000000000..1bbc5a16d
--- /dev/null
+++ b/libre/lesspipe/PKGBUILD
@@ -0,0 +1,51 @@
+# $Id: PKGBUILD 114038 2014-07-01 12:22:14Z spupykin $
+# Maintainer (Arch): Angel 'angvp' Velasquez <angvp[at]archlinux.com.ve>
+# Contributor (Arch): solsTiCe d'Hiver <solstice.dhiver@gmail.com>
+# Maintainer: André Silva <emulatorman@parabola.nu>
+
+pkgname=lesspipe
+pkgver=1.82
+pkgrel=2.parabola1
+pkgdesc='an input filter for the pager less, with libarchive support'
+depends=('less')
+arch=('any')
+license=('GPL')
+replaces=(${pkgname}-libre)
+conflicts=(${pkgname}-libre)
+optdepends=('perl'
+ 'rpmextract: support for rpm files'
+ 'fastjar: support for jar files'
+ 'unzip: support for zip files'
+ 'libarchive: support for rar files'
+ 'p7zip: support for 7za files'
+ 'cabextract: support for cab files'
+ 'cdrkit: support for iso files'
+ 'html2text: support for html files'
+ 'antiword: support for word file'
+ 'unrtf: support for rtf file'
+ 'imagemagick: support for some image file')
+url="http://www-zeuthen.desy.de/~friebel/unix/lesspipe.html"
+source=(http://downloads.sourceforge.net/project/lesspipe/lesspipe/$pkgver/lesspipe-$pkgver.tar.gz
+ lesspipe.sh
+ libarchive.patch)
+md5sums=('dd6f7bc9b9f9afaf04c9aa0cdbe9fe56'
+ '675b56f560c600f43108adfd98222251'
+ 'ec452ea980d5c1e254e9775fd424c18c')
+
+prepare() {
+ cd $srcdir/$pkgname-$pkgver
+ patch -Np1 -i ../libarchive.patch
+}
+
+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
+}