updated on Sat Jan 21 04:00:54 UTC 2012
[aur-mirror.git] / irssi-svn / PKGBUILD
blobcd118d4eeb83e75222b3f9473755561b12f38408
1 # Maintainer: J. W. Birdsong  <jwbirdsong AT gmail DOT com>
2 # Contributor: Lukasz Fidosz <virhilo@gmail.com>
3 # Contributor: Stavros Giannouris <stavrosg2002@freemail.gr>
4 # Contributor: SaintShakaJin <saintshakajin.3@laposte.net>
7 pkgname=irssi-svn
8 pkgver=5203
9 pkgrel=1
10 pkgdesc="Modular text mode IRC client with Perl scripting"
11 url="http://irssi.org/"
12 arch=('i686' 'x86_64')
13 license="GPL"
14 depends=('glib2' 'openssl' 'perl')
15 makedepends=('subversion' 'lynx' 'pkgconfig')
16 optdepends=('perl-libwww: used for scriptassist')
17 backup=(etc/irssi.conf)
18 conflicts=('irssi' 'irssi-cvs')
19 provides=('irssi')
21 _svntrunk=http://svn.irssi.org/repos/irssi/trunk
22 _svnmod=irssi
24 build() {
25         cd ${srcdir}
26         svn co $_svntrunk $_svnmod -r $pkgver
27         msg "SVN checkout complete or svn timed out."
28         msg "Starting make..."
29         cd $_svnmod
30         ./autogen.sh --prefix=/usr \
31                      --enable-ipv6 \
32                      --with-proxy \
33                      --sysconfdir=/etc \
34                      --with-perl-lib=vendor
35         make
36         make DESTDIR=${pkgdir} install
37         rm -rf  ${pkgdir}/usr/lib/perl5/core_perl/