[arch-commits] Commit in prettier/repos/community-any (PKGBUILD PKGBUILD)
Jerome Leclanche
jleclanche at archlinux.org
Sat Aug 11 16:02:03 UTC 2018
Date: Saturday, August 11, 2018 @ 16:02:02
Author: jleclanche
Revision: 371137
archrelease: copy trunk to community-any
Added:
prettier/repos/community-any/PKGBUILD
(from rev 371136, prettier/trunk/PKGBUILD)
Deleted:
prettier/repos/community-any/PKGBUILD
----------+
PKGBUILD | 60 ++++++++++++++++++++++++++++++------------------------------
1 file changed, 30 insertions(+), 30 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2018-08-11 16:01:42 UTC (rev 371136)
+++ PKGBUILD 2018-08-11 16:02:02 UTC (rev 371137)
@@ -1,30 +0,0 @@
-# $Id$
-# Maintainer: Jerome Leclanche <jerome at leclan.ch>
-
-pkgname=prettier
-pkgver=1.14.0
-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=("ac3f10aa6fefc312674cea2d71ba67621adeed458d8902b8c1a18256c43b252c")
-
-
-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 371136, prettier/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2018-08-11 16:02:02 UTC (rev 371137)
@@ -0,0 +1,30 @@
+# $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"
+}
More information about the arch-commits
mailing list