[arch-commits] Commit in libconfig/repos (8 files)

Ray Rashif schiv at archlinux.org
Fri Jul 10 22:40:47 UTC 2015


    Date: Saturday, July 11, 2015 @ 00:40:47
  Author: schiv
Revision: 242106

archrelease: copy trunk to testing-i686, testing-x86_64

Added:
  libconfig/repos/testing-i686/
  libconfig/repos/testing-i686/.contrib
    (from rev 242105, libconfig/trunk/.contrib)
  libconfig/repos/testing-i686/PKGBUILD
    (from rev 242105, libconfig/trunk/PKGBUILD)
  libconfig/repos/testing-i686/libconfig.install
    (from rev 242105, libconfig/trunk/libconfig.install)
  libconfig/repos/testing-x86_64/
  libconfig/repos/testing-x86_64/.contrib
    (from rev 242105, libconfig/trunk/.contrib)
  libconfig/repos/testing-x86_64/PKGBUILD
    (from rev 242105, libconfig/trunk/PKGBUILD)
  libconfig/repos/testing-x86_64/libconfig.install
    (from rev 242105, libconfig/trunk/libconfig.install)

----------------------------------+
 testing-i686/.contrib            |    2 ++
 testing-i686/PKGBUILD            |   33 +++++++++++++++++++++++++++++++++
 testing-i686/libconfig.install   |   18 ++++++++++++++++++
 testing-x86_64/.contrib          |    2 ++
 testing-x86_64/PKGBUILD          |   33 +++++++++++++++++++++++++++++++++
 testing-x86_64/libconfig.install |   18 ++++++++++++++++++
 6 files changed, 106 insertions(+)

Copied: libconfig/repos/testing-i686/.contrib (from rev 242105, libconfig/trunk/.contrib)
===================================================================
--- testing-i686/.contrib	                        (rev 0)
+++ testing-i686/.contrib	2015-07-10 22:40:47 UTC (rev 242106)
@@ -0,0 +1,2 @@
+# Contributor: Roman Kyrylych <roman at archlinux.org>
+# Contributor: scippio <scippio at seznam.cz>

Copied: libconfig/repos/testing-i686/PKGBUILD (from rev 242105, libconfig/trunk/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD	                        (rev 0)
+++ testing-i686/PKGBUILD	2015-07-10 22:40:47 UTC (rev 242106)
@@ -0,0 +1,33 @@
+# $Id: PKGBUILD 55397 2011-09-11 21:15:58Z spupykin $
+# Maintainer: Ray Rashif <schiv at archlinux.org>
+# Contributor: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Contributor: see .contrib
+
+pkgname=libconfig
+pkgver=1.5
+pkgrel=1
+pkgdesc="C/C++ Configuration File Library"
+arch=('i686' 'x86_64')
+url="http://hyperrealm.com/libconfig/libconfig.html"
+license=('LGPL')
+depends=('gcc-libs' 'texinfo')
+install=$pkgname.install
+options=('!emptydirs' 'zipman')
+source=("http://www.hyperrealm.com/libconfig/$pkgname-$pkgver.tar.gz")
+md5sums=('a939c4990d74e6fc1ee62be05716f633')
+
+build() {
+  cd "$srcdir/$pkgname-$pkgver"
+
+  ./configure --prefix=/usr
+  make
+}
+
+package() {
+	cd "$srcdir/$pkgname-$pkgver"
+
+  make DESTDIR="$pkgdir" install
+  rm "$pkgdir/usr/share/info/dir"
+}
+
+# vim:set ts=2 sw=2 et:

Copied: libconfig/repos/testing-i686/libconfig.install (from rev 242105, libconfig/trunk/libconfig.install)
===================================================================
--- testing-i686/libconfig.install	                        (rev 0)
+++ testing-i686/libconfig.install	2015-07-10 22:40:47 UTC (rev 242106)
@@ -0,0 +1,18 @@
+infodir=/usr/share/info
+filelist=(libconfig.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
+}

Copied: libconfig/repos/testing-x86_64/.contrib (from rev 242105, libconfig/trunk/.contrib)
===================================================================
--- testing-x86_64/.contrib	                        (rev 0)
+++ testing-x86_64/.contrib	2015-07-10 22:40:47 UTC (rev 242106)
@@ -0,0 +1,2 @@
+# Contributor: Roman Kyrylych <roman at archlinux.org>
+# Contributor: scippio <scippio at seznam.cz>

Copied: libconfig/repos/testing-x86_64/PKGBUILD (from rev 242105, libconfig/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2015-07-10 22:40:47 UTC (rev 242106)
@@ -0,0 +1,33 @@
+# $Id: PKGBUILD 55397 2011-09-11 21:15:58Z spupykin $
+# Maintainer: Ray Rashif <schiv at archlinux.org>
+# Contributor: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Contributor: see .contrib
+
+pkgname=libconfig
+pkgver=1.5
+pkgrel=1
+pkgdesc="C/C++ Configuration File Library"
+arch=('i686' 'x86_64')
+url="http://hyperrealm.com/libconfig/libconfig.html"
+license=('LGPL')
+depends=('gcc-libs' 'texinfo')
+install=$pkgname.install
+options=('!emptydirs' 'zipman')
+source=("http://www.hyperrealm.com/libconfig/$pkgname-$pkgver.tar.gz")
+md5sums=('a939c4990d74e6fc1ee62be05716f633')
+
+build() {
+  cd "$srcdir/$pkgname-$pkgver"
+
+  ./configure --prefix=/usr
+  make
+}
+
+package() {
+	cd "$srcdir/$pkgname-$pkgver"
+
+  make DESTDIR="$pkgdir" install
+  rm "$pkgdir/usr/share/info/dir"
+}
+
+# vim:set ts=2 sw=2 et:

Copied: libconfig/repos/testing-x86_64/libconfig.install (from rev 242105, libconfig/trunk/libconfig.install)
===================================================================
--- testing-x86_64/libconfig.install	                        (rev 0)
+++ testing-x86_64/libconfig.install	2015-07-10 22:40:47 UTC (rev 242106)
@@ -0,0 +1,18 @@
+infodir=/usr/share/info
+filelist=(libconfig.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