[arch-commits] Commit in prettier/repos/community-any (PKGBUILD PKGBUILD)

Maxim Baz maximbaz at archlinux.org
Tue Jan 22 18:22:07 UTC 2019


    Date: Tuesday, January 22, 2019 @ 18:22:06
  Author: maximbaz
Revision: 427032

archrelease: copy trunk to community-any

Added:
  prettier/repos/community-any/PKGBUILD
    (from rev 427031, prettier/trunk/PKGBUILD)
Deleted:
  prettier/repos/community-any/PKGBUILD

----------+
 PKGBUILD |   62 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 31 insertions(+), 31 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-01-22 18:21:38 UTC (rev 427031)
+++ PKGBUILD	2019-01-22 18:22:06 UTC (rev 427032)
@@ -1,31 +0,0 @@
-# Maintainer: Jerome Leclanche <jerome at leclan.ch>
-# Maintainer: Maxim Baz <$pkgname at maximbaz dot com>
-
-pkgname=prettier
-pkgver=1.16.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=('289c8fa1c43c470c338e538663e54f32f1bd77d9c677ec347ada45be235fade9')
-
-
-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 427031, prettier/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-01-22 18:22:06 UTC (rev 427032)
@@ -0,0 +1,31 @@
+# Maintainer: Jerome Leclanche <jerome at leclan.ch>
+# Maintainer: Maxim Baz <$pkgname at maximbaz dot com>
+
+pkgname=prettier
+pkgver=1.16.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=('289c8fa1c43c470c338e538663e54f32f1bd77d9c677ec347ada45be235fade9')
+
+
+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