[arch-commits] Commit in prettier/repos/community-any (PKGBUILD PKGBUILD)
Jerome Leclanche
jleclanche at archlinux.org
Sun Jun 9 15:20:01 UTC 2019
Date: Sunday, June 9, 2019 @ 15:20:01
Author: jleclanche
Revision: 478969
archrelease: copy trunk to community-any
Added:
prettier/repos/community-any/PKGBUILD
(from rev 478968, prettier/trunk/PKGBUILD)
Deleted:
prettier/repos/community-any/PKGBUILD
----------+
PKGBUILD | 62 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 31 insertions(+), 31 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2019-06-09 15:19:50 UTC (rev 478968)
+++ PKGBUILD 2019-06-09 15:20:01 UTC (rev 478969)
@@ -1,31 +0,0 @@
-# Maintainer: Jerome Leclanche <jerome at leclan.ch>
-# Maintainer: Maxim Baz <$pkgname at maximbaz dot com>
-
-pkgname=prettier
-pkgver=1.17.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=('ba8d5688347879c3339fc525826a13e4235670318583f2c61bf635c97ce51eb4')
-
-
-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 478968, prettier/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2019-06-09 15:20:01 UTC (rev 478969)
@@ -0,0 +1,31 @@
+# Maintainer: Jerome Leclanche <jerome at leclan.ch>
+# Maintainer: Maxim Baz <$pkgname at maximbaz dot com>
+
+pkgname=prettier
+pkgver=1.18.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=("daae2e5eb6ce9e63853edd91545070010fc38ea9e3b7a4ed1e5614106da718e1")
+
+
+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