Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
aports
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Monitor
Service Desk
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
alpine
aports
Commits
53387982
Commit
53387982
authored
2 years ago
by
LN Liberda
Committed by
alice
2 years ago
Browse files
Options
Downloads
Patches
Plain Diff
testing/dart-stage0: new aport
parent
9ba3d1ac
Loading
Loading
2 merge requests
!39304
[3.16] main/expat: security upgrade to 2.4.9
,
!38692
testing/dart: new aport
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
testing/dart-stage0/APKBUILD
+42
-0
42 additions, 0 deletions
testing/dart-stage0/APKBUILD
with
42 additions
and
0 deletions
testing/dart-stage0/APKBUILD
0 → 100644
+
42
−
0
View file @
53387982
# Contributor: Lauren N. Liberda <lauren@selfisekai.rocks>
# Maintainer: Lauren N. Liberda <lauren@selfisekai.rocks>
pkgname
=
dart-stage0
pkgver
=
2.18.0
pkgrel
=
0
pkgdesc
=
"Dart is a client-optimized language for fast apps on any platform (temporary bootstrap package)"
url
=
"https://dart.dev/"
arch
=
"x86_64"
license
=
"BSD-3-Clause"
depends
=
"wine"
options
=
"!check"
source
=
"
dartsdk-build-
$pkgver
.zip::https://storage.googleapis.com/dart-archive/channels/stable/release/
$pkgver
/sdk/dartsdk-windows-x64-release.zip
"
builddir
=
"
$srcdir
/"
provides
=
"dart-bootstrap"
provider_priority
=
42
build
()
{
echo
"#!/bin/sh
exec wine64 /usr/lib/dart/bin/dart.exe
\$
@"
>
dart
chmod
+x dart
# while the tool got removed (https://dart.dev/tools/dart2js),
# it's still needed for compiling dart 🤯
echo
"#!/bin/sh
exec wine64 /usr/lib/dart/bin/dart.exe compile js
\$
@"
>
dart2js
chmod
+x dart2js
}
package
()
{
mkdir
-p
"
$pkgdir
"
/usr/lib
cp
-r
dart-sdk
"
$pkgdir
"
/usr/lib/dart
install
-Dm755
dart
"
$pkgdir
"
/usr/bin/dart
install
-Dm755
dart2js
"
$pkgdir
"
/usr/bin/dart2js
}
sha512sums
=
"
f0d0f0e56ac4bb991f5b7b6aa4bc36d90cf86324c0c073dae6cc4358767b9cc82fa838627033d0d3c8a42ee82a7fb70c580e0db99dfd4b6992ece79100d05191 dartsdk-build-2.18.0.zip
"
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment