summaryrefslogtreecommitdiff
path: root/testing/weechat/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'testing/weechat/PKGBUILD')
-rw-r--r--testing/weechat/PKGBUILD33
1 files changed, 33 insertions, 0 deletions
diff --git a/testing/weechat/PKGBUILD b/testing/weechat/PKGBUILD
new file mode 100644
index 000000000..7e2144efc
--- /dev/null
+++ b/testing/weechat/PKGBUILD
@@ -0,0 +1,33 @@
+# $Id: PKGBUILD 125306 2011-05-25 19:29:12Z foutrelis $
+# Maintainer: Giovanni Scafora <giovanni@archlinux.org>
+# Contributor: lucke <lucke at o2 dot pl>
+
+pkgname=weechat
+pkgver=0.3.5
+pkgrel=2
+pkgdesc="Fast, light and extensible IRC client (curses UI)"
+arch=('i686' 'x86_64')
+url="http://www.weechat.org/"
+license=('GPL')
+depends=('gnutls')
+makedepends=('cmake' 'pkgconfig' 'perl' 'python2' 'lua' 'tcl' 'ruby' 'aspell')
+optdepends=('perl' 'python2' 'lua' 'tcl' 'ruby' 'aspell')
+options=('!libtool')
+source=("http://www.weechat.org/files/src/${pkgname}-${pkgver}.tar.bz2")
+md5sums=('0d2a089bfbfa550e0c65618a171fb3c4')
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+
+ mkdir build
+ cd build
+ cmake .. -DPREFIX=/usr \
+ -DPYTHON_EXECUTABLE=/usr/bin/python2 \
+ -DPYTHON_LIBRARY=/usr/lib/libpython2.7.so
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}/build"
+
+ make DESTDIR="${pkgdir}/" install
+}