[arch-commits] Commit in (6 files)

Ray Rashif schiv at archlinux.org
Wed Sep 19 18:55:11 UTC 2012


    Date: Wednesday, September 19, 2012 @ 14:55:10
  Author: schiv
Revision: 166828

add libconfig dep for libffado from brought in from community r76500 last changed r55398 by spupykin

Added:
  libconfig/
  libconfig/repos/
  libconfig/trunk/
  libconfig/trunk/.contrib
  libconfig/trunk/PKGBUILD
  libconfig/trunk/libconfig.install

-------------------+
 .contrib          |    2 ++
 PKGBUILD          |   33 +++++++++++++++++++++++++++++++++
 libconfig.install |   18 ++++++++++++++++++
 3 files changed, 53 insertions(+)

Added: libconfig/trunk/.contrib
===================================================================
--- libconfig/trunk/.contrib	                        (rev 0)
+++ libconfig/trunk/.contrib	2012-09-19 18:55:10 UTC (rev 166828)
@@ -0,0 +1,2 @@
+# Contributor: Roman Kyrylych <roman at archlinux.org>
+# Contributor: scippio <scippio at seznam.cz>

Added: libconfig/trunk/PKGBUILD
===================================================================
--- libconfig/trunk/PKGBUILD	                        (rev 0)
+++ libconfig/trunk/PKGBUILD	2012-09-19 18:55:10 UTC (rev 166828)
@@ -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.4.8
+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=('!libtool' '!emptydirs' 'zipman')
+source=("http://www.hyperrealm.com/libconfig/$pkgname-$pkgver.tar.gz")
+md5sums=('36788da452e9fcfc8efb7661ef5d31ef')
+
+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:

Added: libconfig/trunk/libconfig.install
===================================================================
--- libconfig/trunk/libconfig.install	                        (rev 0)
+++ libconfig/trunk/libconfig.install	2012-09-19 18:55:10 UTC (rev 166828)
@@ -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