summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 7f751bdba8f4ff15f988738b485fb1c88ebf23b5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# Maintainer: Emanuel Serpa <emanuelserpa@alu.ufc.br>
# Maintainer: Maxime Gauduin <alucryd@archlinux.org>
# Contributor: TingPing <tingping@tingping.se>
pkgname=hexchat-python2
pkgver=2.14.3
pkgrel=1
pkgdesc='A popular and easy to use graphical IRC (chat) client, with python2 support.'
arch=('x86_64')
url='https://hexchat.github.io/'
license=('GPL')
conflicts=('hexchat' 'hexchat-git' 'hexchat-lua-git')
depends=('dbus-glib' 'desktop-file-utils' 'gdk-pixbuf2' 'glib2' 'gtk2'
         'libcanberra' 'libnotify' 'libproxy' 'openssl' 'pango' 'pciutils')
makedepends=('git' 'intltool' 'iso-codes' 'lua' 'meson' 'perl' 'python2')
optdepends=('enchant: Spell check'
            'iso-codes: Display language names instead of codes'
            'lua: Lua plugin'
            'perl: Perl plugin'
            'python2: Python plugin')
source=("git+https://github.com/hexchat/hexchat.git#tag=v${pkgver}")
sha256sums=('SKIP')

build() {
  arch-meson hexchat build \
    -Dwith-lua='lua' \
    -Dwith-text='true' \
    -Dwith-python='python2'
  ninja -C build
}

package() {
  mkdir -p ${pkgdir}/usr/lib/hexchat/plugins
  install -m644 ${srcdir}/build/plugins/python/python.so  ${pkgdir}/usr/lib/hexchat/plugins/python2.so
}

# vim: ts=2 sw=2 et