mirror of
https://github.com/luzifer-aur/eslint-plugin-vue.git
synced 2024-11-12 15:22:41 +00:00
Remove unused reference to /usr/bin
Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
parent
444fa602ff
commit
cf7340ed35
2 changed files with 4 additions and 4 deletions
2
.SRCINFO
2
.SRCINFO
|
@ -1,7 +1,7 @@
|
||||||
pkgbase = eslint-plugin-vue
|
pkgbase = eslint-plugin-vue
|
||||||
pkgdesc = ESLint Plugin for Vue.js
|
pkgdesc = ESLint Plugin for Vue.js
|
||||||
pkgver = 7.9.0
|
pkgver = 7.9.0
|
||||||
pkgrel = 2
|
pkgrel = 3
|
||||||
url = https://github.com/vuejs/eslint-plugin-vue
|
url = https://github.com/vuejs/eslint-plugin-vue
|
||||||
arch = any
|
arch = any
|
||||||
license = MIT
|
license = MIT
|
||||||
|
|
6
PKGBUILD
6
PKGBUILD
|
@ -3,7 +3,7 @@
|
||||||
|
|
||||||
pkgname=eslint-plugin-vue
|
pkgname=eslint-plugin-vue
|
||||||
pkgver=7.9.0
|
pkgver=7.9.0
|
||||||
pkgrel=2
|
pkgrel=3
|
||||||
pkgdesc='ESLint Plugin for Vue.js'
|
pkgdesc='ESLint Plugin for Vue.js'
|
||||||
arch=('any')
|
arch=('any')
|
||||||
url='https://github.com/vuejs/eslint-plugin-vue'
|
url='https://github.com/vuejs/eslint-plugin-vue'
|
||||||
|
@ -22,8 +22,8 @@ package() {
|
||||||
find "$pkgdir/usr" -type d -exec chmod 755 '{}' +
|
find "$pkgdir/usr" -type d -exec chmod 755 '{}' +
|
||||||
|
|
||||||
# Remove files that conflict with `eslint`:
|
# Remove files that conflict with `eslint`:
|
||||||
rm -rf "$pkgdir/usr/lib/node_modules/eslint/"
|
rm -rf "$pkgdir/usr/lib/node_modules/eslint"
|
||||||
rm -rf "$pkgdir/usr/bin/eslint"
|
rm -rf "$pkgdir/usr/bin"
|
||||||
|
|
||||||
install -dm755 "${pkgdir}/usr/share/licenses/${pkgname}"
|
install -dm755 "${pkgdir}/usr/share/licenses/${pkgname}"
|
||||||
ln -s ../../../lib/node_modules/$pkgname/LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
|
ln -s ../../../lib/node_modules/$pkgname/LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
|
||||||
|
|
Loading…
Reference in a new issue