Date: Monday, May 13, 2019 @ 17:04:17 Author: maximbaz Revision: 467152
archrelease: copy trunk to community-any Added: prettier/repos/community-any/PKGBUILD (from rev 467151, prettier/trunk/PKGBUILD) Deleted: prettier/repos/community-any/PKGBUILD ----------+ PKGBUILD | 62 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 31 insertions(+), 31 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2019-05-13 17:04:13 UTC (rev 467151) +++ PKGBUILD 2019-05-13 17:04:17 UTC (rev 467152) @@ -1,31 +0,0 @@ -# Maintainer: Jerome Leclanche <jer...@leclan.ch> -# Maintainer: Maxim Baz <$pkgname at maximbaz dot com> - -pkgname=prettier -pkgver=1.17.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=('fc158bd8f50b627dee9a0acf0efb563d1a82cd4dda9270fce6d79f48af94d031') - - -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 467151, prettier/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2019-05-13 17:04:17 UTC (rev 467152) @@ -0,0 +1,31 @@ +# Maintainer: Jerome Leclanche <jer...@leclan.ch> +# Maintainer: Maxim Baz <$pkgname at maximbaz dot com> + +pkgname=prettier +pkgver=1.17.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=('ba8d5688347879c3339fc525826a13e4235670318583f2c61bf635c97ce51eb4') + + +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" +}