Date: Saturday, November 9, 2019 @ 15:17:04
  Author: maximbaz
Revision: 524834

upgpkg: prettier 1.19.1-1

Modified:
  prettier/trunk/PKGBUILD

----------+
 PKGBUILD |    8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2019-11-09 14:37:48 UTC (rev 524833)
+++ PKGBUILD    2019-11-09 15:17:04 UTC (rev 524834)
@@ -2,7 +2,7 @@
 # Maintainer: Maxim Baz <$pkgname at maximbaz dot com>
 
 pkgname=prettier
-pkgver=1.18.2
+pkgver=1.19.1
 pkgrel=1
 pkgdesc="An opinionated code formatter for JS, JSON, CSS, YAML and much more"
 arch=("any")
@@ -11,7 +11,7 @@
 depends=("nodejs")
 makedepends=("yarn")
 
source=("$pkgname-$pkgver.tar.gz::https://github.com/$pkgname/$pkgname/archive/$pkgver.tar.gz";)
-sha256sums=("daae2e5eb6ce9e63853edd91545070010fc38ea9e3b7a4ed1e5614106da718e1")
+sha256sums=('5fe18a6f7933479531e937858f83a4edd08e7478c3edf711c8438987ebec5c7e')
 
 
 build() {
@@ -25,6 +25,10 @@
        install -d "$pkgdir/usr/lib/$pkgname"
        cd "$pkgdir/usr/lib/$pkgname"
        cp -a "$srcdir/$pkgname-$pkgver/dist/"* .
+
+       # https://github.com/prettier/prettier/issues/6900
+       chmod +x "bin-$pkgname.js"
+
        install -d "$pkgdir/usr/bin"
        ln -s "/usr/lib/$pkgname/bin-$pkgname.js" "$pkgdir/usr/bin/$pkgname"
        install -Dm644 -t "$pkgdir/usr/share/licenses/$pkgname" 
"$srcdir/$pkgname-$pkgver/LICENSE"

Reply via email to