Date: Friday, July 3, 2015 @ 17:35:45
  Author: spupykin
Revision: 136334

archrelease: copy trunk to community-staging-i686, community-staging-x86_64

Added:
  libextractor/repos/community-staging-i686/
  libextractor/repos/community-staging-i686/PKGBUILD
    (from rev 136332, libextractor/trunk/PKGBUILD)
  libextractor/repos/community-staging-i686/libextractor.install
    (from rev 136332, libextractor/trunk/libextractor.install)
  libextractor/repos/community-staging-x86_64/
  libextractor/repos/community-staging-x86_64/PKGBUILD
    (from rev 136332, libextractor/trunk/PKGBUILD)
  libextractor/repos/community-staging-x86_64/libextractor.install
    (from rev 136332, libextractor/trunk/libextractor.install)

-----------------------------------------------+
 community-staging-i686/PKGBUILD               |   37 ++++++++++++++++++++++++
 community-staging-i686/libextractor.install   |   20 ++++++++++++
 community-staging-x86_64/PKGBUILD             |   37 ++++++++++++++++++++++++
 community-staging-x86_64/libextractor.install |   20 ++++++++++++
 4 files changed, 114 insertions(+)

Copied: libextractor/repos/community-staging-i686/PKGBUILD (from rev 136332, 
libextractor/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD                             (rev 0)
+++ community-staging-i686/PKGBUILD     2015-07-03 15:35:45 UTC (rev 136334)
@@ -0,0 +1,37 @@
+# $Id$
+# Maintainer: Sergej Pupykin <[email protected]>
+# Contributor: damir <[email protected]>
+
+pkgname=libextractor
+pkgver=1.0.1
+pkgrel=7
+pkgdesc="A library used to extract meta-data from files of arbitrary type"
+arch=("i686" "x86_64")
+license=('GPL')
+url="http://gnunet.org/libextractor/";
+depends=('libltdl')
+makedepends=('flac' 'poppler' 'exiv2' 'qt4' 'libvorbis' 'gtk2' 'libgsf' 
'libmpeg2')
+optdepends=('flac: flac support'
+           'poppler: pdf support'
+           'exiv2: metadata support'
+           'qt: the Qt GUI interface/thumbnails'
+           'gtk2: gtk2 GUI interface/thumbnails'
+           'libgsf: (optional) for ODF support'
+           'libmpeg2: mpeg support'
+           'libvorbis: ogg/vorbis support')
+options=('!makeflags')
+install=libextractor.install
+source=("http://ftp.gnu.org/gnu/libextractor/${pkgname}-${pkgver}.tar.gz";)
+md5sums=('593c40670fd7fc8c3ae7adc3df557f64')
+
+build() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+  ./configure --prefix=/usr --enable-shared --disable-static
+  make
+}
+
+package() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+  make DESTDIR=${pkgdir} install
+  rm ${pkgdir}/usr/share/info/dir
+}

Copied: libextractor/repos/community-staging-i686/libextractor.install (from 
rev 136332, libextractor/trunk/libextractor.install)
===================================================================
--- community-staging-i686/libextractor.install                         (rev 0)
+++ community-staging-i686/libextractor.install 2015-07-03 15:35:45 UTC (rev 
136334)
@@ -0,0 +1,20 @@
+infodir=usr/share/info
+filelist=(libextractor.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
+}

Copied: libextractor/repos/community-staging-x86_64/PKGBUILD (from rev 136332, 
libextractor/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD                           (rev 0)
+++ community-staging-x86_64/PKGBUILD   2015-07-03 15:35:45 UTC (rev 136334)
@@ -0,0 +1,37 @@
+# $Id$
+# Maintainer: Sergej Pupykin <[email protected]>
+# Contributor: damir <[email protected]>
+
+pkgname=libextractor
+pkgver=1.0.1
+pkgrel=7
+pkgdesc="A library used to extract meta-data from files of arbitrary type"
+arch=("i686" "x86_64")
+license=('GPL')
+url="http://gnunet.org/libextractor/";
+depends=('libltdl')
+makedepends=('flac' 'poppler' 'exiv2' 'qt4' 'libvorbis' 'gtk2' 'libgsf' 
'libmpeg2')
+optdepends=('flac: flac support'
+           'poppler: pdf support'
+           'exiv2: metadata support'
+           'qt: the Qt GUI interface/thumbnails'
+           'gtk2: gtk2 GUI interface/thumbnails'
+           'libgsf: (optional) for ODF support'
+           'libmpeg2: mpeg support'
+           'libvorbis: ogg/vorbis support')
+options=('!makeflags')
+install=libextractor.install
+source=("http://ftp.gnu.org/gnu/libextractor/${pkgname}-${pkgver}.tar.gz";)
+md5sums=('593c40670fd7fc8c3ae7adc3df557f64')
+
+build() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+  ./configure --prefix=/usr --enable-shared --disable-static
+  make
+}
+
+package() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+  make DESTDIR=${pkgdir} install
+  rm ${pkgdir}/usr/share/info/dir
+}

Copied: libextractor/repos/community-staging-x86_64/libextractor.install (from 
rev 136332, libextractor/trunk/libextractor.install)
===================================================================
--- community-staging-x86_64/libextractor.install                               
(rev 0)
+++ community-staging-x86_64/libextractor.install       2015-07-03 15:35:45 UTC 
(rev 136334)
@@ -0,0 +1,20 @@
+infodir=usr/share/info
+filelist=(libextractor.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
+}

Reply via email to