summaryrefslogtreecommitdiff
path: root/community/ngircd/PKGBUILD
blob: 6f2a90d52f3fb5ddfdae007f2b83d78db581feca (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 64813 2012-02-18 11:01:32Z arodseth $
# Maintainer: Mateusz Herych <heniekk@gmail.com>
# Contributor: Alexander Rødseth <rodseth@gmail.com>

pkgname=ngircd
pkgver=18
pkgrel=2
pkgdesc="Next Generation IRC Daemon"
arch=('x86_64' 'i686')
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)
sha256sums=('b24a9cc3e9d32e845836d01e33fd2cfbbe2ecb5c86b6c0d0bc3178229e8472dc'
            'f8c28546090af8ce67471b9b4d577f6926007615356dd11afd2bc16f61d698d5')

build() {
  cd "$srcdir/$pkgname-$pkgver"

  ./configure --prefix=/usr \
  	--sysconfdir=/etc \
  	--mandir=/usr/share/man \
  	--with-ident \
  	--with-openssl \
  	--enable-ipv6
  make
}

package() {
  cd "$srcdir/$pkgname-$pkgver"

  make DESTDIR="$pkgdir" install
  install -Dm 755 ../ngircd.sh "$pkgdir/etc/rc.d/ngircd"
}

# vim:set ts=2 sw=2 et: