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

Jerome Leclanche jleclanche at archlinux.org
Sat Oct 6 15:56:43 UTC 2018


    Date: Saturday, October 6, 2018 @ 15:56:42
  Author: jleclanche
Revision: 390887

archrelease: copy trunk to community-any

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

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2018-10-06 15:56:28 UTC (rev 390886)
+++ PKGBUILD	2018-10-06 15:56:42 UTC (rev 390887)
@@ -1,30 +0,0 @@
-# $Id$
-# Maintainer: Jerome Leclanche <jerome at leclan.ch>
-
-pkgname=prettier
-pkgver=1.14.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=("https://github.com/$pkgname/$pkgname/archive/$pkgver.tar.gz")
-sha256sums=("9c3a504a59a83b29c169c409713e8f9040212d0da85df3649ec84986879fd189")
-
-
-build() {
-	cd "$srcdir/$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"
-}

Copied: prettier/repos/community-any/PKGBUILD (from rev 390886, prettier/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2018-10-06 15:56:42 UTC (rev 390887)
@@ -0,0 +1,29 @@
+# Maintainer: Jerome Leclanche <jerome at leclan.ch>
+
+pkgname=prettier
+pkgver=1.14.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=("1e965281a7ecda588084d0aa20a2a8b248d1dbfbcb342661fb5a6b1ef4c3ecf8")
+
+
+build() {
+	cd "$srcdir/$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"
+}



More information about the arch-commits mailing list