[arch-commits] Commit in prettier/repos/community-any (PKGBUILD PKGBUILD)

Jerome Leclanche jleclanche at archlinux.org
Thu Sep 17 09:39:52 UTC 2020


    Date: Thursday, September 17, 2020 @ 09:39:52
  Author: jleclanche
Revision: 708570

archrelease: copy trunk to community-any

Added:
  prettier/repos/community-any/PKGBUILD
    (from rev 708569, prettier/trunk/PKGBUILD)
Deleted:
  prettier/repos/community-any/PKGBUILD

----------+
 PKGBUILD |   60 ++++++++++++++++++++++++++++++------------------------------
 1 file changed, 30 insertions(+), 30 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-09-17 09:39:49 UTC (rev 708569)
+++ PKGBUILD	2020-09-17 09:39:52 UTC (rev 708570)
@@ -1,30 +0,0 @@
-# Maintainer: Jerome Leclanche <jerome at leclan.ch>
-# Maintainer: Maxim Baz <$pkgname at maximbaz dot com>
-
-pkgname=prettier
-pkgver=2.1.1
-pkgrel=1
-pkgdesc="An opinionated code formatter for JS, JSON, CSS, YAML and much more"
-arch=("any")
-url="https://prettier.io/"
-license=("MIT")
-depends=("nodejs")
-makedepends=("yarn")
-source=("$pkgname-$pkgver.tar.gz::https://github.com/$pkgname/$pkgname/archive/$pkgver.tar.gz")
-sha256sums=('ffe46a59aa3a897112e6818ecb19a5e4f854c62b583301254685eb5cea947f31')
-
-build() {
-    cd "$pkgname-$pkgver"
-    yarn
-    yarn build
-}
-
-package() {
-    install -d "$pkgdir/usr/lib/$pkgname"
-    cd "$pkgdir/usr/lib/$pkgname"
-    cp -a "$srcdir/$pkgname-$pkgver/dist/"* .
-
-    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"
-}

Copied: prettier/repos/community-any/PKGBUILD (from rev 708569, prettier/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-09-17 09:39:52 UTC (rev 708570)
@@ -0,0 +1,30 @@
+# Maintainer: Jerome Leclanche <jerome at leclan.ch>
+# Maintainer: Maxim Baz <$pkgname at maximbaz dot com>
+
+pkgname=prettier
+pkgver=2.1.2
+pkgrel=1
+pkgdesc="An opinionated code formatter for JS, JSON, CSS, YAML and much more"
+arch=("any")
+url="https://prettier.io/"
+license=("MIT")
+depends=("nodejs")
+makedepends=("yarn")
+source=("$pkgname-$pkgver.tar.gz::https://github.com/$pkgname/$pkgname/archive/$pkgver.tar.gz")
+sha256sums=("340ac7f7dce7aec94269ec0ba3024feb7f7b2939ee7842d0f2996ffd7e5d5c16")
+
+build() {
+    cd "$pkgname-$pkgver"
+    yarn
+    yarn build
+}
+
+package() {
+    install -d "$pkgdir/usr/lib/$pkgname"
+    cd "$pkgdir/usr/lib/$pkgname"
+    cp -a "$srcdir/$pkgname-$pkgver/dist/"* .
+
+    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"
+}


More information about the arch-commits mailing list