Date: Tuesday, January 22, 2019 @ 18:21:38 Author: maximbaz Revision: 427031
archrelease: copy trunk to community-any Added: prettier/repos/community-any/PKGBUILD (from rev 427030, 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:30 UTC (rev 427030) +++ PKGBUILD 2019-01-22 18:21:38 UTC (rev 427031) @@ -1,31 +0,0 @@ -# Maintainer: Jerome Leclanche <jer...@leclan.ch> -# Maintainer: Maxim Baz <$pkgname at maximbaz dot com> - -pkgname=prettier -pkgver=1.16.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=('01fbbcf1480559ff57490596ffd8d6c8260550ae3b03d323243759904dd55c36') - - -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 427030, prettier/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2019-01-22 18:21:38 UTC (rev 427031) @@ -0,0 +1,31 @@ +# Maintainer: Jerome Leclanche <jer...@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" +}