Date: Thursday, June 2, 2022 @ 03:45:57 Author: felixonmars Revision: 1218403
archrelease: copy trunk to community-any Added: stylus/repos/community-any/PKGBUILD (from rev 1218402, stylus/trunk/PKGBUILD) Deleted: stylus/repos/community-any/PKGBUILD ----------+ PKGBUILD | 58 +++++++++++++++++++++++++++++----------------------------- 1 file changed, 29 insertions(+), 29 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2022-06-02 03:45:40 UTC (rev 1218402) +++ PKGBUILD 2022-06-02 03:45:57 UTC (rev 1218403) @@ -1,29 +0,0 @@ -# Maintainer: Felix Yan <felixonm...@archlinux.org> - -pkgname=stylus -pkgdesc='Robust, expressive, and feature-rich CSS superset' -pkgver=0.58.0 -pkgrel=1 -arch=('any') -url='https://github.com/stylus/stylus' -license=('MIT') -depends=('nodejs') -makedepends=('npm' 'git') -source=(https://registry.npmjs.org/$pkgname/-/$pkgname-$pkgver.tgz) -noextract=($pkgname-$pkgver.tgz) -sha512sums=('ab6ecfa1fd0f20d227bff8133b5007fba0b5564a1e74438fa77f0207f0c559d4a0bb87c10b09f133c719126e0cd7353e26beab999ef98649aa9364320f37b5d2') - -package() { - npm install -g --prefix "$pkgdir"/usr "$srcdir"/$pkgname-$pkgver.tgz - - # Non-deterministic race in npm gives 777 permissions to random directories. - # See https://github.com/npm/npm/issues/9359 for details. - chmod -R u=rwX,go=rX "$pkgdir" - - # npm installs package.json owned by build user - # https://bugs.archlinux.org/task/63396 - chown -R root:root "$pkgdir" - - mkdir -p "$pkgdir/usr/share/licenses/$pkgname" - ln -s "../../../lib/node_modules/$pkgname/LICENSE" "$pkgdir/usr/share/licenses/$pkgname/" -} Copied: stylus/repos/community-any/PKGBUILD (from rev 1218402, stylus/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2022-06-02 03:45:57 UTC (rev 1218403) @@ -0,0 +1,29 @@ +# Maintainer: Felix Yan <felixonm...@archlinux.org> + +pkgname=stylus +pkgdesc='Robust, expressive, and feature-rich CSS superset' +pkgver=0.58.1 +pkgrel=1 +arch=('any') +url='https://github.com/stylus/stylus' +license=('MIT') +depends=('nodejs') +makedepends=('npm' 'git') +source=(https://registry.npmjs.org/$pkgname/-/$pkgname-$pkgver.tgz) +noextract=($pkgname-$pkgver.tgz) +sha512sums=('0188821e6e6881ccdd08f31f7bd69e41ae0d92507681c7f80ff221cd83dd7498d380f73e9380ff115134c9f41b643e373073f794fcbef0d67d7dc17192b82cff') + +package() { + npm install -g --prefix "$pkgdir"/usr "$srcdir"/$pkgname-$pkgver.tgz + + # Non-deterministic race in npm gives 777 permissions to random directories. + # See https://github.com/npm/npm/issues/9359 for details. + chmod -R u=rwX,go=rX "$pkgdir" + + # npm installs package.json owned by build user + # https://bugs.archlinux.org/task/63396 + chown -R root:root "$pkgdir" + + mkdir -p "$pkgdir/usr/share/licenses/$pkgname" + ln -s "../../../lib/node_modules/$pkgname/LICENSE" "$pkgdir/usr/share/licenses/$pkgname/" +}