[arch-commits] Commit in dart/repos/community-x86_64 (PKGBUILD PKGBUILD)

Felix Yan felixonmars at archlinux.org
Wed Dec 20 12:03:53 UTC 2017


    Date: Wednesday, December 20, 2017 @ 12:03:52
  Author: felixonmars
Revision: 275002

archrelease: copy trunk to community-x86_64

Added:
  dart/repos/community-x86_64/PKGBUILD
    (from rev 275001, dart/trunk/PKGBUILD)
Deleted:
  dart/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |  131 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 65 insertions(+), 66 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2017-12-20 12:03:35 UTC (rev 275001)
+++ PKGBUILD	2017-12-20 12:03:52 UTC (rev 275002)
@@ -1,66 +0,0 @@
-# $Id$
-# Maintainer: Alexander Rødseth <rodseth at gmail.com>
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: T. Jameson Little <t.jameson.little at gmail dot com>
-# Contributor: Usagi Ito <usagi at WonderRabbitProject.net>
-# Contributor: siasia <http://pastebin.com/qsBEmNCw>
-# Contributor: Julien Nicoulaud <julien.nicoulaud at gmail.com>
-
-pkgname=dart
-pkgver=1.24.2
-pkgrel=1
-pkgdesc='The dart programming language SDK'
-arch=('x86_64' 'i686')
-url='http://www.dartlang.org/'
-license=('BSD')
-makedepends=('setconf')
-options=('!strip')
-source_x86_64+=("$pkgname-$pkgver-64.zip::http://storage.googleapis.com/dart-archive/channels/stable/release/latest/sdk/dartsdk-linux-x64-release.zip")
-source_i686+=("$pkgname-$pkgver-32.zip::http://storage.googleapis.com/dart-archive/channels/stable/release/latest/sdk/dartsdk-linux-ia32-release.zip")
-sha512sums_x86_64=('848d0004494fa2c1a813b7530a14323b5dbb2af171eba5ff32e1abcbe4bfab4c83d412fb4cb80f6a93c2cdd94d8f1704410307cccf5a7419271bdfb57be79f37')
-sha512sums_i686=('0b8ec7cde3f84ac01651dc270c0e6600fc17d7bbe563ec94cd6829328520c141d61f4bded5704ddd2e3222d0d1d7888c19a4c156d81e5484dbbbde94a96df557')
-
-prepare() {
-  # Fix permissions
-  find "$pkgname-sdk" -type d -exec chmod 0755 '{}' + \
-    -or -type f -exec chmod 0644 '{}' +
-  chmod +x "$pkgname-sdk/bin/"*
-
-  cd "$pkgname-sdk/bin"
-
-  # Configure paths
-  setconf dart2js BIN_DIR "/opt/$pkgname-sdk/bin"
-  setconf dart2js PROG_NAME "/opt/$pkgname-sdk/bin/dart2js"
-  setconf dartanalyzer SCRIPT_DIR "/opt/$pkgname-sdk/bin"
-  setconf pub BIN_DIR "/opt/$pkgname-sdk/bin"
-  setconf pub SDK_DIR "/opt/$pkgname-sdk/"
-  setconf dartfmt BIN_DIR "/opt/$pkgname-sdk/bin"
-  setconf dartfmt SDK_DIR "/opt/$pkgname-sdk/"
-
-  # Extract license (AUTHORS and LICENSE files are missing)
-  head -n5 "../include/dart_api.h" > ../../LICENSE
-}
-
-package() {
-  # Create directories
-  install -d "$pkgdir"{"/opt/$pkgname-sdk",/usr/{bin,"share/doc/$pkgname-sdk"}}
-
-  # Package the files
-  cp -a "$pkgname-sdk/"* "$pkgdir/opt/$pkgname-sdk/"
-
-  # Set up symbolic links for the executables
-  for f in dart dart2js dartanalyzer pub dartfmt dartdevc; do
-    ln -s "/opt/$pkgname-sdk/bin/$f" "$pkgdir/usr/bin/$f"
-  done
-
-  # Package samples and documentation
-  for f in samples about.html about_files; do
-    echo mv "$pkgdir/opt/$pkgname-sdk/$f" "$pkgdir/usr/share/doc/$pkgname/"
-  done
-
-  # BSD License
-  install -Dm644 LICENSE \
-    "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
-}
-
-# vim:set ts=2 sw=2 et:

