summaryrefslogtreecommitdiff
path: root/community/oidentd/PKGBUILD
blob: b93d89d742308338d3bcb69d8aa5b7f573697d0c (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
# $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"
}