diff options
author | Nicolás Reynolds <apoyosis@correo.inta.gob.ar> | 2011-07-19 15:31:56 -0300 |
---|---|---|
committer | Nicolás Reynolds <apoyosis@correo.inta.gob.ar> | 2011-07-19 15:31:56 -0300 |
commit | 2229a775d06289b60ea398ff192eb0772823fe53 (patch) | |
tree | cc75d9ac29d90e0ff68d04e446224a7048ed09c5 | |
parent | 4d2780093ffab5e298e62454d2792f3e39512188 (diff) | |
download | abslibre-2229a775d06289b60ea398ff192eb0772823fe53.tar.gz abslibre-2229a775d06289b60ea398ff192eb0772823fe53.tar.bz2 abslibre-2229a775d06289b60ea398ff192eb0772823fe53.zip |
libre/lesspipe-libre/
-rw-r--r-- | libre/lesspipe-libre/PKGBUILD | 42 | ||||
-rw-r--r-- | libre/lesspipe-libre/lesspipe.sh | 2 | ||||
-rw-r--r-- | libre/lesspipe-libre/rePKGBUILD | 26 |
3 files changed, 70 insertions, 0 deletions
diff --git a/libre/lesspipe-libre/PKGBUILD b/libre/lesspipe-libre/PKGBUILD new file mode 100644 index 000000000..48d5ebe0f --- /dev/null +++ b/libre/lesspipe-libre/PKGBUILD @@ -0,0 +1,42 @@ +# $Id: PKGBUILD 14692 2010-04-07 09:06:46Z spupykin $ +# Maintainer: Angel 'angvp' Velasquez <angvp[at]archlinux.com.ve> +# Contributor: solsTiCe d'Hiver <solstice.dhiver@gmail.com> + +_pkgname=lesspipe +pkgname=lesspipe-libre +pkgver=1.71 +pkgrel=1 +pkgdesc='an input filter for the pager less' +depends=('less') +arch=('i686' 'x86_64') +license=('GPL') +optdepends=('rpmextract: support for rpm files' + 'fastjar: support for jar files' + 'unzip: support for zip 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://www-zeuthen.desy.de/~friebel/unix/less/lesspipe.tar.gz \ + lesspipe.sh) +md5sums=('6d921dc4ce9809d405cb8d694ac7cbbd' + '675b56f560c600f43108adfd98222251') +provides=("$_pkgname=$pkgver") +conflicts=("$_pkgname") +replaces=("$_pkgname") + +build() { + cd $srcdir/$_pkgname-$pkgver + + ./configure --prefix=/usr --yes + make || return 1 + mkdir -p $pkgdir/usr/share/man/man1 + make install PREFIX=$pkgdir/usr || return 1 + + install -D $srcdir/lesspipe.sh $pkgdir/etc/profile.d/lesspipe.sh +} + diff --git a/libre/lesspipe-libre/lesspipe.sh b/libre/lesspipe-libre/lesspipe.sh new file mode 100644 index 000000000..05526e46c --- /dev/null +++ b/libre/lesspipe-libre/lesspipe.sh @@ -0,0 +1,2 @@ +export LESSOPEN='|/usr/bin/lesspipe.sh %s' + diff --git a/libre/lesspipe-libre/rePKGBUILD b/libre/lesspipe-libre/rePKGBUILD new file mode 100644 index 000000000..cb388a715 --- /dev/null +++ b/libre/lesspipe-libre/rePKGBUILD @@ -0,0 +1,26 @@ +# Maintainer: Nicolás Reynolds <fauno@kiwwwi.com.ar> +source PKGBUILD +#CARCH=x86_64 +unset build package md5sums source +_repo=community # Put the repo here +_mirror=http://mirrors.kernel.org/archlinux # Put mirror here +source=(PKGBUILD + "${_mirror}/${_repo}/os/${CARCH}/${pkgname%-libre}-$pkgver-$pkgrel-$CARCH$PKGEXT" + # files for pkg modifications below this line + ) +options=(!strip) + +build() { + cd "${srcdir}/" + rm .{INSTALL,PKGINFO} || true + # put actions for package modifications below this line + +} + +package() { + find ${srcdir} -maxdepth 1 -type l -delete + cp -a ${srcdir}/* ${pkgdir} +} + + +# vim:set ts=2 sw=2 et: |