From e6decaa885cd4df2aed3f31255673698c9c2564d Mon Sep 17 00:00:00 2001 From: Jakob Meier Date: Wed, 21 Sep 2022 19:37:04 +0200 Subject: [PATCH] Added blueprint APKBUILD --- blueprint/APKBUILD | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 blueprint/APKBUILD diff --git a/blueprint/APKBUILD b/blueprint/APKBUILD new file mode 100644 index 0000000..5375f0d --- /dev/null +++ b/blueprint/APKBUILD @@ -0,0 +1,39 @@ +# Maintainer: Jakob Meier +pkgname=blueprint +pkgver=2.0.0 +pkgrelease=stable # or beta +pkgrel=0 +pkgdesc="This is the official BluePrint Compiler (bpc) It can be used to transpile the BluePrint lisp flavour to javascript" +url="https://codeberg.org/comcloudway/blueprint" +arch="all" +license="GPL-3.0-or-later" +depends="" +makedepends="cargo" +checkdepends="" +install="" +#subpackages="$pkgname-dev $pkgname-doc" +source="$pkgname-$pkgrelease-$pkgver.tar.gz::https://codeberg.org/comcloudway/blueprint/archive/$pkgrelease-$pkgver.tar.gz" +builddir="$srcdir/$pkgname" + +prepare() { + default_prepare + + cargo fetch +} + +build() { + cargo build --frozen --release +} + +check() { + cargo test --frozen +} + +package() { + cargo install --frozen --offline --path . --root="$pkgdir/usr" + rm "$pkgdir"/usr/.crates* +} + +sha512sums=" +e611cf24a6cc189e8df5351bdd7694780f04c28bd16c3f256075a9ca0316489364a9aaa9febbff47140c8edb8e21f1ad906c175bf9f7f525c814ebf0fe1bd1e5 blueprint-stable-2.0.0.tar.gz +" -- 2.38.5