summaryrefslogtreecommitdiffstats
path: root/abs/not_built/extra/vcdimager
diff options
context:
space:
mode:
Diffstat (limited to 'abs/not_built/extra/vcdimager')
-rw-r--r--abs/not_built/extra/vcdimager/PKGBUILD24
-rw-r--r--abs/not_built/extra/vcdimager/__changelog1
-rw-r--r--abs/not_built/extra/vcdimager/cdio.patch11
-rw-r--r--abs/not_built/extra/vcdimager/vcdimager.install19
4 files changed, 55 insertions, 0 deletions
diff --git a/abs/not_built/extra/vcdimager/PKGBUILD b/abs/not_built/extra/vcdimager/PKGBUILD
new file mode 100644
index 0000000..2aa79b1
--- /dev/null
+++ b/abs/not_built/extra/vcdimager/PKGBUILD
@@ -0,0 +1,24 @@
+# $Id: PKGBUILD 59903 2009-11-29 16:30:52Z 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' '!emptydirs')
+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/abs/not_built/extra/vcdimager/__changelog b/abs/not_built/extra/vcdimager/__changelog
new file mode 100644
index 0000000..701b6bb
--- /dev/null
+++ b/abs/not_built/extra/vcdimager/__changelog
@@ -0,0 +1 @@
+options=!noemptdir
diff --git a/abs/not_built/extra/vcdimager/cdio.patch b/abs/not_built/extra/vcdimager/cdio.patch
new file mode 100644
index 0000000..f7f9e31
--- /dev/null
+++ b/abs/not_built/extra/vcdimager/cdio.patch
@@ -0,0 +1,11 @@
+--- lib/image.c.org 2004-07-15 17:19:01.000000000 +0200
++++ lib/image.c 2004-07-15 17:22:06.000000000 +0200
+@@ -76,7 +76,7 @@
+ }
+
+ int
+-vcd_image_sink_write (VcdImageSink *obj, void *buf, uint32_t lsn)
++vcd_image_sink_write (VcdImageSink *obj, void *buf, lsn_t lsn)
+ {
+ vcd_assert (obj != NULL);
+
diff --git a/abs/not_built/extra/vcdimager/vcdimager.install b/abs/not_built/extra/vcdimager/vcdimager.install
new file mode 100644
index 0000000..faa9748
--- /dev/null
+++ b/abs/not_built/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
+}
+