diff options
author | Parabola <dev@list.parabolagnulinux.org> | 2011-04-05 14:26:38 +0000 |
---|---|---|
committer | Parabola <dev@list.parabolagnulinux.org> | 2011-04-05 14:26:38 +0000 |
commit | 415856bdd4f48ab4f2732996f0bae58595092bbe (patch) | |
tree | ede2018b591f6dfb477fe9341ba17b9bc000fab9 /extra/vcdimager |
Tue Apr 5 14:26:38 UTC 2011
Diffstat (limited to 'extra/vcdimager')
-rw-r--r-- | extra/vcdimager/PKGBUILD | 24 | ||||
-rw-r--r-- | extra/vcdimager/vcdimager.install | 19 |
2 files changed, 43 insertions, 0 deletions
diff --git a/extra/vcdimager/PKGBUILD b/extra/vcdimager/PKGBUILD new file mode 100644 index 000000000..dc392cb84 --- /dev/null +++ b/extra/vcdimager/PKGBUILD @@ -0,0 +1,24 @@ +# $Id: PKGBUILD 59898 2009-11-29 15:48:57Z jgc $ +# 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') +url="http://www.vcdimager.org/" +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') + +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 +} diff --git a/extra/vcdimager/vcdimager.install b/extra/vcdimager/vcdimager.install new file mode 100644 index 000000000..faa9748c2 --- /dev/null +++ b/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 +} + |