summaryrefslogtreecommitdiff
path: root/extra/weechat
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-09-08 02:19:16 -0700
committerroot <root@rshg054.dnsready.net>2013-09-08 02:19:16 -0700
commitde304c3ed7036488819426771b7edd1897e2ba9a (patch)
treee9c4427e11229cb8251fa5a269e4bc2c0071eaa9 /extra/weechat
parentb764a223c0b6b4a0001839d8b0fd83b604fbb219 (diff)
Sun Sep 8 02:16:12 PDT 2013
Diffstat (limited to 'extra/weechat')
-rw-r--r--extra/weechat/PKGBUILD15
1 files changed, 8 insertions, 7 deletions
diff --git a/extra/weechat/PKGBUILD b/extra/weechat/PKGBUILD
index 817dd26c8..d1e7aa333 100644
--- a/extra/weechat/PKGBUILD
+++ b/extra/weechat/PKGBUILD
@@ -1,10 +1,10 @@
-# $Id: PKGBUILD 186429 2013-05-26 09:26:13Z bluewind $
+# $Id: PKGBUILD 193946 2013-09-07 16:40:23Z andrea $
# Maintainer: Giovanni Scafora <giovanni@archlinux.org>
# Contributor: lucke <lucke at o2 dot pl>
pkgname=weechat
pkgver=0.4.1
-pkgrel=2
+pkgrel=4
pkgdesc="Fast, light and extensible IRC client (curses UI)"
arch=('i686' 'x86_64')
url="http://www.weechat.org/"
@@ -16,18 +16,19 @@ options=('!libtool')
source=("http://www.weechat.org/files/src/${pkgname}-${pkgver}.tar.bz2")
md5sums=('071d6f1cd21c892cae126af21095c43f')
-build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
-
+prepare() {
mkdir build
+}
+
+build() {
cd build
- cmake .. -DPREFIX=/usr \
+ cmake ../${pkgname}-${pkgver} -DPREFIX=/usr \
-DPYTHON_EXECUTABLE=/usr/bin/python2 \
-DPYTHON_LIBRARY=/usr/lib/libpython2.7.so
}
package() {
- cd "${srcdir}/${pkgname}-${pkgver}/build"
+ cd build
make DESTDIR="${pkgdir}/" install
}