From cf7340ed3516e63922664d8244be6aa0dde24802 Mon Sep 17 00:00:00 2001 From: Knut Ahlers Date: Thu, 15 Apr 2021 00:19:23 +0200 Subject: [PATCH] Remove unused reference to /usr/bin Signed-off-by: Knut Ahlers --- .SRCINFO | 2 +- PKGBUILD | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.SRCINFO b/.SRCINFO index 7f40eba..8425b11 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -1,7 +1,7 @@ pkgbase = eslint-plugin-vue pkgdesc = ESLint Plugin for Vue.js pkgver = 7.9.0 - pkgrel = 2 + pkgrel = 3 url = https://github.com/vuejs/eslint-plugin-vue arch = any license = MIT diff --git a/PKGBUILD b/PKGBUILD index ccb8cd4..75e8573 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -3,7 +3,7 @@ pkgname=eslint-plugin-vue pkgver=7.9.0 -pkgrel=2 +pkgrel=3 pkgdesc='ESLint Plugin for Vue.js' arch=('any') url='https://github.com/vuejs/eslint-plugin-vue' @@ -22,8 +22,8 @@ package() { find "$pkgdir/usr" -type d -exec chmod 755 '{}' + # Remove files that conflict with `eslint`: - rm -rf "$pkgdir/usr/lib/node_modules/eslint/" - rm -rf "$pkgdir/usr/bin/eslint" + rm -rf "$pkgdir/usr/lib/node_modules/eslint" + rm -rf "$pkgdir/usr/bin" install -dm755 "${pkgdir}/usr/share/licenses/${pkgname}" ln -s ../../../lib/node_modules/$pkgname/LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"