mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-28 22:57:37 +00:00
community/dart to 2.18.0-1
This commit is contained in:
parent
c9ef19bc7a
commit
1d73e328f7
1 changed files with 5 additions and 12 deletions
|
@ -11,7 +11,7 @@
|
|||
# - added source and sha512 for ARMv7h, AArch64 builds of Dart
|
||||
|
||||
pkgname=dart
|
||||
pkgver=2.17.7
|
||||
pkgver=2.18.0
|
||||
pkgrel=1
|
||||
pkgdesc='The dart programming language SDK'
|
||||
arch=('x86_64' 'armv7h' 'aarch64')
|
||||
|
@ -23,9 +23,9 @@ options=('!strip')
|
|||
source_x86_64+=("$pkgname-$pkgver-64.zip::https://storage.googleapis.com/dart-archive/channels/stable/release/$pkgver/sdk/dartsdk-linux-x64-release.zip")
|
||||
source_armv7h+=("$pkgname-$pkgver-arm.zip::https://storage.googleapis.com/dart-archive/channels/stable/release/$pkgver/sdk/dartsdk-linux-arm-release.zip")
|
||||
source_aarch64+=("$pkgname-$pkgver-arm64.zip::https://storage.googleapis.com/dart-archive/channels/stable/release/$pkgver/sdk/dartsdk-linux-arm64-release.zip")
|
||||
sha512sums_x86_64=('a152eef906c7fcefd10d137bd5f43d6198286dff26f18caa44436848338cdfb629b0d07a9df57c4a29c6ed471a8545b516b39503cc85dd3ac079675560b7b898')
|
||||
sha512sums_armv7h=('f49e8a1640ed06e2fe94a9fddf331e8c10a4b701a2307d5eb6a8fa06768ad144d1f5574108f9c792286ea866af07a5b67ac82a5611fdf8677e7da83f8e150a41')
|
||||
sha512sums_aarch64=('dd093a63b458e315bb049be221fb9c3bdaddf0d48ddb69118247508414f864f958a116d12b9d9e6108dbb1ebfe2577d24c81c1edbe4d8d2310d8e2ef956460b1')
|
||||
sha512sums_x86_64=('481a06606605ece09d3cbb2d47d89f8c83715aa3b1356adfa9722e13cb31806bafb116f7b0a876b7e26f3ad0fb3424b6b257e17d806f0991f441818e3fa5b8cf')
|
||||
sha512sums_armv7h=('60dd10e78d4d1c53731f6a6accf49fd7264206035f8fb87212ca1460ae329cabf3e2f1cde36202df5a18b5aced250773719d4adc0ce63c41bbd653d9fd738841')
|
||||
sha512sums_aarch64=('ae805d8901d0603f87423a6373abafe08aea69bdd1061a789fbb4ba6b709b515a28fbf4f20266f4461556897e6fe9f3446bdad43c31f782609d66ddcb9128af4')
|
||||
|
||||
prepare() {
|
||||
# Fix permissions
|
||||
|
@ -34,13 +34,6 @@ prepare() {
|
|||
|
||||
cd "$pkgname-sdk/bin"
|
||||
|
||||
# Configure paths
|
||||
for _f in dart2js dartdevc; do
|
||||
setconf $_f BIN_DIR "/opt/$pkgname-sdk/bin"
|
||||
setconf $_f PROG_NAME "/opt/$pkgname-sdk/bin/$_f"
|
||||
setconf $_f SDK_DIR "/opt/$pkgname-sdk/"
|
||||
done
|
||||
|
||||
# Extract license (AUTHORS and LICENSE files are missing)
|
||||
head -n5 "../include/dart_api.h" > ../../LICENSE
|
||||
}
|
||||
|
@ -53,7 +46,7 @@ package() {
|
|||
cp -a "$pkgname-sdk/"* "$pkgdir/opt/$pkgname-sdk/"
|
||||
|
||||
# Set up symbolic links for the executables
|
||||
for f in dart dart2js dartdevc dartaotruntime; do
|
||||
for f in dart dartaotruntime; do
|
||||
ln -s "/opt/$pkgname-sdk/bin/$f" "$pkgdir/usr/bin/$f"
|
||||
done
|
||||
|
||||
|
|
Loading…
Reference in a new issue