From 9d464716cbea117a01a5f50bbd9bc82d53eb1617 Mon Sep 17 00:00:00 2001 From: KunoiSayami Date: Fri, 22 Oct 2021 01:21:52 +0800 Subject: refactor: Move packages into repo folder Signed-off-by: KunoiSayami --- UNLICENSE | 24 ++++++++++++++++++++++++ build_all.sh | 4 ++-- packages/.gitignore | 1 - repo/packages/.gitignore | 1 + 4 files changed, 27 insertions(+), 3 deletions(-) create mode 100644 UNLICENSE delete mode 100644 packages/.gitignore create mode 100644 repo/packages/.gitignore diff --git a/UNLICENSE b/UNLICENSE new file mode 100644 index 0000000..3c577b0 --- /dev/null +++ b/UNLICENSE @@ -0,0 +1,24 @@ +This is free and unencumbered software released into the public domain. + +Anyone is free to copy, modify, publish, use, compile, sell, or +distribute this software, either in source code form or as a compiled +binary, for any purpose, commercial or non-commercial, and by any +means. + +In jurisdictions that recognize copyright laws, the author or authors +of this software dedicate any and all copyright interest in the +software to the public domain. We make this dedication for the benefit +of the public at large and to the detriment of our heirs and +successors. We intend this dedication to be an overt act of +relinquishment in perpetuity of all present and future rights to this +software under copyright law. + +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 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. + +For more information, please refer to \ No newline at end of file diff --git a/build_all.sh b/build_all.sh index f27e508..bb9444e 100755 --- a/build_all.sh +++ b/build_all.sh @@ -1,11 +1,11 @@ #!/bin/bash -PKGDEST="${PWD}/packages" +PKGDEST="${PWD}/repo/packages" SRCDEST="${PWD}/build" pushd kunoisayami for folder in */ ; do PACKAGE_NAME=$(printf $folder | sed 's/.$//') pushd "$folder" - pervpkg=$(ls "../../packages/$PACKAGE_NAME"*) + pervpkg=$(ls "../../repo/packages/$PACKAGE_NAME"*) SRCPKGDEST=$SRCDEST SRCDEST=$SRCDEST PKGDEST=$PKGDEST makepkg --clean if [ $? != 13 ] && [ -z "$pervpkg" ]; then rm $pervpkg diff --git a/packages/.gitignore b/packages/.gitignore deleted file mode 100644 index 52726cb..0000000 --- a/packages/.gitignore +++ /dev/null @@ -1 +0,0 @@ -*.pkg* diff --git a/repo/packages/.gitignore b/repo/packages/.gitignore new file mode 100644 index 0000000..52726cb --- /dev/null +++ b/repo/packages/.gitignore @@ -0,0 +1 @@ +*.pkg* -- cgit v1.3.1