A suitsquad/APKBUILD => suitsquad/APKBUILD +38 -0
@@ 0,0 1,38 @@
+# Maintainer: Jakob Meier <comcloudway@ccw.icu>
+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
+"