From 1b08a10ec48351547383f37dfe9167839947657d Mon Sep 17 00:00:00 2001 From: Johannes Löthberg Date: Sun, 20 Oct 2013 21:31:35 +0200 Subject: weechat-git: Added weechat-git with personal modifications Modifications: * Use ~/.config/weechat instead of ~/.weechat * Use better version numbering --- .SRCINFO | 36 ++++++++++++++++++++++++++++++++++++ PKGBUILD | 44 ++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 80 insertions(+) create mode 100644 .SRCINFO create mode 100644 PKGBUILD diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 0000000..3b6557e --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,36 @@ +# Generated by makepkg 4.2.1 +# Mon Jun 1 14:56:02 UTC 2015 +pkgbase = weechat-git + pkgdesc = Fast, light & extensible IRC client (curses UI) + pkgver = 0.4.2.r24.g3088d31 + pkgrel = 1 + url = http://www.weechat.org/ + arch = i686 + arch = x86_64 + license = GPL3 + makedepends = git + makedepends = cmake + makedepends = pkgconfig + makedepends = perl + makedepends = python2 + makedepends = lua + makedepends = tcl + makedepends = ruby + makedepends = aspell + depends = gnutls + depends = ncurses + depends = libgcrypt + optdepends = perl + optdepends = python2 + optdepends = lua + optdepends = tcl + optdepends = ruby + optdepends = aspell + provides = weechat + conflicts = weechat + options = !libtool + source = weechat-git::git://git.savannah.nongnu.org/weechat.git + md5sums = SKIP + +pkgname = weechat-git + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 0000000..96e1f08 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,44 @@ +# Maintainer: Daniel Wallace +# Contributor: Dmitry Korzhevin +# Contributor: Mark Foxwell +# Contributor: Licia Todd +# Contributor: Tim Zebulla +# Contributor: Johannes Löthberg + +pkgname=weechat-git +pkgver=0.4.2.r24.g3088d31 +pkgrel=1 +pkgdesc="Fast, light & extensible IRC client (curses UI)" +arch=('i686' 'x86_64') +url="http://www.weechat.org/" +license=('GPL3') +depends=('gnutls' 'ncurses' 'libgcrypt') +makedepends=('git' 'cmake' 'pkgconfig' 'perl' 'python2' 'lua' 'tcl' 'ruby' 'aspell') +optdepends=('perl' 'python2' 'lua' 'tcl' 'ruby' 'aspell') +provides=('weechat') +conflicts=('weechat') +options=(!libtool) +source=("$pkgname::git://git.savannah.nongnu.org/weechat.git") +md5sums=('SKIP') + +pkgver(){ + cd $pkgname + printf "%s" "$(git describe --tags --long | sed 's/^v//; s/-/-r/' | tr - .)" +} + +build() { + cd $pkgname + cmake -DPREFIX=/usr \ + -DPYTHON_EXECUTABLE=/usr/bin/python2 \ + -DPYTHON_LIBRARY=/usr/lib/libpython2.7.so\ + -DENABLE_MAN=ON \ + -DENABLE_DOC=OFF \ + -DWEECHAT_HOME=~/.config/weechat + make +} + +package() { + make -C $pkgname DESTDIR="$pkgdir" install +} + +# vim: set ts=4 sw=4 noet: -- cgit v1.2.3-70-g09d2