Date: Monday, April 17, 2023 @ 13:34:16 Author: hashworks Revision: 1446803
archrelease: copy trunk to community-x86_64 Added: libkiwix/repos/community-x86_64/PKGBUILD (from rev 1446802, libkiwix/trunk/PKGBUILD) Deleted: libkiwix/repos/community-x86_64/PKGBUILD ----------+ PKGBUILD | 67 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 34 insertions(+), 33 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2023-04-17 13:34:13 UTC (rev 1446802) +++ PKGBUILD 2023-04-17 13:34:16 UTC (rev 1446803) @@ -1,33 +0,0 @@ -# Maintainer: Justin Kromlinger <hashwo...@archlinux.org> -pkgname=libkiwix -pkgver=12.0.0 -pkgrel=1 -pkgdesc="Library providing the Kiwix software core" -license=('GPL3') -arch=('x86_64') -provides=('kiwix-lib') -conflicts=('kiwix-lib') -replaces=('kiwix-lib') -depends=('libzim>=8.1.0' 'pugixml' 'xapian-core' 'aria2' 'libmicrohttpd' 'python' 'curl') -makedepends=('meson' 'gtest' 'mustache') -url='https://github.com/kiwix/libkiwix' -source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/${pkgver}.tar.gz") -sha256sums=('8608ef73fdaa34c28144eb5ad732a74ca94dd99710d08d7a1ddb1277d1985b02') - -build() { - cd "${pkgname}-${pkgver}" - # We want to ignore xapian ABI version mismatches - arch-meson build -Dwerror=false - ninja -C build -} - -check() { - cd "${pkgname}-${pkgver}/build" - meson test -} - -package() { - install -Dm644 "${pkgname}-${pkgver}/COPYING" "$pkgdir/usr/share/licenses/$pkgname/COPYING" - cd "${pkgname}-${pkgver}/build" - DESTDIR="${pkgdir}" ninja install -} Copied: libkiwix/repos/community-x86_64/PKGBUILD (from rev 1446802, libkiwix/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2023-04-17 13:34:16 UTC (rev 1446803) @@ -0,0 +1,34 @@ +# Maintainer: Justin Kromlinger <hashwo...@archlinux.org> +pkgname=libkiwix +pkgver=12.0.0 +pkgrel=2 +pkgdesc="Library providing the Kiwix software core" +license=('GPL3') +arch=('x86_64') +provides=('kiwix-lib') +conflicts=('kiwix-lib') +replaces=('kiwix-lib') +depends=('libzim>=8.1.1' 'pugixml' 'xapian-core' 'aria2' 'libmicrohttpd' 'python' 'curl') +makedepends=('meson' 'gtest' 'mustache') +url='https://github.com/kiwix/libkiwix' +source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/${pkgver}.tar.gz") +sha256sums=('8608ef73fdaa34c28144eb5ad732a74ca94dd99710d08d7a1ddb1277d1985b02') + +build() { + cd "${pkgname}-${pkgver}" + # We want to ignore xapian ABI version mismatches + # https://github.com/openzim/libzim/issues/757 + arch-meson build -Dwerror=false -Dcpp_std=c++14 + ninja -C build +} + +check() { + cd "${pkgname}-${pkgver}/build" + meson test +} + +package() { + install -Dm644 "${pkgname}-${pkgver}/COPYING" "$pkgdir/usr/share/licenses/$pkgname/COPYING" + cd "${pkgname}-${pkgver}/build" + DESTDIR="${pkgdir}" ninja install +}