diff options
Diffstat (limited to 'libre/hexchat/PKGBUILD')
-rw-r--r-- | libre/hexchat/PKGBUILD | 27 |
1 files changed, 17 insertions, 10 deletions
diff --git a/libre/hexchat/PKGBUILD b/libre/hexchat/PKGBUILD index 04f1b7deb..39b552378 100644 --- a/libre/hexchat/PKGBUILD +++ b/libre/hexchat/PKGBUILD @@ -5,26 +5,33 @@ # Maintainer: Freemor <freemor@freemor.ca> pkgname=hexchat -pkgver=2.14.2 +pkgver=2.14.2.r9.ged553301 pkgrel=1.parabola1 pkgdesc='A popular and easy to use graphical IRC (chat) client, without nonfree browser reference' arch=('i686' 'x86_64' 'armv7h') url='https://hexchat.github.io/' license=('GPL') -depends=('dbus-glib' 'desktop-file-utils' 'gdk-pixbuf2' 'glib2' 'gtk2' - 'libcanberra' 'libnotify' 'libproxy' 'openssl' 'pango' 'pciutils') -makedepends=('git' 'intltool' 'iso-codes' 'lua' 'meson' 'perl' 'python') -optdepends=('enchant: Spell check' - 'iso-codes: Display language names instead of codes' - 'lua: Lua plugin' - 'perl: Perl plugin' - 'python: Python plugin') + +depends=('gtk2' 'openssl' 'dbus-glib' 'lua' 'python-cffi' + 'libcanberra' 'libnotify' 'libproxy' 'pciutils' + 'hicolor-icon-theme' 'desktop-file-utils' 'sound-theme-freedesktop' 'iso-codes') +makedepends=('git' 'perl' 'python' 'meson') +optdepends=('enchant: for spell check' + 'perl: for perl plugin' + 'python: for python plugin') replaces=(${pkgname}-libre) conflicts=(${pkgname}-libre) -source=("git+https://github.com/hexchat/hexchat.git#tag=v${pkgver}" 'restore_ctrl-w.patch') +source=("git+https://github.com/hexchat/hexchat.git" 'restore_ctrl-w.patch') sha256sums=('SKIP' 'f78f986a064e6c5a8713a219fa042c94bb2b0236869d33b48801faedc9cef63e') +pkgver() { + cd "hexchat" + + git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g' +} + + prepare() { cd hexchat |