From 943675cdba4e4468dc9c3563de1b7d90e8ed1bf8 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Fri, 21 Feb 2014 17:27:38 +0100 Subject: [PATCH] pbzip2: remove long_desc. --- srcpkgs/pbzip2/template | 19 ++++++++----------- 1 file changed, 8 insertions(+), 11 deletions(-) diff --git a/srcpkgs/pbzip2/template b/srcpkgs/pbzip2/template index 63fdf7e83b..25cead5347 100644 --- a/srcpkgs/pbzip2/template +++ b/srcpkgs/pbzip2/template @@ -1,25 +1,22 @@ # Template build file for 'pbzip2'. pkgname=pbzip2 version=1.1.8 -revision=1 +revision=2 build_style=gnu-makefile -make_install_args="PREFIX=${XBPS_DESTDIR}/${pkgname}-${version}/usr" +makedepends="bzip2-devel" short_desc="Parallel bzip2 file compressor" maintainer="Juan RP " homepage="http://compression.ca/pbzip2/" license="BSD" distfiles="https://launchpad.net/pbzip2/1.1/${version}/+download/pbzip2-${version}.tar.gz" checksum=d2da7e65d2a2ba5426d6d9bcd15d86cc5f90038efabd5dbc1ef9bded21371f53 -long_desc=" - The pbzip2 program is a parallel version of bzip2 for use on shared - memory machines. It provides near-linear speedup when used on true - multi-processor machines and 5-10% speedup on Hyperthreaded machines. - The output is fully compatible with the regular bzip2 data so any - files created with pbzip2 can be uncompressed by bzip2 and vice-versa." -post_install() { - vmkdir usr/share - mv ${DESTDIR}/usr/man ${DESTDIR}/usr/share +do_build() { + sed -e 's,man/man1,share/man/man1,g' -i Makefile + make CC=$CXX +} +do_install() { + make PREFIX=${DESTDIR}/usr install vinstall COPYING 644 usr/share/licenses/${pkgname} }