summaryrefslogtreecommitdiff
path: root/community/oidentd/PKGBUILD
blob: b2eed2962655edffd8287c5d6aa8555a4b1b7951 (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
# $Id: PKGBUILD 64895 2012-02-18 19:49:45Z bpiotrowski $
# Maintainer: simo <simo@archlinux.org>
# Maintainer: Mateusz Herych <heniekk@gmail.com>
# Contributor: Tom Newsom <Jeepster@gmx.co.uk>

pkgname=oidentd
pkgver=2.0.8
pkgrel=5
pkgdesc="An ident (rfc1413 compliant) daemon that runs on Linux"
arch=('i686' 'x86_64')
url="http://dev.ojnk.net/"
license=('GPL')
depends=('glibc' 'bash')
source=(http://downloads.sourceforge.net/sourceforge/ojnk/oidentd-$pkgver.tar.gz
	    oidentd.rc
	    oidentd.default)
md5sums=('c3d9a56255819ef8904b867284386911'
         '93cbf742cdd0b053f67482273d715f25'
         '603307525771724b0f55a2c34fbc3f3e')

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 -m 755 "$srcdir"/$pkgname.rc "$pkgdir"/etc/rc.d/oidentd
	install -D -m 644 "$srcdir"/$pkgname.default "$pkgdir"/etc/conf.d/oidentd
}