Copied: dart/repos/community-x86_64/PKGBUILD (from rev 275001, dart/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2017-12-20 12:03:52 UTC (rev 275002)
@@ -0,0 +1,65 @@
+# $Id$
+# Maintainer: Alexander Rødseth <rodseth at gmail.com>
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: T. Jameson Little <t.jameson.little at gmail dot com>
+# Contributor: Usagi Ito <usagi at WonderRabbitProject.net>
+# Contributor: siasia <http://pastebin.com/qsBEmNCw>
+# Contributor: Julien Nicoulaud <julien.nicoulaud at gmail.com>
+
+pkgname=dart
+pkgver=1.24.3
+pkgrel=1
+pkgdesc='The dart programming language SDK'
+arch=('x86_64')
+url='http://www.dartlang.org/'
+license=('BSD')
+makedepends=('setconf')
+options=('!strip')
+source_x86_64+=("$pkgname-$pkgver-64.zip::http://storage.googleapis.com/dart-archive/channels/stable/release/latest/sdk/dartsdk-linux-x64-release.zip")
+source_i686+=("$pkgname-$pkgver-32.zip::http://storage.googleapis.com/dart-archive/channels/stable/release/latest/sdk/dartsdk-linux-ia32-release.zip")
+sha512sums_x86_64=('ec050c51f2adae2fa6c57955b93f29580c07969965c33e4625bc94e44eb22244af616d82fc5fe85b8d13b8371b9874ff55baa400ab321883fbc83c1075fae219')
+
+prepare() {
+  # Fix permissions
+  find "$pkgname-sdk" -type d -exec chmod 0755 '{}' + \
+    -or -type f -exec chmod 0644 '{}' +
+  chmod +x "$pkgname-sdk/bin/"*
+
+  cd "$pkgname-sdk/bin"
+
+  # Configure paths
+  setconf dart2js BIN_DIR "/opt/$pkgname-sdk/bin"
+  setconf dart2js PROG_NAME "/opt/$pkgname-sdk/bin/dart2js"
+  setconf dartanalyzer SCRIPT_DIR "/opt/$pkgname-sdk/bin"
+  setconf pub BIN_DIR "/opt/$pkgname-sdk/bin"
+  setconf pub SDK_DIR "/opt/$pkgname-sdk/"
+  setconf dartfmt BIN_DIR "/opt/$pkgname-sdk/bin"
+  setconf dartfmt SDK_DIR "/opt/$pkgname-sdk/"
+
+  # Extract license (AUTHORS and LICENSE files are missing)
+  head -n5 "../include/dart_api.h" > ../../LICENSE
+}
+
+package() {
+  # Create directories
+  install -d "$pkgdir"{"/opt/$pkgname-sdk",/usr/{bin,"share/doc/$pkgname-sdk"}}
+
+  # Package the files
+  cp -a "$pkgname-sdk/"* "$pkgdir/opt/$pkgname-sdk/"
+
+  # Set up symbolic links for the executables
+  for f in dart dart2js dartanalyzer pub dartfmt dartdevc; do
+    ln -s "/opt/$pkgname-sdk/bin/$f" "$pkgdir/usr/bin/$f"
+  done
+
+  # Package samples and documentation
+  for f in samples about.html about_files; do
+    echo mv "$pkgdir/opt/$pkgname-sdk/$f" "$pkgdir/usr/share/doc/$pkgname/"
+  done
+
+  # BSD License
+  install -Dm644 LICENSE \
+    "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
+
+# vim:set ts=2 sw=2 et:



More information about the arch-commits mailing list