From a1008c7ed3bdb545e7fa1ebbef8a3cbbc394f6cc Mon Sep 17 00:00:00 2001 From: qaqland Date: Wed, 10 Dec 2025 16:44:02 +0800 Subject: [PATCH] testing/dnote: upgrade to 0.16.0 & update license --- testing/dnote/APKBUILD | 17 +++++------------ 1 file changed, 5 insertions(+), 12 deletions(-) diff --git a/testing/dnote/APKBUILD b/testing/dnote/APKBUILD index afd5372fa99..303736186fa 100644 --- a/testing/dnote/APKBUILD +++ b/testing/dnote/APKBUILD @@ -1,12 +1,12 @@ # Contributor: qaqland # Maintainer: qaqland pkgname=dnote -pkgver=0.15.4 -pkgrel=1 +pkgver=0.16.0 +pkgrel=0 pkgdesc="A simple command line notebook for programmers (cli)" url="https://www.getdnote.com/" arch="all !armhf !armv7 !x86" # no 32 support -license="GPL-3.0-or-later" +license="Apache-2.0" makedepends="go" checkdepends="bash" options="net" @@ -18,12 +18,6 @@ subpackages=" source="$pkgname-$pkgver.tar.gz::https://github.com/dnote/dnote/archive/refs/tags/cli-v$pkgver.tar.gz" builddir="$srcdir/$pkgname-cli-v$pkgver" -export GOCACHE="${GOCACHE:-"$srcdir/go-cache"}" -export GOTMPDIR="${GOTMPDIR:-"$srcdir"}" -export GOMODCACHE="${GOMODCACHE:-"$srcdir/go"}" -export GOOS=linux -export CGO_ENABLED=1 - # upstream's makefile is made for github release, only need build here build() { local ldflags="-X main.apiEndpoint=https://api.getdnote.com \ @@ -42,8 +36,7 @@ check() { package() { install -Dm755 build/cli "$pkgdir"/usr/bin/dnote - install -Dm644 README.md LICENSE licenses/GPLv3.txt \ - -t "$pkgdir"/usr/share/doc/dnote/ + install -Dm644 README.md LICENSE -t "$pkgdir"/usr/share/doc/dnote/ install -Dm644 pkg/cli/dnote-completion.bash \ "$pkgdir"/usr/share/bash-completion/completions/dnote @@ -52,5 +45,5 @@ package() { } sha512sums=" -58ed63ebc3f5c494afd11e644c22d2bb6b35f475fe1b7b265aa5e0931d22137d6ae8314b3be0aa48df5660d8f82fcddc8d49de65e5efc5a469e3e7453e3ff291 dnote-0.15.4.tar.gz +4a849de4f613f1014994a06eeacb57716203aafea3246f82d0784708329b3c3c7656a348ba28a6b49d3be47eb86956e99ea36990a5ada1d78bf7b15a36820354 dnote-0.16.0.tar.gz "