Date: Saturday, January 16, 2021 @ 08:52:57 Author: felixonmars Revision: 821067
archrelease: copy trunk to community-any Added: bower/repos/community-any/LICENSE (from rev 821066, bower/trunk/LICENSE) bower/repos/community-any/PKGBUILD (from rev 821066, bower/trunk/PKGBUILD) Deleted: bower/repos/community-any/LICENSE bower/repos/community-any/PKGBUILD ----------+ LICENSE | 38 ++++++++++++++-------------- PKGBUILD | 80 +++++++++++++++++++++++++++++-------------------------------- 2 files changed, 58 insertions(+), 60 deletions(-) Deleted: LICENSE =================================================================== --- LICENSE 2021-01-16 08:52:35 UTC (rev 821066) +++ LICENSE 2021-01-16 08:52:57 UTC (rev 821067) @@ -1,19 +0,0 @@ -Copyright (c) 2015 Twitter and other contributors - -Permission is hereby granted, free of charge, to any person obtaining a copy of -this software and associated documentation files (the "Software"), to deal in -the Software without restriction, including without limitation the rights to -use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies -of the Software, and to permit persons to whom the Software is furnished to do -so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. Copied: bower/repos/community-any/LICENSE (from rev 821066, bower/trunk/LICENSE) =================================================================== --- LICENSE (rev 0) +++ LICENSE 2021-01-16 08:52:57 UTC (rev 821067) @@ -0,0 +1,19 @@ +Copyright (c) 2015 Twitter and other contributors + +Permission is hereby granted, free of charge, to any person obtaining a copy of +this software and associated documentation files (the "Software"), to deal in +the Software without restriction, including without limitation the rights to +use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies +of the Software, and to permit persons to whom the Software is furnished to do +so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. Deleted: PKGBUILD =================================================================== --- PKGBUILD 2021-01-16 08:52:35 UTC (rev 821066) +++ PKGBUILD 2021-01-16 08:52:57 UTC (rev 821067) @@ -1,41 +0,0 @@ -# Maintainer: Felix Yan <felixonm...@archlinux.org> -# Contributor: Micha Alt <micha.tuc...@gmail.com> -# Contributor: FadeMind <fadem...@gmail.com> -# Contributor: Tom Vincent <http://tlvince.com/contact> - -pkgname=bower -pkgver=1.8.8 -pkgrel=2 -pkgdesc='A package manager for the web' -arch=('any') -url='https://bower.io/' -license=('MIT') -depends=('nodejs' 'semver' 'uglify-js') -makedepends=('npm' 'git') -source=(https://registry.npmjs.org/$pkgname/-/$pkgname-$pkgver.tgz - LICENSE) -noextract=($pkgname-$pkgver.tgz) -sha512sums=('d52ac99d79e43fdb282131e9b523be6a1c7740aa77715ce7f29a08eae8ea73949e3a48398aa335a4af47f8349cd8e43c4a73b48c2fcd1b852bfd4230cbbe7be0' - 'a932f56639679947f1ce67ca7c27855ae08257876880864079077db825fa402ac7d544a192e02683d38de60ed9ac708a366e05c81bd350ace1440c1588086bc1') - -package() { - npm install -g --user root --prefix "$pkgdir"/usr "$srcdir"/$pkgname-$pkgver.tgz - - install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" - - # Experimental dedup - cd "$pkgdir"/usr/lib/node_modules/$pkgname/lib/node_modules - for dep in semver uglify-js; do - rm -r $dep; - done - - cd "$pkgdir"/usr/lib/node_modules/$pkgname/lib/node_modules/package-json/node_modules - for dep in semver; do - rm -r $dep; - done - - cd "$pkgdir"/usr/lib/node_modules/$pkgname/lib/node_modules/semver-diff/node_modules - for dep in semver; do - rm -r $dep; - done -} Copied: bower/repos/community-any/PKGBUILD (from rev 821066, bower/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2021-01-16 08:52:57 UTC (rev 821067) @@ -0,0 +1,39 @@ +# Maintainer: Felix Yan <felixonm...@archlinux.org> +# Contributor: Micha Alt <micha.tuc...@gmail.com> +# Contributor: FadeMind <fadem...@gmail.com> +# Contributor: Tom Vincent <http://tlvince.com/contact> + +pkgname=bower +pkgver=1.8.9 +pkgrel=1 +pkgdesc='A package manager for the web' +arch=('any') +url='https://bower.io/' +license=('MIT') +depends=('nodejs' 'semver' 'uglify-js') +makedepends=('npm' 'git') +source=(https://registry.npmjs.org/$pkgname/-/$pkgname-$pkgver.tgz + LICENSE) +noextract=($pkgname-$pkgver.tgz) +sha512sums=('d740870cb785af569dc9b8a835d3678f789e30c764e2c6b6dd1003de8784d28d68ef27f7a92ec39824a8dae419acb1276c2375aaa796671398c6ffaf5ae82eb9' + 'a932f56639679947f1ce67ca7c27855ae08257876880864079077db825fa402ac7d544a192e02683d38de60ed9ac708a366e05c81bd350ace1440c1588086bc1') + +package() { + npm install -g --user root --prefix "$pkgdir"/usr "$srcdir"/$pkgname-$pkgver.tgz + + install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" + + # Experimental dedup + cd "$pkgdir"/usr/lib/node_modules/$pkgname/lib/node_modules + for dep in semver uglify-js; do + rm -r $dep; + done + + # 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" +}