summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD10
1 files changed, 7 insertions, 3 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 64e409628bd..64a8ae27db0 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,13 +2,15 @@
pkgname=git-annex-zshcompletion-git
pkgver=r59.e87e7db
-pkgrel=1
+pkgrel=2
pkgdesc="ZSH completion support for git-annex."
arch=('any')
+license=('custom:WTFPL')
url='https://github.com/Schnouki/git-annex-zsh-completion'
depends=('zsh' 'git' 'git-annex' 'python>=3.2')
-source=("$pkgname::git+https://github.com/Schnouki/git-annex-zsh-completion")
-sha512sums=('SKIP')
+source=("$pkgname::git+https://github.com/Schnouki/git-annex-zsh-completion" LICENSE)
+sha512sums=('SKIP'
+ '1b4064171fa88f41d05e3d1d1c14ceb8a5cb4cca9e6f08f7e267d7740b7d65e4765cb56f0ccf3765ee9c85654559d2d7726d71516b890b0174b68e6cc62ef421')
pkgver() {
cd "$pkgname"
@@ -16,6 +18,8 @@ pkgver() {
}
package() {
+ install -Dm 644 "LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+
cd "$srcdir/$pkgname"
install -d "${pkgdir}/usr/share/zsh/site-functions"
install -m 0644 "_git-annex" "$pkgdir/usr/share/zsh/site-functions/"