Received: from out2.migadu.com (out2.migadu.com [188.165.223.204]) by nld3-dev1.alpinelinux.org (Postfix) with ESMTPS id 2791E781A7A for <~alpine/aports@lists.alpinelinux.org>; Thu, 27 May 2021 12:31:35 +0000 (UTC) X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=krystianch.com; s=key1; t=1622118693; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=z/edhR44asvRk1gQoot/hkpa3S5YWPac68fkPNDkcr0=; b=mYDQ+6afViucJy0nZEwsP03cI3cy6ljIs44yhW/xyLkVPdXWfwpya6f/KgAEi2Ihl+mJXh dS2sHFpIqgCkUCRINfUfNrXYBbzgiDWl9F0lAonTAwMXYyOx6GuryOYAoJvGtmQhoEIX/2 E+400fkb8aZ3sudby6RLgmoYKWIV0Ae5yZo7mNWnaot6du+EmJBwJvrxYzDa1T71LGHjkK g83Jem15HQOgvJ4uRyoghJE7lEY9FovyvFjPIxoTMEEfcYWhLjjAi/bdes1v9xSmE/b/FT KGJCxKbS+OZiwAG0RQbwN3YwUwV0mCb9lnaHmiBi5vn/00vLLDQtdMAOUzsgsg== From: =?UTF-8?q?Krystian=20Chachu=C5=82a?= To: ~alpine/aports@lists.alpinelinux.org Cc: =?UTF-8?q?Krystian=20Chachu=C5=82a?= Subject: [PATCH v3] testing/vocage: new aport Date: Thu, 27 May 2021 14:31:26 +0200 Message-Id: <20210527123126.30966-1-krystian@krystianch.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Migadu-Flow: FLOW_OUT X-Migadu-Auth-User: krystian@krystianch.com https://github.com/proycon/vocage Minimalistic terminal-based vocabulary-learning tool --- > please use `$pkgver` instead of hardcoding, this makes it easier when upgrading > also missing `!mips !mips64` Thanks for the feedback. Revised as requested. 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..4e4302d141 --- /dev/null +++ b/testing/vocage/APKBUILD @@ -0,0 +1,23 @@ +# Maintainer: Krystian ChachuĊ‚a +pkgname=vocage +pkgver=1.1.0 +pkgrel=0 +pkgdesc="Minimalistic terminal-based vocabulary-learning tool" +url="https://github.com/proycon/vocage" +arch="all !s390x !mips !mips64" +license="GPL-3.0-or-later" +makedepends="rust cargo" +source="$pkgname-$pkgver.tar.gz::https://github.com/proycon/vocage/archive/refs/tags/v$pkgver.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