summaryrefslogtreecommitdiff
path: root/community/libident
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-07-19 01:10:32 -0700
committerroot <root@rshg054.dnsready.net>2013-07-19 01:10:32 -0700
commit8fbc0076a4827ddc6af92e0b9daa4c4c31450808 (patch)
tree03fd0e2921ebd53228d9a93e32ed3976b636cbea /community/libident
parente445a313723389ba9ee1fded025c567dae5b21ea (diff)
Fri Jul 19 01:09:18 PDT 2013
Diffstat (limited to 'community/libident')
-rw-r--r--community/libident/PKGBUILD37
-rw-r--r--community/libident/libident.pc10
2 files changed, 47 insertions, 0 deletions
diff --git a/community/libident/PKGBUILD b/community/libident/PKGBUILD
new file mode 100644
index 000000000..4e4207c6a
--- /dev/null
+++ b/community/libident/PKGBUILD
@@ -0,0 +1,37 @@
+# $Id: PKGBUILD 90500 2013-05-12 23:26:42Z arodseth $
+# Maintainer: Alexander Rødseth <rodseth@gmail.com>
+# Contributor: Mateusz Herych <heniekk@gmail.com>
+
+pkgname=libident
+pkgver=0.32
+pkgrel=5
+pkgdesc='Library for querying IDENT servers'
+arch=('x86_64' 'i686')
+url='http://www.remlab.net/libident/'
+license=('custom')
+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 \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man
+ make
+}
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
+
+ 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:
diff --git a/community/libident/libident.pc b/community/libident/libident.pc
new file mode 100644
index 000000000..835504e9a
--- /dev/null
+++ b/community/libident/libident.pc
@@ -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}