[arch-commits] Commit in libextractor/repos (3 files)

Eric Bélanger eric at archlinux.org
Fri May 1 03:26:17 EDT 2009


    Date: Friday, May 1, 2009 @ 03:26:17
  Author: eric
Revision: 37373

Merged revisions 356,37371 via svnmerge from 
svn+ssh://svn.archlinux.org/srv/svn-packages/libextractor/trunk

........
  r356 | aaron | 2008-04-18 18:56:27 -0400 (Fri, 18 Apr 2008) | 1 line
  
  Added svn:keywords to all PKGBUILDs
........
  r37371 | eric | 2009-05-01 03:11:42 -0400 (Fri, 01 May 2009) | 2 lines
  
  upgpkg: libextractor 0.5.22-1
      Upstream update, Added install scriptlet to handle info pages
........

Added:
  libextractor/repos/extra-i686/libextractor.install
    (from rev 37371, libextractor/trunk/libextractor.install)
Modified:
  libextractor/repos/extra-i686/	(properties)
  libextractor/repos/extra-i686/PKGBUILD

----------------------+
 PKGBUILD             |   18 ++++++++++--------
 libextractor.install |   20 ++++++++++++++++++++
 2 files changed, 30 insertions(+), 8 deletions(-)


Property changes on: libextractor/repos/extra-i686
___________________________________________________________________
Modified: svnmerge-integrated
   - /libextractor/trunk:1
   + /libextractor/trunk:1-37372

Modified: extra-i686/PKGBUILD
===================================================================
--- extra-i686/PKGBUILD	2009-05-01 07:12:00 UTC (rev 37372)
+++ extra-i686/PKGBUILD	2009-05-01 07:26:17 UTC (rev 37373)
@@ -2,21 +2,23 @@
 # Maintainer: damir <damir at archlinux.org>
 
 pkgname=libextractor
-pkgver=0.5.20
+pkgver=0.5.22
 pkgrel=1
 pkgdesc="libextractor is a library used to extract meta-data from files of arbitrary type"
 arch=("i686" "x86_64")
 license=('GPL')
-# url="http://ovmj.org/libextractor/"
 url="http://gnunet.org/libextractor/"
-depends=('gcc-libs>=4.1' 'glib2' 'bzip2' 'zlib' 'libvorbis' 'libtool>=2.2' 'gtk2' 'libgsf' 'libmpeg2' 'libxml2')
+depends=('gcc-libs>=4.1' 'glib2' 'bzip2' 'zlib' 'libvorbis' 'libtool>=2.2' 'gtk2' 'libgsf' 'libmpeg2' 'libxml2' 'texinfo')
 options=('!libtool' '!makeflags')
-source=("$url/download/${pkgname}-${pkgver}.tar.gz")
-md5sums=('b71833f1c1b8299b01df2d7669600030')
+install=libextractor.install
+source=(http://gnunet.org/libextractor/download/${pkgname}-${pkgver}.tar.gz)
+md5sums=('f6d6ea1264a471189eee99728b983c4e')
 
 build() {
-  cd $startdir/src/$pkgname-$pkgver
-  ./configure --prefix=/usr --enable-shared --disable-static
+  cd ${srcdir}/${pkgname}-${pkgver}
+  ./configure --prefix=/usr --enable-shared --disable-static || return 1
   make || return 1
-  make DESTDIR=$startdir/pkg install
+  make DESTDIR=${pkgdir} install || return 1
+  rm ${pkgdir}/usr/share/info/dir
+  gzip ${pkgdir}/usr/share/info/extractor.info
 }

Copied: libextractor/repos/extra-i686/libextractor.install (from rev 37371, libextractor/trunk/libextractor.install)
===================================================================
--- extra-i686/libextractor.install	                        (rev 0)
+++ extra-i686/libextractor.install	2009-05-01 07:26:17 UTC (rev 37373)
@@ -0,0 +1,20 @@
+infodir=/usr/share/info
+filelist=(extractor.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
+}
+
+post_upgrade() {
+  post_install $1
+}
+
+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
+}



More information about the arch-commits mailing list