[arch-commits] Commit in hexchat/trunk (PKGBUILD)

Maxime Gauduin alucryd at archlinux.org
Wed Jul 18 07:14:56 UTC 2018


    Date: Wednesday, July 18, 2018 @ 07:14:56
  Author: alucryd
Revision: 361766

FS#59332: hexchat 2.14.1-3

Modified:
  hexchat/trunk/PKGBUILD

----------+
 PKGBUILD |   29 +++++++++++------------------
 1 file changed, 11 insertions(+), 18 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-07-18 06:59:35 UTC (rev 361765)
+++ PKGBUILD	2018-07-18 07:14:56 UTC (rev 361766)
@@ -4,44 +4,37 @@
 
 pkgname=hexchat
 pkgver=2.14.1
-pkgrel=2
+pkgrel=3
 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' 'glibc' 'gtk2'
+depends=('dbus-glib' 'desktop-file-utils' 'gdk-pixbuf2' 'glib2' 'gtk2'
          'libcanberra' 'libnotify' 'libproxy' 'openssl' 'pango' 'pciutils')
-makedepends=('intltool' 'iso-codes' 'lua' 'meson' 'perl' 'python')
+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')
-source=("https://dl.hexchat.net/hexchat/hexchat-${pkgver}.tar.xz"{,.asc})
-sha256sums=('b032e4bcebe2229f87047439979a1246ddcbf599e7e538baa3f2abfac9a003a2'
-            'SKIP')
-validpgpkeys=('108BF2212A051F4A72B18448B3C7CE210DE76DFC') # Patrick Griffis
+source=("git+https://github.com/hexchat/hexchat.git#tag=v${pkgver}")
+sha256sums=('SKIP')
 
 prepare() {
-  if [[ -d build ]]; then
-    rm -rf build
-  fi
-  mkdir build
+  cd hexchat
+
+  git cherry-pick 5cd70622aaabc0419cc0b547808f09221530f0fc #FS59332
 }
 
 build() {
-  cd build
-
-  arch-meson ../hexchat-${pkgver} \
+  arch-meson hexchat build \
     -Dwith-lua='lua' \
     -Dwith-text='true'
-  ninja
+  ninja -C build
 }
 
 package() {
-  cd build
-
-  DESTDIR="${pkgdir}" ninja install
+  DESTDIR="${pkgdir}" ninja -C build install
 }
 
 # vim: ts=2 sw=2 et:



More information about the arch-commits mailing list