[arch-commits] Commit in prettier/repos/community-any (PKGBUILD PKGBUILD)
Maxim Baz
maximbaz at archlinux.org
Tue Dec 1 21:48:29 UTC 2020
Date: Tuesday, December 1, 2020 @ 21:48:28
Author: maximbaz
Revision: 767220
archrelease: copy trunk to community-any
Added:
prettier/repos/community-any/PKGBUILD
(from rev 767219, prettier/trunk/PKGBUILD)
Deleted:
prettier/repos/community-any/PKGBUILD
----------+
PKGBUILD | 60 ++++++++++++++++++++++++++++++------------------------------
1 file changed, 30 insertions(+), 30 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-12-01 21:48:24 UTC (rev 767219)
+++ PKGBUILD 2020-12-01 21:48:28 UTC (rev 767220)
@@ -1,30 +0,0 @@
-# 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"
-}
Copied: prettier/repos/community-any/PKGBUILD (from rev 767219, prettier/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-12-01 21:48:28 UTC (rev 767220)
@@ -0,0 +1,30 @@
+# Maintainer: Jerome Leclanche <jerome at leclan.ch>
+# Maintainer: Maxim Baz <$pkgname at maximbaz dot com>
+
+pkgname=prettier
+pkgver=2.2.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=('31c22f314066d3997aeafb345ebc1143179500d62f2334efc965ccdc2b4ffcf7')
+
+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