summaryrefslogtreecommitdiff
path: root/community/epic4/PKGBUILD
blob: 7c8e9a1c5b6509efb54453aefe9b818555b39bfd (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
39
40
41
# $Id: PKGBUILD 67602 2012-03-13 13:59:58Z lcarlier $
# Maintainer: Mateusz Herych <heniekk@gmail.com>
# Maintainer: dorphell <dorphell@archlinux.org>
# Contributor: Tom Newsom <Jeepster@gmx.co.uk>
# Contributor: Chris Brannon <cmbrannon (at) cox.net>

pkgname=epic4
pkgver=2.10.1
pkgrel=3
pkgdesc="It's a new direction in ircII development"
arch=('i686' 'x86_64')
url="http://www.epicsol.org/"
license=('custom')
depends=('openssl' 'ncurses' 'tcl' 'perl')
source=(ftp://ftp.epicsol.org/pub/epic/EPIC4-PRODUCTION/$pkgname-$pkgver.tar.gz)
md5sums=('6f08a04494d0f5543b5f8f3c1ac56d11')

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

 ./configure --prefix=/usr \
       --mandir=/usr/share/man \
       --with-ssl \
       --with-ipv6 \
       --with-perl \
       --with-tcl

 make
}

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

 make prefix=${pkgdir}/usr install

 install -D -m 644 COPYRIGHT ${pkgdir}/usr/share/licenses/$pkgname/COPYRIGHT
 mkdir -p ${pkgdir}/usr/lib/$pkgname
 mv ${pkgdir}/usr/libexec/wserv4 $pkgdir/usr/lib/$pkgname
 rm -rf ${pkgdir}/usr/libexec
}