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

Maxim Baz maximbaz at archlinux.org
Mon Apr 6 13:19:40 UTC 2020


    Date: Monday, April 6, 2020 @ 13:19:39
  Author: maximbaz
Revision: 612056

archrelease: copy trunk to community-any

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

----------+
 PKGBUILD |   70 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 35 insertions(+), 35 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-04-06 13:19:36 UTC (rev 612055)
+++ PKGBUILD	2020-04-06 13:19:39 UTC (rev 612056)
@@ -1,35 +0,0 @@
-# Maintainer: Jerome Leclanche <jerome at leclan.ch>
-# Maintainer: Maxim Baz <$pkgname at maximbaz dot com>
-
-pkgname=prettier
-pkgver=2.0.3
-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=('9c3f87346be4cff4f14234e06af65cb383bf9741a0461f454ba6fb8638aafb0b')
-
-
-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/"* .
-
-	# 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"
-}

Copied: prettier/repos/community-any/PKGBUILD (from rev 612055, prettier/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-04-06 13:19:39 UTC (rev 612056)
@@ -0,0 +1,35 @@
+# Maintainer: Jerome Leclanche <jerome at leclan.ch>
+# Maintainer: Maxim Baz <$pkgname at maximbaz dot com>
+
+pkgname=prettier
+pkgver=2.0.4
+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=('72f2fa1de916b3ecd8bbc0d625f637f14d225441497a8091722ccc9c5f9577e6')
+
+
+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/"* .
+
+	# 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"
+}



More information about the arch-commits mailing list