From 05b97483ee3f2e3f2c811cfbc0aee568ddbc989d Mon Sep 17 00:00:00 2001 From: Jakob Meier Date: Wed, 21 Sep 2022 19:49:47 +0200 Subject: [PATCH] Added suitsquad APKBUILD --- suitsquad/APKBUILD | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 suitsquad/APKBUILD diff --git a/suitsquad/APKBUILD b/suitsquad/APKBUILD new file mode 100644 index 0000000..610d029 --- /dev/null +++ b/suitsquad/APKBUILD @@ -0,0 +1,38 @@ +# Maintainer: Jakob Meier +pkgname=suitsquad +pkgver=0 +pkgrelease=stable +pkgrel=0 +pkgdesc="This is a crossplatform gui reimplementation of my suits solitaire version." +url="https://codeberg.org/comcloudway/suitsquad/" +arch="all" +license="GPL-3" +depends="" +makedepends="cargo" +checkdepends="" +install="" +source="$pkgname-$pkgver.tar.gz::https://codeberg.org/comcloudway/suitsquad/archive/$pkgrelease.tar.gz" +builddir="$srcdir/$pkgname" + +prepare() { + default_prepare + + cargo fetch --locked +} + +build() { + cargo build --frozen --release +} + +check() { + cargo test --frozen +} + +package() { + cargo install --frozen --offline --path . --root="$pkgdir/usr" + rm "$pkgdir"/usr/.crates* +} + +sha512sums=" +97c7a2448cd1457f560a3ccb260cd206fc7b0b1ed35cb54d76469828576ac13be6ac50746c779a469b531759bafd01a8a572605e1ef002a9db93ec4b6dc0fcf0 suitsquad-0.tar.gz +" -- 2.38.5