From 1ae4c383571de41dd835b42ef068f2fbd4acf362 Mon Sep 17 00:00:00 2001 From: jan Michal Date: Wed, 26 Jan 2022 02:06:16 +0000 Subject: [PATCH] added pkgbuild --- PKGBUILD | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 PKGBUILD diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 0000000..ca03886 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,24 @@ +# Maintainer: Matt C + +pkgname=jade +pkgver=1.0.0 +pkgrel=1 +pkgdesc="Scriptable backend & TUI Installer for Crystal Linux" +arch=('x86_64') +url="https://git.tar.black/crystal/programs/jade" +license=('Nolicense') +source=("git+https://git.tar.black/crystal/programs/jade") +sha256sums=('SKIP') +depends=() +makedepends=('cargo') + +build() { + cd ${srcdir}/jade + cargo build --release +} + +package() { + mkdir -p $pkgdir/usr/bin + chmod +x ${srcdir}/jade/target/release/jade + cp ${srcdir}/jade/target/release/jade $pkgdir/usr/bin/. +}