blob: f0255e2352a618f1af38ebbbdace1974ac0f3149 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
# Maintainer: Yurii Kolesnykov <root@yurikoles.com>
# Ex-Maintainer: Nikita Puzyryov <PuzyryovN@gmail.com>
#
# PRs are welcome here: https://github.com/yurikoles-aur/zchunk-git
#
pkgname=zchunk-git
pkgver=1.5.1.r0.g69dd7d6
pkgrel=1
pkgdesc='A file format designed for highly efficient deltas while maintaining good compression'
pkgdesc+=' (git version)'
arch=(x86_64)
url=https://github.com/zchunk/zchunk
license=(BSD-2-Clause)
depends=(libcurl.so zstd)
makedepends=(meson)
makedepends+=(git)
provides=(libzck.so)
provides+=(zchunk="${pkgver}")
conflicts=(zchunk)
source=("${pkgname}::git+$url")
sha256sums=('SKIP')
pkgver() {
cd "${pkgname}"
git describe --long --tags --abbrev=7 | sed 's/-/.r/;s/-/./'
}
build() {
arch-meson "${pkgname}" build
meson compile -C build
}
check() {
meson test -C build
}
package() {
DESTDIR="${pkgdir}" meson install -C build
install -Dm644 "${pkgname}/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}
|