updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / epic5 / PKGBUILD
blobd37528cc7897d780b16b99e67d830996c8c8fbcf
1 # Contributor: Mateusz Herych <heniekk@gmail.com>
3 pkgname=epic5
4 pkgver=1.0
5 pkgrel=1
6 pkgdesc="EPIC5 is a new direction in ircII development"
7 arch=('i686' 'x86_64')
8 url="http://www.epicsol.org/"
9 license=('custom')
10 depends=('openssl' 'ncurses' 'tcl' 'perl')
11 source=(ftp://ftp.epicsol.org/pub/epic/EPIC5-PRODUCTION/$pkgname-$pkgver.tar.gz)
12 md5sums=('303c42d493b8b9890de77feac6638aa0')
14 build() {
15  cd $srcdir/$pkgname-$pkgver
16  ./configure --prefix=/usr \
17        --with-ssl \
18        --with-ipv6 \
19        --with-perl \
20        --with-tcl
21  sed -i 's|-lieee||g' ./source/Makefile
22  make || return 1
23  make prefix=$pkgdir/usr install || return 1
24  install -D -m 644 COPYRIGHT $pkgdir/usr/share/licenses/$pkgname/COPYRIGHT
25  mv $pkgdir/usr/libexec/* $pkgdir/usr/bin
26  rm -rf $pkgdir/usr/libexec
27  mv $pkgdir/usr/man $pkgdir/usr/share/man