[arch-commits] Commit in dart/trunk (PKGBUILD)

Felix Yan felixonmars at archlinux.org
Fri May 31 17:33:07 UTC 2019


    Date: Friday, May 31, 2019 @ 17:33:06
  Author: felixonmars
Revision: 476070

upgpkg: dart 2.3.1-2

fix permissions and add missing symlinks (FS#62593)

Modified:
  dart/trunk/PKGBUILD

----------+
 PKGBUILD |   10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-05-31 17:33:04 UTC (rev 476069)
+++ PKGBUILD	2019-05-31 17:33:06 UTC (rev 476070)
@@ -7,10 +7,11 @@
 
 pkgname=dart
 pkgver=2.3.1
-pkgrel=1
+pkgrel=2
 pkgdesc='The dart programming language SDK'
 arch=('x86_64')
 url='https://www.dartlang.org/'
+depends=('bash')
 license=('BSD')
 makedepends=('setconf')
 options=('!strip')
@@ -19,9 +20,8 @@
 
 prepare() {
   # Fix permissions
-  find "$pkgname-sdk" -type d -exec chmod 0755 '{}' + \
-    -or -type f -exec chmod 0644 '{}' +
-  chmod +x "$pkgname-sdk/bin/"*
+  find "$pkgname-sdk" -type d -exec chmod a+rx '{}' + \
+    -or -type f -exec chmod a+r '{}' +
 
   cd "$pkgname-sdk/bin"
 
@@ -44,7 +44,7 @@
   cp -a "$pkgname-sdk/"* "$pkgdir/opt/$pkgname-sdk/"
 
   # Set up symbolic links for the executables
-  for f in dart dart2js dartanalyzer pub dartfmt dartdevc dartdoc; do
+  for f in dart dart2js dartanalyzer pub dartfmt dartdevc dartdoc dart2aot dartaotruntime; do
     ln -s "/opt/$pkgname-sdk/bin/$f" "$pkgdir/usr/bin/$f"
   done
 



More information about the arch-commits mailing list