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

Jerome Leclanche jleclanche at archlinux.org
Tue Nov 13 22:25:45 UTC 2018


    Date: Tuesday, November 13, 2018 @ 22:25:45
  Author: jleclanche
Revision: 407292

archrelease: copy trunk to community-any

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

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2018-11-13 22:25:37 UTC (rev 407291)
+++ PKGBUILD	2018-11-13 22:25:45 UTC (rev 407292)
@@ -1,29 +0,0 @@
-# Maintainer: Jerome Leclanche <jerome at leclan.ch>
-
-pkgname=prettier
-pkgver=1.15.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=("721a338f51a0f03c8592812b0b2aaf303f9d36f88e5b9c6902a778ca8b0e3d53")
-
-
-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 407291, prettier/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2018-11-13 22:25:45 UTC (rev 407292)
@@ -0,0 +1,29 @@
+# Maintainer: Jerome Leclanche <jerome at leclan.ch>
+
+pkgname=prettier
+pkgver=1.15.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=("d1930dfea87949d4c6c01218039f6e8a7e167ac6f214bb2e9336c64bdf99f92d")
+
+
+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