[arch-commits] Commit in libident/trunk (PKGBUILD libident.pc)

Alexander Rødseth arodseth at nymeria.archlinux.org
Sun May 12 19:26:23 EDT 2013


    Date: Monday, May 13, 2013 @ 01:26:23
  Author: arodseth
Revision: 90499

added pkgconfig configuration file, removed empty dirs, rebuilt in connection with TODO

Added:
  libident/trunk/libident.pc
Modified:
  libident/trunk/PKGBUILD

-------------+
 PKGBUILD    |   21 ++++++++++++---------
 libident.pc |   10 ++++++++++
 2 files changed, 22 insertions(+), 9 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2013-05-12 23:26:18 UTC (rev 90498)
+++ PKGBUILD	2013-05-12 23:26:23 UTC (rev 90499)
@@ -1,24 +1,26 @@
 # $Id$
 # Maintainer: Alexander Rødseth <rodseth at gmail.com>
 # Contributor: Mateusz Herych <heniekk at gmail.com>
-#
-# TODO: Write a pkg-conf file
 
 pkgname=libident
 pkgver=0.32
-pkgrel=4
-pkgdesc="Library for querying IDENT servers"
+pkgrel=5
+pkgdesc='Library for querying IDENT servers'
 arch=('x86_64' 'i686')
-url="http://www.remlab.net/libident/"
+url='http://www.remlab.net/libident/'
 license=('custom')
-options=('!libtool')
-source=("http://www.remlab.net/files/libident/libident-$pkgver.tar.gz")
-sha256sums=('8cc8fb69f1c888be7cffde7f4caeb3dc6cd0abbc475337683a720aa7638a174b')
+depends=('glibc')
+options=('!emptydirs' '!libtool')
+source=("http://www.remlab.net/files/libident/libident-$pkgver.tar.gz"
+        'libident.pc')
+sha256sums=('8cc8fb69f1c888be7cffde7f4caeb3dc6cd0abbc475337683a720aa7638a174b'
+            '81907cda4fe9c925e78bf58bc9c61d1af439784e4f01da4bd6fc7e4d87750f5c')
 
 build() {
   cd "$srcdir/$pkgname-$pkgver"
 
-  ./configure --prefix=/usr \
+  ./configure \
+    --prefix=/usr \
     --sysconfdir=/etc \
     --mandir=/usr/share/man
   make
@@ -29,6 +31,7 @@
 
   make DESTDIR="$pkgdir" install
   install -Dm755 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"
+  install -Dm644 "$srcdir/libident.pc" "$pkgdir/usr/lib/pkgconfig/libident.pc"
 }
 
 # vim:set ts=2 sw=2 et:

Added: libident.pc
===================================================================
--- libident.pc	                        (rev 0)
+++ libident.pc	2013-05-12 23:26:23 UTC (rev 90499)
@@ -0,0 +1,10 @@
+prefix=/usr
+exec_prefix=${prefix}
+libdir=${prefix}/lib
+includedir=${prefix}/include
+
+Name: libident
+Description: IDENT query library
+Version: 0.32
+Libs: -L${libdir} -lident 
+Cflags: -I${includedir}



More information about the arch-commits mailing list