summaryrefslogtreecommitdiff
path: root/staging/weechat/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-05-26 00:02:35 +0000
committerroot <root@rshg054.dnsready.net>2012-05-26 00:02:35 +0000
commita5721a07196cf00c26ea1bfb651aab756d202ccb (patch)
treeb60f984dd22f98544c8d2fd9526cc24dea3dcd25 /staging/weechat/PKGBUILD
parentaa30737839de3c2a4a1287442cb9859414fb4b0a (diff)
Sat May 26 00:02:35 UTC 2012
Diffstat (limited to 'staging/weechat/PKGBUILD')
-rw-r--r--staging/weechat/PKGBUILD33
1 files changed, 33 insertions, 0 deletions
diff --git a/staging/weechat/PKGBUILD b/staging/weechat/PKGBUILD
new file mode 100644
index 000000000..70b5ad435
--- /dev/null
+++ b/staging/weechat/PKGBUILD
@@ -0,0 +1,33 @@
+# $Id: PKGBUILD 159476 2012-05-24 21:06:54Z giovanni $
+# Maintainer: Giovanni Scafora <giovanni@archlinux.org>
+# Contributor: lucke <lucke at o2 dot pl>
+
+pkgname=weechat
+pkgver=0.3.7
+pkgrel=2
+pkgdesc="Fast, light and extensible IRC client (curses UI)"
+arch=('i686' 'x86_64')
+url="http://www.weechat.org/"
+license=('GPL')
+depends=('gnutls' 'curl' 'libgcrypt')
+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=('62bb5002b2ba9e5816dfeededc3fa276')
+
+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
+}