summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorObserverOfTime2021-01-16 16:05:51 +0200
committerObserverOfTime2021-01-16 16:05:51 +0200
commit23e1a3c278350555b9ecc88bf086ded1aa5fb919 (patch)
tree31fced4220bd832589ab1aa9f8e4b5f41b9462d8
parent9dc1d70b186686a101fb3289aaaeda818cb31abd (diff)
downloadaur-23e1a3c278350555b9ecc88bf086ded1aa5fb919.tar.gz
Fix license installation
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD4
2 files changed, 3 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index a355e61e164e..ed0b77c39d9b 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = yarn-completion-git
pkgdesc = Bash completion for Yarn
pkgver = v0.17.0.r0.g30262cf
- pkgrel = 3
+ pkgrel = 4
url = https://github.com/dsifford/yarn-completion
arch = any
license = MIT
diff --git a/PKGBUILD b/PKGBUILD
index 7c36b1ebc914..6a1df9991847 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
pkgname=yarn-completion-git
pkgver=v0.17.0.r0.g30262cf
-pkgrel=3
+pkgrel=4
pkgdesc='Bash completion for Yarn'
url='https://github.com/dsifford/yarn-completion'
arch=('any')
@@ -72,6 +72,6 @@ check() {
package() {
cd ${pkgname%-git}
- install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$_pkgname/LICENSE"
+ install -Dm644 LICENSE "$pkgdir/usr/share/licenses/${pkgname%-git}/LICENSE"
install -Dm644 "${pkgname%-git}.bash" "$pkgdir/usr/share/bash-completion/completions/yarn"
}