mirror of
https://github.com/terrapkg/packages.git
synced 2026-05-31 09:01:55 +00:00
add: flutter (#746)
* add: flutter * Update flutter.spec Signed-off-by: madomado <madonuko@outlook.com> * Update flutter.spec Signed-off-by: madomado <madonuko@outlook.com> * mkdir Signed-off-by: madomado <madonuko@outlook.com> --------- Signed-off-by: madomado <madonuko@outlook.com>
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
project pkg {
|
||||
rpm {
|
||||
spec = "flutter.spec"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,30 @@
|
||||
Name: flutter
|
||||
Version: 3.13.8
|
||||
Release: 1%?dist
|
||||
Summary: SDK for crafting beautiful, fast user experiences from a single codebase
|
||||
License: BSD-3-Clause
|
||||
URL: https://flutter.dev
|
||||
Source0: https://storage.googleapis.com/flutter_infra_release/releases/stable/linux/flutter_linux_%version-stable.tar.xz
|
||||
Requires: bash curl git file which zip xz-utils
|
||||
Recommends: mesa-libGLU
|
||||
|
||||
%description
|
||||
Flutter transforms the app development process. Build, test, and deploy
|
||||
beautiful mobile, web, desktop, and embedded apps from a single codebase.
|
||||
|
||||
%prep
|
||||
tar xf %SOURCE0
|
||||
|
||||
%build
|
||||
|
||||
%install
|
||||
mkdir -p %buildroot%_datadir %buildroot%_bindir
|
||||
mv %name/ %buildroot%_datadir/
|
||||
ln -s %_datadir/%name/bin/%name %buildroot%_bindir/%name
|
||||
|
||||
%files
|
||||
%_bindir/%name
|
||||
%_datadir/%name
|
||||
|
||||
%changelog
|
||||
%autochangelog
|
||||
@@ -0,0 +1,2 @@
|
||||
let obj = get("https://storage.googleapis.com/flutter_infra_release/releases/releases_linux.json").json();
|
||||
rpm.version(obj.releases[0].version);
|
||||
Reference in New Issue
Block a user