summaryrefslogtreecommitdiff
path: root/community/ngircd/PKGBUILD
blob: 64123e350afd7db88942997798caa7354fa36b66 (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
# $Id: PKGBUILD 40090 2011-02-20 00:03:13Z mherych $
# Maintainer: Mateusz Herych <heniekk@gmail.com>
pkgname=ngircd
pkgver=17.1
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=(ftp://ftp.berlios.de/pub/ngircd/ngircd-$pkgver.tar.gz ngircd.sh)
md5sums=('b4ad0b1f18875ff3f2e92f076e64496b'
		 '6d2e9f1bbb4a3a7349da0dcd3f6d8dc3')

build() {
	cd $startdir/src/$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
}