add zk package
ci/woodpecker/manual/build/2 Pipeline was successful
Details
ci/woodpecker/manual/build/1 Pipeline was successful
Details
ci/woodpecker/manual/build/4 Pipeline was successful
Details
ci/woodpecker/manual/build/3 Pipeline was successful
Details
ci/woodpecker/manual/renovate Pipeline was successful
Details
ci/woodpecker/manual/build/5 Pipeline was successful
Details
ci/woodpecker/manual/build/2 Pipeline was successful
Details
ci/woodpecker/manual/build/1 Pipeline was successful
Details
ci/woodpecker/manual/build/4 Pipeline was successful
Details
ci/woodpecker/manual/build/3 Pipeline was successful
Details
ci/woodpecker/manual/renovate Pipeline was successful
Details
ci/woodpecker/manual/build/5 Pipeline was successful
Details
This commit is contained in:
parent
eda0bd5572
commit
1d08e966bc
|
@ -4,6 +4,7 @@ matrix:
|
|||
- tidal-hifi-bin
|
||||
- ferdium-bin
|
||||
- font-firacode-nf-ttf
|
||||
- zk
|
||||
|
||||
when:
|
||||
- event: push
|
||||
|
|
|
@ -0,0 +1,38 @@
|
|||
# Template file for 'zk'
|
||||
pkgname=zk
|
||||
version=0.14.0
|
||||
revision=1
|
||||
homepage="https://github.com/zk-org/zk/"
|
||||
license="GPL-3.0"
|
||||
short_desc="A plain text note-taking assistant"
|
||||
maintainer="luca <luca@snaile.de>"
|
||||
changelog="https://raw.githubusercontent.com/zk-org/zk/main/CHANGELOG.md"
|
||||
distfiles="https://github.com/zk-org/zk/archive/refs/tags/v${version}.tar.gz"
|
||||
go_import_path=github.com/mickael-menu/zk
|
||||
build_style=go
|
||||
|
||||
pre_fetch() {
|
||||
if ! cd "$XBPS_SRCDISTDIR"; then
|
||||
msg_error "$pkgver: cannot change dir to $XBPS_BUILDDIR!\n"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
url="${distfiles}"
|
||||
distfile="$(basename "$url")"
|
||||
|
||||
flock "${distfile}.part" $fetch_cmd "$url"
|
||||
flock -n "${distfile}.part" rm -f "${distfile}.part"
|
||||
|
||||
checksum=$(${XBPS_DIGEST_CMD} "$distfile")
|
||||
|
||||
mkdir -p "$XBPS_SRCDISTDIR/by_sha256"
|
||||
mv "$distfile" "$XBPS_SRCDISTDIR/by_sha256/${checksum}_${distfile}"
|
||||
}
|
||||
|
||||
do_check() {
|
||||
go test -v
|
||||
}
|
||||
|
||||
post_install() {
|
||||
vlicense LICENSE
|
||||
}
|
Loading…
Reference in New Issue