summaryrefslogtreecommitdiff
path: root/community/epic4/PKGBUILD
blob: 9e691eef63705e3cb6fe84c0b33649169d65cbe5 (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
42
43
44
# $Id: PKGBUILD 98155 2013-10-06 18:44:32Z jlichtblau $
# Maintainer: Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
# Contributor: Mateusz Herych <heniekk@gmail.com>
# Contributor: dorphell <dorphell@archlinux.org>
# Contributor: Tom Newsom <Jeepster@gmx.co.uk>
# Contributor: Chris Brannon <cmbrannon (at) cox.net>

pkgname=epic4
pkgver=2.10.2
pkgrel=1
pkgdesc="It's a new direction in ircII development"
arch=('i686' 'x86_64' 'mips64el')
url="http://www.epicsol.org/"
license=('custom')
depends=('openssl' 'ncurses' 'tcl' 'perl')
options=('!emptydirs')
source=(ftp://ftp.epicsol.org/pub/epic/EPIC4-PRODUCTION/$pkgname-$pkgver.tar.gz)
sha256sums=('019e8b9709d806a47c8981e78830ebef132ad2350180d034d1ec2af0582dd249')

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

#to avoid build fail
  unset CPPFLAGS
 
  ./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 \
       libexecdir=${pkgdir}/usr/bin \
       mandir=${pkgdir}/usr/share/man install

  install -D -m644 COPYRIGHT ${pkgdir}/usr/share/licenses/$pkgname/COPYRIGHT
}