# Maintainer: Vincent Grande # Contributor: Alfredo Ramos # Contributor: Christian Rebischke # Contributor: Giovanni Scafora # Contributor: lucke # Contributor: dacoit # Contributor: Daniel Wallace # Contributor: Dmitry Korzhevin # Contributor: Mark Foxwell # Contributor: tigrmesh # Contributor: Tim Zebulla _pkgname=weechat pkgname=${_pkgname}-git pkgver=2.7.125.gc29b45a0f pkgrel=1 pkgdesc='Fast, light and extensible IRC client (curses UI). Development version.' arch=('i686' 'x86_64' 'armv7h' 'aarch64') url='https://www.weechat.org/' license=('GPL') depends=('gnutls' 'ncurses' 'curl' 'zlib' 'libgcrypt' 'hicolor-icon-theme') makedepends=( 'git' 'source-highlight' 'cmake' 'pkg-config' 'asciidoctor' #'php' 'v8' ) optdepends=( 'perl' 'python' 'lua' 'tcl' 'ruby' 'aspell' 'guile' 'python2' #'php' 'v8' ) provides=("${_pkgname}=${pkgver}") conflicts=("${_pkgname}") source=("git+https://github.com/${_pkgname}/${_pkgname}.git") sha512sums=('SKIP') pkgver() { cd "${srcdir}"/${_pkgname} git describe --long --tags 2>/dev/null | sed -r 's/^v//;s/-/./g' } prepare() { mkdir -p "${srcdir}"/build } build() { cd "${srcdir}"/build cmake -Wno-dev ../${_pkgname} \ -DCMAKE_INSTALL_PREFIX=/usr \ -DENABLE_MAN=OFF \ -DENABLE_DOC=OFF \ -DENABLE_JAVASCRIPT=OFF \ -DENABLE_PHP=OFF #\ -DENABLE_EXEC=OFF \ -DENABLE_FIFO=OFF \ -DENABLE_GUILE=OFF \ -DENABLE_LUA=OFF \ -DENABLE_PERL=OFF \ -DENABLE_PYTHON=OFF \ -DENABLE_RUBY=OFF \ -DENABLE_TCL=OFF \ -DENABLE_XFER=OFF \ -DENABLE_LOGGER=OFF \ -DENABLE_RELAY=OFF \ -DENABLE_HEADLESS=OFF \ -DENABLE_PYTHON2=OFF \ -DENABLE_SPELL=OFF \ -DENABLE_ENCHANT=OFF \ -DENABLE_DEBUG=OFF \ -DENABLE_TESTS=OFF make } package() { cd "${srcdir}"/build make DESTDIR="${pkgdir}" install }