Remove unused reference to /usr/bin

Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
Knut Ahlers 2021-04-15 00:19:23 +02:00
parent 444fa602ff
commit cf7340ed35
Signed by: luzifer
GPG key ID: 0066F03ED215AD7D
2 changed files with 4 additions and 4 deletions

View file

@ -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

View file

@ -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"