[arch-commits] Commit in prettier/trunk (PKGBUILD)

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


    Date: Sunday, December 2, 2018 @ 00:58:26
  Author: maximbaz
Revision: 410745

upgpkg: prettier 1.15.3-1

Modified:
  prettier/trunk/PKGBUILD

----------+
 PKGBUILD |    8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-12-01 23:45:27 UTC (rev 410744)
+++ PKGBUILD	2018-12-02 00:58:26 UTC (rev 410745)
@@ -1,7 +1,8 @@
 # Maintainer: Jerome Leclanche <jerome at leclan.ch>
+# Maintainer: Maxim Baz <$pkgname at maximbaz dot com>
 
 pkgname=prettier
-pkgver=1.15.2
+pkgver=1.15.3
 pkgrel=1
 pkgdesc="An opinionated code formatter for JS, JSON, CSS, YAML and much more"
 arch=("any")
@@ -10,11 +11,11 @@
 depends=("nodejs")
 makedepends=("yarn")
 source=("$pkgname-$pkgver.tar.gz::https://github.com/$pkgname/$pkgname/archive/$pkgver.tar.gz")
-sha256sums=("d1930dfea87949d4c6c01218039f6e8a7e167ac6f214bb2e9336c64bdf99f92d")
+sha256sums=('dfb1172995b8ba09042e95112cc8140beaed72403b7faf32269ff27cbb45b972')
 
 
 build() {
-	cd "$srcdir/$pkgname-$pkgver"
+	cd "$pkgname-$pkgver"
 	yarn
 	yarn build
 }
@@ -26,4 +27,5 @@
 	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