[arch-commits] Commit in stylus/repos/community-any (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Fri Jul 17 20:22:05 UTC 2020
Date: Friday, July 17, 2020 @ 20:22:05
Author: felixonmars
Revision: 664311
archrelease: copy trunk to community-any
Added:
stylus/repos/community-any/PKGBUILD
(from rev 664310, stylus/trunk/PKGBUILD)
Deleted:
stylus/repos/community-any/PKGBUILD
----------+
PKGBUILD | 58 +++++++++++++++++++++++++++++-----------------------------
1 file changed, 29 insertions(+), 29 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-07-17 20:21:52 UTC (rev 664310)
+++ PKGBUILD 2020-07-17 20:22:05 UTC (rev 664311)
@@ -1,29 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgname=stylus
-pkgdesc='Robust, expressive, and feature-rich CSS superset'
-pkgver=0.54.7
-pkgrel=2
-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)
-sha256sums=('15de26b88cd5840e9d1469c0cb58379d94c18a1ee1ecd5eb17cad0cfeb790698')
-
-package() {
- npm install -g --user root --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 664310, stylus/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-07-17 20:22:05 UTC (rev 664311)
@@ -0,0 +1,29 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=stylus
+pkgdesc='Robust, expressive, and feature-rich CSS superset'
+pkgver=0.54.8
+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=('bebe783abe0167ba4969fa369a97f465cc00ef8ae9b980996f1ac706c1fc91b7173b049fbc1170b117e918ee4e0f97e11b91c30855bbdfb3ca69ac08ecea8402')
+
+package() {
+ npm install -g --user root --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/"
+}
More information about the arch-commits
mailing list