summaryrefslogtreecommitdiff
path: root/community/oidentd/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/oidentd/PKGBUILD')
-rw-r--r--community/oidentd/PKGBUILD35
1 files changed, 35 insertions, 0 deletions
diff --git a/community/oidentd/PKGBUILD b/community/oidentd/PKGBUILD
new file mode 100644
index 000000000..b93d89d74
--- /dev/null
+++ b/community/oidentd/PKGBUILD
@@ -0,0 +1,35 @@
+# $Id: PKGBUILD 90524 2013-05-13 00:06:48Z eric $
+# Maintainer: Bartłomiej Piotrowski <nospam@bpiotrowski.pl>
+# Contributor: simo <simo@archlinux.org>
+# Contributor: Mateusz Herych <heniekk@gmail.com>
+# Contributor: Tom Newsom <Jeepster@gmx.co.uk>
+
+pkgname=oidentd
+pkgver=2.0.8
+pkgrel=8
+pkgdesc='An RFC1413 compliant ident daemon'
+arch=('i686' 'x86_64')
+url="http://dev.ojnk.net/"
+license=('GPL')
+depends=('glibc' 'bash')
+source=(http://downloads.sourceforge.net/sourceforge/ojnk/$pkgname-$pkgver.tar.gz{,.asc}
+ service socket)
+md5sums=('c3d9a56255819ef8904b867284386911'
+ 'SKIP'
+ 'f54c5ed2a532a559c837af18735a28f1'
+ '4442fb9fc10754914568e6ffc3d5fc42')
+
+build() {
+ cd $pkgname-$pkgver
+ ./configure --prefix=/usr --sbindir=/usr/bin --mandir=/usr/share/man
+ make
+}
+
+package() {
+ cd $pkgname-$pkgver
+ make DESTDIR="$pkgdir" install
+
+ install -D -m644 "$srcdir/service" "$pkgdir/usr/lib/systemd/system/oidentd@.service"
+ install -D -m644 "$srcdir/socket" "$pkgdir/usr/lib/systemd/system/oidentd.socket"
+}
+