summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorSilvio Ankermann2017-11-20 11:18:13 +0100
committerSilvio Ankermann2017-11-20 11:18:54 +0100
commit5d0857b65a2a3d3f53bba8ce0d5539298b4c75a4 (patch)
tree2887292262912fd2a2eae6b3322485e64835ca78
parentb8f97e73cb2b8b8fe764c202a200cf083f83a009 (diff)
downloadaur-5d0857b65a2a3d3f53bba8ce0d5539298b4c75a4.tar.gz
Add license
-rw-r--r--.SRCINFO7
-rw-r--r--LICENSE14
-rw-r--r--PKGBUILD10
3 files changed, 26 insertions, 5 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 06ca2fcdaa4..66872d04a06 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,17 +1,20 @@
# Generated by mksrcinfo v8
-# Thu Nov 9 02:02:13 UTC 2017
+# Mon Nov 20 10:14:21 UTC 2017
pkgbase = git-annex-zshcompletion-git
pkgdesc = ZSH completion support for git-annex.
pkgver = r59.e87e7db
- pkgrel = 1
+ pkgrel = 2
url = https://github.com/Schnouki/git-annex-zsh-completion
arch = any
+ license = custom:WTFPL
depends = zsh
depends = git
depends = git-annex
depends = python>=3.2
source = git-annex-zshcompletion-git::git+https://github.com/Schnouki/git-annex-zsh-completion
+ source = LICENSE
sha512sums = SKIP
+ sha512sums = 1b4064171fa88f41d05e3d1d1c14ceb8a5cb4cca9e6f08f7e267d7740b7d65e4765cb56f0ccf3765ee9c85654559d2d7726d71516b890b0174b68e6cc62ef421
pkgname = git-annex-zshcompletion-git
diff --git a/LICENSE b/LICENSE
new file mode 100644
index 00000000000..ee7d6a54e91
--- /dev/null
+++ b/LICENSE
@@ -0,0 +1,14 @@
+ DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
+ Version 2, December 2004
+
+ Copyright (C) 2004 Sam Hocevar <sam@hocevar.net>
+
+ Everyone is permitted to copy and distribute verbatim or modified
+ copies of this license document, and changing it is allowed as long
+ as the name is changed.
+
+ DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
+ TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
+
+ 0. You just DO WHAT THE FUCK YOU WANT TO.
+
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/"