summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorRamle2020-09-22 11:29:17 +0200
committerRamle2020-09-22 11:29:17 +0200
commit217ac9e4422bb38d4a3d833e5859396b440df31c (patch)
tree59099ee86f7a3b34d6011a9d3fd524e5ebbc3093
parent76a31f964eb1ff6dfc41a4064741acfb62e21d65 (diff)
downloadaur-passmenu-otp-git.tar.gz
Add license file
-rw-r--r--LICENSE10
-rw-r--r--PKGBUILD1
2 files changed, 11 insertions, 0 deletions
diff --git a/LICENSE b/LICENSE
new file mode 100644
index 00000000000..33cfebc1180
--- /dev/null
+++ b/LICENSE
@@ -0,0 +1,10 @@
+The MIT License (MIT)
+
+Copyright © 2020 <copyright holders>
+
+Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+
diff --git a/PKGBUILD b/PKGBUILD
index 4c0f7ec45f3..a2b975c9f72 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -19,6 +19,7 @@ source=("git+https://github.com/petrmanek/$_pkgname.git")
sha256sums=('SKIP')
package() {
+ install -Dm644 ../LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
cd "$_pkgname"
install -m 755 -D "$_pkgname" "$pkgdir/usr/bin/${_pkgname}"
}