PKGBUILDs/extra/weechat/PKGBUILD
2009-10-09 21:23:22 -05:00

27 lines
866 B
Bash

# $Id: PKGBUILD 53441 2009-09-30 23:57:57Z giovanni $
# Maintainer: Giovanni Scafora <giovanni@archlinux.org>
# Contributor: lucke <lucke at o2 dot pl>
pkgname=weechat
pkgver=0.3.0
pkgrel=3
pkgdesc="Fast, light and extensible IRC client (curses UI)"
arch=('i686' 'x86_64')
url="http://www.weechat.org/"
license=('GPL')
depends=('gnutls>=2.6.4' 'aspell' 'tcl')
makedepends=('pkgconfig' 'perl>=5.10.1-3' 'python>=2.6' 'lua')
optdepends=('perl>=5.10.1-3' 'python>=2.6' 'lua')
source=(http://www.weechat.org/files/src/$pkgname-$pkgver.tar.bz2)
options=(!libtool)
md5sums=('c31cfc229e964ff9257cc9c7f9e6c9bc')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
./configure --prefix=/usr \
--includedir=${pkgdir}/usr/include
--disable-ruby \
--with-debug=0 LDFLAGS="-lm -ldl"
make || return 1
make DESTDIR=${pkgdir} install
}