[arch-commits] Commit in weechat/repos (2 files)
Evangelos Foutras
foutrelis at archlinux.org
Sat May 25 11:40:37 UTC 2019
Date: Saturday, May 25, 2019 @ 11:40:36
Author: foutrelis
Revision: 470420
archrelease: copy trunk to community-staging-x86_64
Added:
weechat/repos/community-staging-x86_64/
weechat/repos/community-staging-x86_64/PKGBUILD
(from rev 470419, weechat/trunk/PKGBUILD)
----------+
PKGBUILD | 40 ++++++++++++++++++++++++++++++++++++++++
1 file changed, 40 insertions(+)
Copied: weechat/repos/community-staging-x86_64/PKGBUILD (from rev 470419, weechat/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2019-05-25 11:40:36 UTC (rev 470420)
@@ -0,0 +1,40 @@
+# Maintainer : Christian Rebischke <Chris.Rebischke at archlinux.org>
+# Contributor: Giovanni Scafora <giovanni at archlinux.org>
+# Contributor: lucke <lucke at o2 dot pl>
+
+pkgname=weechat
+pkgver=2.4
+pkgrel=2
+pkgdesc="Fast, light and extensible IRC client (curses UI)"
+arch=('x86_64')
+url="https://www.weechat.org/"
+license=('GPL')
+depends=('gnutls' 'curl' 'libgcrypt')
+makedepends=('asciidoc' 'source-highlight' 'cmake' 'pkg-config' 'perl' 'python2'
+ 'lua' 'tcl' 'ruby' 'aspell' 'guile2.0' 'asciidoctor')
+optdepends=('perl' 'python2' 'lua' 'tcl' 'ruby' 'aspell' 'guile2.0')
+source=("${pkgname}-${pkgver}.tar.xz::https://www.weechat.org/files/src/${pkgname}-${pkgver}.tar.xz"
+ "${pkgname}-${pkgver}.tar.xz.asc::https://www.weechat.org/files/src/${pkgname}-${pkgver}.tar.xz.asc")
+sha512sums=('012eca03e56eea64b3e50ee1e8b7c1cc636ad779be01268b3c9ee05e3bd149bc58b09eb6952e965061782da5f9d33d7a835056c6bb43c1fdca998cfc463fd068'
+ 'SKIP')
+validpgpkeys=('A9AB5AB778FA5C3522FD0378F82F4B16DEC408F8')
+
+prepare() {
+ mkdir build
+}
+
+build() {
+ cd build
+ cmake -Wno-dev "${srcdir}/${pkgname}-${pkgver}" \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DPYTHON_EXECUTABLE=/usr/bin/python2 \
+ -DPYTHON_LIBRARY=/usr/lib/libpython2.7.so \
+ -DENABLE_MAN=ON \
+ -DENABLE_DOC=ON
+ make
+}
+
+package() {
+ cd build
+ make DESTDIR="${pkgdir}" install
+}
More information about the arch-commits
mailing list