diff options
author | Silvio Ankermann | 2017-11-20 11:18:13 +0100 |
---|---|---|
committer | Silvio Ankermann | 2017-11-20 11:18:54 +0100 |
commit | 5d0857b65a2a3d3f53bba8ce0d5539298b4c75a4 (patch) | |
tree | 2887292262912fd2a2eae6b3322485e64835ca78 /PKGBUILD | |
parent | b8f97e73cb2b8b8fe764c202a200cf083f83a009 (diff) | |
download | aur-git-annex-zshcompletion-git.tar.gz |
Add license
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 10 |
1 files changed, 7 insertions, 3 deletions
@@ -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/" |