From 14ef5d77caecf320bc665862c0aab890c6b790dc Mon Sep 17 00:00:00 2001 From: Maarten van Gompel <proycon@anaproy.nl> Date: Thu, 21 Nov 2024 19:48:42 +0100 Subject: [PATCH] testing/atac: new aport --- testing/atac/APKBUILD | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 testing/atac/APKBUILD diff --git a/testing/atac/APKBUILD b/testing/atac/APKBUILD new file mode 100644 index 000000000000..9bd5b130eafb --- /dev/null +++ b/testing/atac/APKBUILD @@ -0,0 +1,32 @@ +# Maintainer: Maarten van Gompel <proycon@anaproy.nl> +pkgname=atac +pkgver=0.18.1 +pkgrel=0 +pkgdesc="A simple API client (postman like) in your terminal" +url="https://atac.julien-cpsn.com/" +arch="all" +license="MIT" +makedepends="cargo cargo-auditable" +source="$pkgname-$pkgver.tar.gz::https://github.com/Julien-cpsn/ATAC/archive/refs/tags/v$pkgver.tar.gz + " +options="!check" # No test suite / unit tests +builddir="$srcdir/ATAC-$pkgver" + +prepare() { + default_prepare + + cargo fetch --target="$CTARGET" --locked +} + +build() { + cargo auditable build --frozen --release +} + +package() { + install -Dm755 target/release/atac -t "$pkgdir"/usr/bin/ + install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE +} + +sha512sums=" +a2b778939232cb79698fa9989131c943f90e85fde85776c40f47d8f32b9305ef64ee4186700dda4311604c6cdb9396eff219c574ddd6f7467d2918401be5b1cc atac-0.18.1.tar.gz +" -- GitLab