From 59285a0640eb2fefe640155b94dd95c7a33a9fe7 Mon Sep 17 00:00:00 2001 From: Michael Hanson Date: Tue, 23 Nov 2010 02:34:53 +0000 Subject: vcdimager: recompile --- abs/extra/vcdimager/PKGBUILD | 16 +++++++++------- abs/extra/vcdimager/vcdimager.install | 19 +++++++++++++++++++ 2 files changed, 28 insertions(+), 7 deletions(-) create mode 100644 abs/extra/vcdimager/vcdimager.install diff --git a/abs/extra/vcdimager/PKGBUILD b/abs/extra/vcdimager/PKGBUILD index 9a97e31..2aa79b1 100644 --- a/abs/extra/vcdimager/PKGBUILD +++ b/abs/extra/vcdimager/PKGBUILD @@ -1,22 +1,24 @@ -# $Id: PKGBUILD 356 2008-04-18 22:56:27Z aaron $ +# $Id: PKGBUILD 59903 2009-11-29 16:30:52Z jgc $ # Maintainer: damir # Contributor: Tom Newsom pkgname=vcdimager pkgver=0.7.23 -pkgrel=6 +pkgrel=7 pkgdesc="GNU VCDImager is a full-featured mastering suite for authoring disassembling and analyzing Video CD's and Super Video CD's" arch=(i686 x86_64) license=('GPL') url="http://www.vcdimager.org/" -depends=('libcdio>=0.79' 'libxml2' 'popt') +depends=('libcdio>=0.82' 'libxml2>=2.7.3' 'popt') options=('!libtool' '!emptydirs') +install=vcdimager.install source=(ftp://ftp.gnu.org/gnu/vcdimager/${pkgname}-${pkgver}.tar.gz) md5sums=('5e7d80fdbf0037ad20e438f2a9573253') build() { - cd ${startdir}/src/${pkgname}-${pkgver} - ./configure --prefix=/usr - make || return 1 - make DESTDIR=${startdir}/pkg install + cd "${srcdir}/${pkgname}-${pkgver}" + ./configure --prefix=/usr \ + --mandir=/usr/share/man --infodir=/usr/share/info || return 1 + make || return 1 + make DESTDIR="${pkgdir}" install || return 1 } diff --git a/abs/extra/vcdimager/vcdimager.install b/abs/extra/vcdimager/vcdimager.install new file mode 100644 index 0000000..faa9748 --- /dev/null +++ b/abs/extra/vcdimager/vcdimager.install @@ -0,0 +1,19 @@ +infodir=/usr/share/info +filelist=(vcd-info.info.gz vcdimager.info.gz vcdxrip.info.gz) + +post_install() { + for file in ${filelist[@]}; do + install-info $infodir/$file $infodir/dir 2> /dev/null + done +} + +post_upgrade() { + post_install $1 +} + +pre_remove() { + for file in ${filelist[@]}; do + install-info --delete $infodir/$file $infodir/dir 2> /dev/null + done +} + -- cgit v0.12