summaryrefslogtreecommitdiff
path: root/community/ngircd/PKGBUILD
blob: d2079fd869a123c1735b2e219e8eb72a0e71ce79 (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
# $Id: PKGBUILD 56891 2011-10-16 05:54:18Z bpiotrowski $
# Maintainer: Mateusz Herych <heniekk@gmail.com>

pkgname=ngircd
pkgver=18
pkgrel=1
pkgdesc="Next Generation IRC Daemon"
arch=('i686' 'x86_64' 'mips64el')
backup=(etc/ngircd.conf)
url="http://ngircd.barton.de/"
license=('GPL')
depends=('openssl' 'libident')
source=(http://ngircd.barton.de/pub/ngircd/ngircd-$pkgver.tar.gz ngircd.sh)
md5sums=('4958c8b2d128cf3e9888af3f782892a1'
         '6d2e9f1bbb4a3a7349da0dcd3f6d8dc3')

build() {
	cd $srcdir/$pkgname-$pkgver
	./configure --prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--with-ident \
		--with-openssl
	make
}

package() {
	cd $srcdir/$pkgname-$pkgver
	make DESTDIR=$pkgdir install
	install -D -m 755 ../ngircd.sh $pkgdir/etc/rc.d/ngircd
}