You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
jade_gui/PKGBUILD

24 lines
648 B
Bash

# Maintainer: Matt C <matt[at]getcryst[dot]al>
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' 'cmake' 'ninja' 'clang')
depends=('jade')
3 years ago
source=("gui::git+${url}.git")
sha256sums=('SKIP')
build() {
3 years ago
cd ${srcdir}/gui
flutter config --enable-linux-desktop
flutter build linux
}
package() {
mkdir -p ${pkgdir}/usr/{bin,lib}
3 years ago
cp ${srcdir}/gui/build/linux/x64/release/bundle/jade_gui ${pkgdir}/usr/bin/.
cp ${srcdir}/gui/build/linux/x64/release/bundle/lib/* ${pkgdir}/usr/lib/.
}