From ad7be40d7c5db3f94428a312a8a2c96b7d182536 Mon Sep 17 00:00:00 2001 From: Bnyro Date: Fri, 14 Apr 2023 12:48:35 +0200 Subject: [PATCH] New package: flutter-3.7.11 --- srcpkgs/flutter/template | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 srcpkgs/flutter/template diff --git a/srcpkgs/flutter/template b/srcpkgs/flutter/template new file mode 100644 index 000000000000..1d68d0d60d16 --- /dev/null +++ b/srcpkgs/flutter/template @@ -0,0 +1,24 @@ +# Template file for 'flutter' +pkgname=flutter +version=3.7.11 +revision=1 +archs="aarch64 x86_64" +depends="bash zip xz unzip git curl" +short_desc="SDK to build modern mobile apps for iOS and Android" +maintainer="Bnyro " +license="BSD-3-Clause" +homepage="https://flutter.dev" +distfiles="https://storage.googleapis.com/flutter_infra_release/releases/stable/linux/flutter_linux_${version}-stable.tar.xz" +checksum=fefb63a0f0781e7f11b4fd3db8c75462d0d2ee5cd0bec91dacdb331189693817 + +do_install() { + vlicense LICENSE + vmkdir opt/${pkgname} + vcopy bin opt/${pkgname} + vcopy packages opt/${pkgname} + # Otherwise it'd complaint about not being inside a git repo + vcopy .git opt/${pkgname} + vmkdir usr/bin + ln -s /opt/flutter/bin/flutter ${DESTDIR}/usr/bin/flutter + ln -s /opt/flutter/bin/dart ${DESTDIR}/usr/bin/dart +}