From 789c5c8d7d911d8c4f099de29deb17dc71066142 Mon Sep 17 00:00:00 2001 From: Matt Compton Date: Thu, 3 Feb 2022 18:22:43 +0000 Subject: [PATCH] add PKGBUILD (testing) --- PKGBUILD | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 PKGBUILD diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 0000000..cd6a047 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,20 @@ +# Maintainer: Matt C +pkgname=jade-gui +pkgver=1.0.0 +pkgrel=1 +pkgdesc="Flutter GUI for installing crystal" +arch=('any') +url="https://git.tar.black/crystal/programs/jade_gui" +makedepends=('flutter-group-pacman-hook' 'flutter') +depends=('jade') +source=("git+${url}.git") + +build() { + cd ${srcdir}/jade_gui + flutter build linux +} + +package() { + mkdir -p ${pkgdir}/usr/bin + cp ${srcdir}/jade_gui/build/linux/x64/release/bundle/jade_gui ${pkgdir}/usr/bin/. +}