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

Maxim Baz maximbaz at archlinux.org
Sun Dec 2 00:58:32 UTC 2018


    Date: Sunday, December 2, 2018 @ 00:58:32
  Author: maximbaz
Revision: 410746

archrelease: copy trunk to community-any

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

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2018-12-02 00:58:26 UTC (rev 410745)
+++ PKGBUILD	2018-12-02 00:58:32 UTC (rev 410746)
@@ -1,29 +0,0 @@
-# Maintainer: Jerome Leclanche <jerome at leclan.ch>
-
-pkgname=prettier
-pkgver=1.15.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=("d1930dfea87949d4c6c01218039f6e8a7e167ac6f214bb2e9336c64bdf99f92d")
-
-
-build() {
-	cd "$srcdir/$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"
-}

Copied: prettier/repos/community-any/PKGBUILD (from rev 410745, prettier/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2018-12-02 00:58:32 UTC (rev 410746)
@@ -0,0 +1,31 @@
+# Maintainer: Jerome Leclanche <jerome at leclan.ch>
+# Maintainer: Maxim Baz <$pkgname at maximbaz dot com>
+
+pkgname=prettier
+pkgver=1.15.3
+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=('dfb1172995b8ba09042e95112cc8140beaed72403b7faf32269ff27cbb45b972')
+
+
+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