[arch-commits] Commit in vcdimager/trunk (PKGBUILD cdio.patch vcdimager.install)
Jan de Groot
jgc at archlinux.org
Fri Apr 3 22:01:06 UTC 2009
Date: Friday, April 3, 2009 @ 18:01:06
Author: jgc
Revision: 33038
upgpkg: vcdimager 0.7.23-6
Manage info files, make paths FHS compliant
Added:
vcdimager/trunk/vcdimager.install
Modified:
vcdimager/trunk/PKGBUILD
Deleted:
vcdimager/trunk/cdio.patch
-------------------+
PKGBUILD | 16 ++++++++++------
cdio.patch | 11 -----------
vcdimager.install | 19 +++++++++++++++++++
3 files changed, 29 insertions(+), 17 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2009-04-03 21:56:48 UTC (rev 33037)
+++ PKGBUILD 2009-04-03 22:01:06 UTC (rev 33038)
@@ -4,19 +4,23 @@
pkgname=vcdimager
pkgver=0.7.23
-pkgrel=5
+pkgrel=6
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.81' '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 ${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
+ rm -f "${pkgdir}/usr/share/info/dir"
+ gzip ${pkgdir}/usr/share/info/*.info
}
Deleted: cdio.patch
===================================================================
--- cdio.patch 2009-04-03 21:56:48 UTC (rev 33037)
+++ cdio.patch 2009-04-03 22:01:06 UTC (rev 33038)
@@ -1,11 +0,0 @@
---- 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);
-
Added: vcdimager.install
===================================================================
--- vcdimager.install (rev 0)
+++ vcdimager.install 2009-04-03 22:01:06 UTC (rev 33038)
@@ -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
+}
+
More information about the arch-commits
mailing list