summaryrefslogtreecommitdiff
path: root/community/oidentd/PKGBUILD
blob: 8841f76cc49674c330c164ad46ca0f4ccafb27b0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# $Id: PKGBUILD 75286 2012-08-17 22:22:42Z heftig $
# 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=7
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
        rc.d conf.d service socket)
md5sums=('c3d9a56255819ef8904b867284386911'
         '93cbf742cdd0b053f67482273d715f25'
         '603307525771724b0f55a2c34fbc3f3e'
         'b215bee5764cdecb0939f44d5d2dccbe'
         '4442fb9fc10754914568e6ffc3d5fc42')

build() {
	cd $srcdir/$pkgname-$pkgver
	./configure --prefix=/usr
	make
}

package() {
	cd $srcdir/$pkgname-$pkgver
	make prefix=$pkgdir/usr mandir=$pkgdir/usr/share/man install

    install -D -m644 $srcdir/conf.d $pkgdir/etc/conf.d/oidentd
	install -D -m755 $srcdir/rc.d $pkgdir/etc/rc.d/oidentd
	install -D -m644 $srcdir/service $pkgdir/usr/lib/systemd/system/oidentd@.service
	install -D -m644 $srcdir/socket $pkgdir/usr/lib/systemd/system/oidentd.socket
}