[arch-commits] Commit in weechat/trunk (PKGBUILD)
Anatol Pomozov
anatolik at archlinux.org
Mon Dec 29 15:56:49 UTC 2014
Date: Monday, December 29, 2014 @ 16:56:49
Author: anatolik
Revision: 228145
upgpkg: weechat 1.0.1-2
ruby 2.2 rebuild
Modified:
weechat/trunk/PKGBUILD
----------+
PKGBUILD | 10 ++++++++--
1 file changed, 8 insertions(+), 2 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2014-12-29 15:51:48 UTC (rev 228144)
+++ PKGBUILD 2014-12-29 15:56:49 UTC (rev 228145)
@@ -4,7 +4,7 @@
pkgname=weechat
pkgver=1.0.1
-pkgrel=1
+pkgrel=2
pkgdesc="Fast, light and extensible IRC client (curses UI)"
arch=('i686' 'x86_64')
url="http://www.weechat.org/"
@@ -21,11 +21,17 @@
build() {
cd build
- cmake ../${pkgname}-${pkgver} -DPREFIX=/usr \
+
+ # workaround for https://github.com/weechat/weechat/issues/287
+ export CFLAGS="$CFLAGS -fPIC"
+
+ cmake -Wno-dev ../${pkgname}-${pkgver} -DPREFIX=/usr \
-DPYTHON_EXECUTABLE=/usr/bin/python2 \
-DPYTHON_LIBRARY=/usr/lib/libpython2.7.so \
-DENABLE_MAN=ON \
-DENABLE_DOC=ON
+
+ make
}
package() {
More information about the arch-commits
mailing list