Date: Tuesday, March 13, 2018 @ 20:35:36 Author: alucryd Revision: 307427
upgpkg: hexchat 2.14.0-1 Modified: hexchat/trunk/PKGBUILD ----------+ PKGBUILD | 40 +++++++++++++++++----------------------- 1 file changed, 17 insertions(+), 23 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2018-03-13 19:57:53 UTC (rev 307426) +++ PKGBUILD 2018-03-13 20:35:36 UTC (rev 307427) @@ -3,8 +3,8 @@ # Contributor: TingPing <tingp...@tingping.se> pkgname=hexchat -pkgver=2.12.4 -pkgrel=8 +pkgver=2.14.0 +pkgrel=1 pkgdesc='A popular and easy to use graphical IRC (chat) client' arch=('x86_64') url='https://hexchat.github.io/' @@ -11,42 +11,36 @@ license=('GPL') depends=('dbus-glib' 'desktop-file-utils' 'gdk-pixbuf2' 'glib2' 'glibc' 'gtk2' 'libcanberra' 'libnotify' 'libproxy' 'openssl' 'pango' 'pciutils') -makedepends=('intltool' 'iso-codes' 'lua' 'perl' 'python' 'autoconf-archive') +makedepends=('intltool' 'iso-codes' 'luajit' 'meson' 'perl' 'python') optdepends=('enchant: Spell check' 'iso-codes: Display language names instead of codes' - 'lua: Lua plugin' + 'luajit: Lua plugin' 'perl: Perl plugin' 'python: Python plugin') -source=("https://dl.hexchat.net/hexchat/hexchat-${pkgver}.tar.xz"{,.asc} - 'hexchat-enchant2.0.patch::https://github.com/hexchat/hexchat/commit/005858795878b92fc17b4c2127bce90a1d053483.patch' - 'hexchat-enchant2.1.patch::https://github.com/hexchat/hexchat/commit/234fe8698781f149df0e6928e48859f66b5e947b.patch') -sha256sums=('fa35913158bbc7d0d99de79371b6df3e8d21802f1d2c7c92f0e5db694acf2c3a' - 'SKIP' - 'd5f1e70b696337b15d40386292748483d2b27631a9bba6cfa5c97eae4f6987f1' - 'b9687999f8e013716ec997458de1db0d3618382a6963d5f6eb578fea253daa24') +source=("https://dl.hexchat.net/hexchat/hexchat-${pkgver}.tar.xz"{,.asc}) +sha256sums=('f3214b7675096c0f850405eac284cf395b9f65276ae1db5fb17eef8d83cc5ddf' + 'SKIP') validpgpkeys=('108BF2212A051F4A72B18448B3C7CE210DE76DFC') # Patrick Griffis prepare() { - cd hexchat-${pkgver} - - patch -Np1 -i ../hexchat-enchant2.0.patch - patch -Np1 -i ../hexchat-enchant2.1.patch + if [[ -d build ]]; then + rm -rf build + fi + mkdir build } build() { - cd hexchat-${pkgver} + cd build - ./configure \ - --prefix='/usr' \ - --enable-python='python3' \ - --enable-textfe - make + arch-meson ../hexchat-${pkgver} \ + -Dwith-text='true' + ninja } package() { - cd hexchat-${pkgver} + cd build - make DESTDIR="${pkgdir}" install + DESTDIR="${pkgdir}" ninja install } # vim: ts=2 sw=2 et: