summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorGitHub Action2021-06-19 15:57:49 +0000
committerGitHub Action2021-06-19 15:57:49 +0000
commitd725ade3a8821e5c0a4b44b27fb4d88120307223 (patch)
tree2ca7f47ac60e84a13037e1e538e8981a59f09f63
parent68e7eb8223de9da105b6d6b1c2500e0a343c0ff6 (diff)
downloadaur-d725ade3a8821e5c0a4b44b27fb4d88120307223.tar.gz
Update from GitHub Actions: nodejs-git-split-diffs: update to 0.10.0-3
https://github.com/ouuan/AUR-packages/actions/runs/952739236
-rw-r--r--.SRCINFO5
-rw-r--r--PKGBUILD6
2 files changed, 6 insertions, 5 deletions
diff --git a/.SRCINFO b/.SRCINFO
index a3ec416dd46c..fea6647ebccd 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,12 +1,13 @@
pkgbase = nodejs-git-split-diffs
pkgdesc = GitHub style split diffs with syntax highlighting in your terminal.
pkgver = 0.10.0
- pkgrel = 2
+ pkgrel = 3
url = https://github.com/banga/git-split-diffs
- arch = x86_64
+ arch = any
license = MIT
makedepends = npm
depends = nodejs
+ provides = git-split-diffs
noextract = nodejs-git-split-diffs-0.10.0.tgz
source = https://registry.npmjs.org/git-split-diffs/-/git-split-diffs-0.10.0.tgz
sha256sums = 9ccb4b76633e33156cca6084a65dcf02c676ef15aadf5911739910e4a69214af
diff --git a/PKGBUILD b/PKGBUILD
index c191cb29043d..c0e6f7b1504f 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,13 +3,14 @@
_npmname=git-split-diffs
pkgname=nodejs-git-split-diffs
pkgver=0.10.0
-pkgrel=2
+pkgrel=3
pkgdesc='GitHub style split diffs with syntax highlighting in your terminal.'
-arch=('x86_64')
+arch=('any')
url='https://github.com/banga/git-split-diffs'
license=('MIT')
depends=('nodejs')
makedepends=('npm')
+provides=('git-split-diffs')
source=("https://registry.npmjs.org/$_npmname/-/$_npmname-$pkgver.tgz")
sha256sums=('9ccb4b76633e33156cca6084a65dcf02c676ef15aadf5911739910e4a69214af')
noextract=("${pkgname}-${pkgver}.tgz")
@@ -20,7 +21,6 @@ package() {
mkdir -p "$_npmdir"
cd "$_npmdir"
npm install -g --prefix "$pkgdir/usr" "$_npmname@$pkgver"
- find "$pkgdir"/usr -type d -exec chmod 755 {} +
install -Dm644 "$_npmdir/$_npmname/LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
chown -R root:root "${pkgdir}"
}