From 4c51eef3c0eb5dc14ecf114d9e557011d019fc7d Mon Sep 17 00:00:00 2001 From: Nathan Date: Thu, 13 Apr 2023 03:03:27 -0500 Subject: [PATCH] [trunk] -> [community-staging] 'hexchat-2.16.1-4' add --- trunk/PKGBUILD | 4 ++-- x86_64/community-staging/PKGBUILD | 33 +++++++++++++++++++++++++++++++ 2 files changed, 35 insertions(+), 2 deletions(-) create mode 100644 x86_64/community-staging/PKGBUILD diff --git a/trunk/PKGBUILD b/trunk/PKGBUILD index 3864db2..8d7d7cc 100644 --- a/trunk/PKGBUILD +++ b/trunk/PKGBUILD @@ -1,9 +1,9 @@ -# Maintainer: Maxime Gauduin +# Maintainer: Nathan # Contributor: TingPing pkgname=hexchat pkgver=2.16.1 -pkgrel=3 +pkgrel=4 pkgdesc='A popular and easy to use graphical IRC (chat) client' arch=('x86_64') url='https://hexchat.github.io/' diff --git a/x86_64/community-staging/PKGBUILD b/x86_64/community-staging/PKGBUILD new file mode 100644 index 0000000..8d7d7cc --- /dev/null +++ b/x86_64/community-staging/PKGBUILD @@ -0,0 +1,33 @@ +# Maintainer: Nathan +# Contributor: TingPing + +pkgname=hexchat +pkgver=2.16.1 +pkgrel=4 +pkgdesc='A popular and easy to use graphical IRC (chat) client' +arch=('x86_64') +url='https://hexchat.github.io/' +license=('GPL') +depends=('dbus-glib' 'desktop-file-utils' 'gdk-pixbuf2' 'glib2' 'gtk2' + 'libcanberra' 'openssl' 'pango' 'pciutils') +makedepends=('git' 'intltool' 'iso-codes' 'lua' 'meson' 'perl' 'python-cffi') +optdepends=('enchant: Spell check' + 'iso-codes: Display language names instead of codes' + 'lua: Lua plugin' + 'perl: Perl plugin' + 'python-cffi: Python plugin') +source=("git+https://github.com/hexchat/hexchat.git#tag=v${pkgver}") +sha256sums=('SKIP') + +build() { + artix-meson hexchat build \ + -Dwith-lua='lua' \ + -Dtext-frontend='true' + ninja -C build +} + +package() { + DESTDIR="${pkgdir}" ninja -C build install +} + +# vim: ts=2 sw=2 et: