[arch-commits] Commit in prettier/repos/community-any (PKGBUILD PKGBUILD)
Maxim Baz
maximbaz at archlinux.org
Sat Nov 21 16:23:14 UTC 2020
Date: Saturday, November 21, 2020 @ 16:23:14
Author: maximbaz
Revision: 758498
archrelease: copy trunk to community-any
Added:
prettier/repos/community-any/PKGBUILD
(from rev 758497, prettier/trunk/PKGBUILD)
Deleted:
prettier/repos/community-any/PKGBUILD
----------+
PKGBUILD | 60 ++++++++++++++++++++++++++++++------------------------------
1 file changed, 30 insertions(+), 30 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-11-21 16:23:10 UTC (rev 758497)
+++ PKGBUILD 2020-11-21 16:23:14 UTC (rev 758498)
@@ -1,30 +0,0 @@
-# Maintainer: Jerome Leclanche <jerome at leclan.ch>
-# Maintainer: Maxim Baz <$pkgname at maximbaz dot com>
-
-pkgname=prettier
-pkgver=2.1.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=("340ac7f7dce7aec94269ec0ba3024feb7f7b2939ee7842d0f2996ffd7e5d5c16")
-
-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 758497, prettier/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-11-21 16:23:14 UTC (rev 758498)
@@ -0,0 +1,30 @@
+# Maintainer: Jerome Leclanche <jerome at leclan.ch>
+# Maintainer: Maxim Baz <$pkgname at maximbaz dot com>
+
+pkgname=prettier
+pkgver=2.2.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=("$pkgname-$pkgver.tar.gz::https://github.com/$pkgname/$pkgname/archive/$pkgver.tar.gz")
+sha256sums=('a6c6179e4ce43f1b35dbe5603ae079309db24fc08e476a736fe7b6515a81a07d')
+
+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