[arch-commits] Commit in prettier/repos/community-any (PKGBUILD PKGBUILD)
Daniel M. Capella
polyzen at gemini.archlinux.org
Mon Nov 29 03:04:14 UTC 2021
Date: Monday, November 29, 2021 @ 03:04:14
Author: polyzen
Revision: 1056251
archrelease: copy trunk to community-any
Added:
prettier/repos/community-any/PKGBUILD
(from rev 1056250, prettier/trunk/PKGBUILD)
Deleted:
prettier/repos/community-any/PKGBUILD
----------+
PKGBUILD | 66 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 33 insertions(+), 33 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-11-29 03:03:48 UTC (rev 1056250)
+++ PKGBUILD 2021-11-29 03:04:14 UTC (rev 1056251)
@@ -1,33 +0,0 @@
-# Maintainer: Jerome Leclanche <jerome at leclan.ch>
-# Maintainer: Maxim Baz <$pkgname at maximbaz dot com>
-# Maintainer: Daniel M. Capella <polyzen at archlinux.org>
-
-pkgname=prettier
-pkgver=2.4.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=("https://github.com/$pkgname/$pkgname/archive/$pkgver/$pkgname-$pkgver.tar.gz")
-sha256sums=('56d16af6b95bed8fc984d511e08f1c7dccc6676296b78f7b123719f21f5dcfbf')
-
-prepare() {
- cd "$pkgname-$pkgver"
- yarn --frozen-lockfile
-}
-
-build() {
- cd "$pkgname-$pkgver"
- yarn build
-}
-
-package() {
- cd "$pkgname-$pkgver"
- install -d "$pkgdir/usr/"{bin,"lib/$pkgname","share/licenses/$pkgname"}
- cp -a dist/* "$pkgdir/usr/lib/$pkgname"
- ln -s "/usr/lib/$pkgname/bin-$pkgname.js" "$pkgdir/usr/bin/$pkgname"
- ln -s "/usr/lib/$pkgname/LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
-}
Copied: prettier/repos/community-any/PKGBUILD (from rev 1056250, prettier/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-11-29 03:04:14 UTC (rev 1056251)
@@ -0,0 +1,33 @@
+# Maintainer: Jerome Leclanche <jerome at leclan.ch>
+# Maintainer: Maxim Baz <$pkgname at maximbaz dot com>
+# Maintainer: Daniel M. Capella <polyzen at archlinux.org>
+
+pkgname=prettier
+pkgver=2.5.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/$pkgname-$pkgver.tar.gz")
+sha256sums=('9cb0c3c8cc903630ec83d9ea5436698444e03d251870730f7f9a681c714e208d')
+
+prepare() {
+ cd "$pkgname-$pkgver"
+ yarn --frozen-lockfile
+}
+
+build() {
+ cd "$pkgname-$pkgver"
+ yarn build
+}
+
+package() {
+ cd "$pkgname-$pkgver"
+ install -d "$pkgdir/usr/"{bin,"lib/$pkgname","share/licenses/$pkgname"}
+ cp -a dist/* "$pkgdir/usr/lib/$pkgname"
+ ln -s "/usr/lib/$pkgname/bin-$pkgname.js" "$pkgdir/usr/bin/$pkgname"
+ ln -s "/usr/lib/$pkgname/LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
More information about the arch-commits
mailing list