diff options
author | Lancia | 2022-10-28 11:23:31 +0330 |
---|---|---|
committer | Lancia | 2022-10-28 11:23:31 +0330 |
commit | a58682a0a1f29f72d927b63763847e74c733c6cf (patch) | |
tree | 6d5b07f9edb7fb956887a75763fb9477b9b4fe36 | |
parent | d4cb1ad1164e73a4ccee0b90c95dd3eced08f9da (diff) | |
download | aur-a58682a0a1f29f72d927b63763847e74c733c6cf.tar.gz |
Better way of generating the LICENSE file
-rw-r--r-- | PKGBUILD | 16 |
1 files changed, 1 insertions, 15 deletions
@@ -12,21 +12,7 @@ sha256sums=('cba655d3cd6e779d73da28cf41729d94bcf5fc6968af0dd922fa6189099e58e9') prepare() { cd "$pkgname-$pkgver" - cat <<EOF > LICENSE -Copyright (c) 2008, 2009, 2010 Dmitry Alenichev <mitya@sdf.lonestar.org> - -Permission to use, copy, modify, and distribute this software for any -purpose with or without fee is hereby granted, provided that the above -copyright notice and this permission notice appear in all copies. - -THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES -WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF -MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR -ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES -WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN -ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF -OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. -EOF + awk '/Copyright \(c\).*Dmitry Alenichev/,/THIS SOFTWARE\./' xkblayout.c | sed 's/^[ *]\+//' > LICENSE } build() { |