~alpine/aports

This thread contains a patchset. You're looking at the original emails, but you may wish to use the patch review UI. Review patch
2

[PATCH v2] testing/vocage: new aport

Krystian Chachuła <krystian@krystianch.com>
Details
Message ID
<20210527064057.7421-1-krystian@krystianch.com>
DKIM signature
missing
Download raw message
Patch: +23 -0
https://github.com/proycon/vocage
Minimalistic terminal-based vocabulary-learning tool
---
This skips s390x build as there is no rust or cargo for this arch.

 testing/vocage/APKBUILD | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)
 create mode 100644 testing/vocage/APKBUILD

diff --git a/testing/vocage/APKBUILD b/testing/vocage/APKBUILD
new file mode 100644
index 0000000000..f9747a7dc7
--- /dev/null
+++ b/testing/vocage/APKBUILD
@@ -0,0 +1,23 @@
# Maintainer: Krystian Chachuła <krystian@krystianch.com>
pkgname=vocage
pkgver=1.1.0
pkgrel=0
pkgdesc="Minimalistic terminal-based vocabulary-learning tool"
url="https://github.com/proycon/vocage"
arch="all !s390x"
license="GPL-3.0-or-later"
makedepends="rust cargo"
source="$pkgname-$pkgver.tar.gz::https://github.com/proycon/vocage/archive/refs/tags/v1.1.0.tar.gz"
options="!check" # No test suite / unit tests

build() {
	cargo build --release --locked
}

package() {
	install -D -m755 "target/release/vocage" "$pkgdir/usr/bin/vocage"
}

sha512sums="
c6cf955de66469c00e88b4dff1aa0a9686c3a1fe604e8c1f6fccd738de013c5490ed178f41a863b2a90419bb936a0a6e038a761dedf55b3e283d15a957373c31  vocage-1.1.0.tar.gz
"
-- 
2.31.1
Details
Message ID
<162211422714.9578.11557895563424571064.gitlab.21793.a4de004694e0067fc75ec296c4cdb09a36177c2b@listserv.local>
In-Reply-To
<20210527064057.7421-1-krystian@krystianch.com> (view parent)
DKIM signature
missing
Download raw message
On Thu, 27 May 2021 08:40:57 +0200, Krystian Chachuła wrote:
> +license="GPL-3.0-or-later"
> +makedepends="rust cargo"
> +source="$pkgname-$pkgver.tar.gz::https://github.com/proycon/vocage/archive/refs/tags/v1.1.0.tar.gz"

please use `$pkgver` instead of hardcoding, this makes it easier when upgrading

-- 
via https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/21793#note_159891
Details
Message ID
<162211422822.9578.2740094493747157407.gitlab.21793.66594268b3c69d86cf61835ae84b292ada012a1d@listserv.local>
In-Reply-To
<20210527064057.7421-1-krystian@krystianch.com> (view parent)
DKIM signature
missing
Download raw message
On Thu, 27 May 2021 08:40:57 +0200, Krystian Chachuła wrote:
> +pkgdesc="Minimalistic terminal-based vocabulary-learning tool"
> +url="https://github.com/proycon/vocage"
> +arch="all !s390x"

also missing `!mips !mips64`

-- 
via https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/21793#note_159892
Reply to thread Export thread (mbox)