PKGBUILDs/community/epic4/PKGBUILD
2009-10-09 21:15:33 -05:00

33 lines
1 KiB
Bash

# $Id: PKGBUILD 3751 2009-10-08 17:31:32Z mherych $
# 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=1
pkgdesc="EPIC4 is 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 $startdir/src/$pkgname-$pkgver
./configure --prefix=/usr \
--mandir=/usr/share/man \
--with-ssl \
--with-ipv6 \
--with-perl \
--with-tcl
make || return 1
make prefix=$startdir/pkg/usr install || return 1
install -D -m 644 COPYRIGHT $startdir/pkg/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
}