diff options
Diffstat (limited to 'extra/vcdimager')
-rw-r--r-- | extra/vcdimager/PKGBUILD | 30 | ||||
-rw-r--r-- | extra/vcdimager/vcdimager.install | 4 |
2 files changed, 22 insertions, 12 deletions
diff --git a/extra/vcdimager/PKGBUILD b/extra/vcdimager/PKGBUILD index dc392cb84..f3d94d176 100644 --- a/extra/vcdimager/PKGBUILD +++ b/extra/vcdimager/PKGBUILD @@ -1,24 +1,32 @@ -# $Id: PKGBUILD 59898 2009-11-29 15:48:57Z jgc $ +# $Id: PKGBUILD 135066 2011-08-10 01:37:52Z eric $ # Maintainer: damir <damir@archlinux.org> # Contributor: Tom Newsom <Jeepster@gmx.co.uk> pkgname=vcdimager -pkgver=0.7.23 -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') +pkgver=0.7.24 +pkgrel=1 +pkgdesc="A full-featured mastering suite for authoring disassembling and analyzing Video CD's and Super Video CD's" +arch=('i686' 'x86_64') url="http://www.vcdimager.org/" +license=('GPL') depends=('libcdio>=0.82' 'libxml2>=2.7.3' 'popt') options=('!libtool') install=vcdimager.install source=(ftp://ftp.gnu.org/gnu/vcdimager/${pkgname}-${pkgver}.tar.gz) -md5sums=('5e7d80fdbf0037ad20e438f2a9573253') +md5sums=('3af22978fd79c79d5fda6513b6811145') build() { 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 + ./configure --prefix=/usr + make +} + +check() { + cd "${srcdir}/${pkgname}-${pkgver}" + make check +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + make DESTDIR="${pkgdir}" install } diff --git a/extra/vcdimager/vcdimager.install b/extra/vcdimager/vcdimager.install index faa9748c2..79e07b5bc 100644 --- a/extra/vcdimager/vcdimager.install +++ b/extra/vcdimager/vcdimager.install @@ -1,7 +1,8 @@ -infodir=/usr/share/info +infodir=usr/share/info filelist=(vcd-info.info.gz vcdimager.info.gz vcdxrip.info.gz) post_install() { + [[ -x usr/bin/install-info ]] || return 0 for file in ${filelist[@]}; do install-info $infodir/$file $infodir/dir 2> /dev/null done @@ -12,6 +13,7 @@ post_upgrade() { } pre_remove() { + [[ -x usr/bin/install-info ]] || return 0 for file in ${filelist[@]}; do install-info --delete $infodir/$file $infodir/dir 2> /dev/null done |