summaryrefslogtreecommitdiff
path: root/pcr/libzim/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'pcr/libzim/PKGBUILD')
-rw-r--r--pcr/libzim/PKGBUILD10
1 files changed, 5 insertions, 5 deletions
diff --git a/pcr/libzim/PKGBUILD b/pcr/libzim/PKGBUILD
index 6f552e319..377ee612f 100644
--- a/pcr/libzim/PKGBUILD
+++ b/pcr/libzim/PKGBUILD
@@ -4,17 +4,16 @@
# - No changes
pkgname=libzim
-pkgver=6.0.2
+pkgver=6.2.0
pkgrel=1
pkgdesc="Reference implementation of the ZIM specification by the openZIM project"
license=('GPL2')
arch=('armv7h' 'i686' 'x86_64')
-replaces=('zimlib-git')
-depends=('xapian-core' 'zlib' 'xz' 'icu')
+depends=('xapian-core' 'zlib' 'xz' 'icu' 'zstd')
makedepends=('meson' 'gtest' 'cython' 'python-pytest')
url='https://github.com/openzim/libzim'
-source=("https://github.com/openzim/libzim/archive/${pkgver}.tar.gz")
-sha256sums=(993b6885b18e54b3df1493895e61f05e525d846f17d0d3cea57fb74f6415b457)
+source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/${pkgver}.tar.gz")
+sha256sums=(58ea026dd397027b66aa20db7b1070c349d58216e8eaf38d812d5b9b9c2d761f)
build() {
cd "${pkgname}-${pkgver}"
@@ -28,6 +27,7 @@ check() {
}
package() {
+ install -Dm644 "${pkgname}-${pkgver}/COPYING" "$pkgdir/usr/share/licenses/$pkgname/COPYING"
cd "${pkgname}-${pkgver}/build"
DESTDIR="${pkgdir}" ninja install
}