Update
This commit is contained in:
parent
a6620a302f
commit
583f01c43e
|
|
@ -0,0 +1,38 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
REPO="/data/github/active/Melawy/REPO/melawy-3party/x86_64/"
|
||||||
|
|
||||||
|
echo -n $( dirname -- "$( readlink -f -- "$0" )" ) > pwd.txt
|
||||||
|
|
||||||
|
CWD=$(cat pwd.txt)
|
||||||
|
|
||||||
|
dir_list=$(find . -mindepth 2 -maxdepth 4 -name "PKGBUILD" -type f)
|
||||||
|
|
||||||
|
for i in ${dir_list[@]}
|
||||||
|
do
|
||||||
|
path="$(dirname $i)"
|
||||||
|
full_path="$CWD/$path"
|
||||||
|
|
||||||
|
echo "$full_path"
|
||||||
|
cd "$full_path"
|
||||||
|
|
||||||
|
git_dir="$(find . -mindepth 1 -maxdepth 1 -name "$(basename $full_path)" -type d)"
|
||||||
|
if [ -n "$git_dir" ] && [ -d "$git_dir" ]; then
|
||||||
|
echo "rm -rf $git_dir"
|
||||||
|
rm -rf "$git_dir"
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [ -d "$full_path/src" ]; then
|
||||||
|
rm -rf "$full_path/src"
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [ -d "$full_path/pkg" ]; then
|
||||||
|
rm -rf "$full_path/pkg"
|
||||||
|
fi
|
||||||
|
|
||||||
|
cd "$CWD"
|
||||||
|
done
|
||||||
|
|
||||||
|
notify-send -a "$(basename $(pwd)): Make and Move to" -t 10000 "$REPO" "$(date '+%Y.%m.%d %H:%M:%S')"
|
||||||
|
|
||||||
|
echo "Ready"
|
||||||
|
|
@ -0,0 +1,89 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
REPO="/data/github/active/Melawy/REPO/melawy-3party/x86_64/"
|
||||||
|
|
||||||
|
echo -n $( dirname -- "$( readlink -f -- "$0" )" ) > pwd.txt
|
||||||
|
|
||||||
|
CWD=$(cat pwd.txt)
|
||||||
|
|
||||||
|
dir_list=$(find . -mindepth 2 -maxdepth 4 -name "PKGBUILD" -type f)
|
||||||
|
|
||||||
|
for i in ${dir_list[@]}
|
||||||
|
do
|
||||||
|
path="$(dirname $i)"
|
||||||
|
full_path="$CWD/$path"
|
||||||
|
|
||||||
|
echo "$full_path"
|
||||||
|
cd "$full_path"
|
||||||
|
|
||||||
|
git_dir="$(find . -mindepth 1 -maxdepth 1 -name "$(basename $full_path)" -type d)"
|
||||||
|
if [ -n "$git_dir" ] && [ -d "$git_dir" ]; then
|
||||||
|
echo "rm -rf $git_dir"
|
||||||
|
rm -rf "$git_dir"
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [ -d "$full_path/src" ]; then
|
||||||
|
rm -rf "$full_path/src"
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [ -d "$full_path/pkg" ]; then
|
||||||
|
rm -rf "$full_path/pkg"
|
||||||
|
fi
|
||||||
|
|
||||||
|
make_file=$(find . -mindepth 1 -maxdepth 1 -name "*make*\.sh" -type f)
|
||||||
|
if [ -f "$make_file" ]; then
|
||||||
|
echo "bash $make_file"
|
||||||
|
bash "$make_file"
|
||||||
|
else
|
||||||
|
makepkg --syncdeps --asdeps --needed --noconfirm --clean --cleanbuild --force
|
||||||
|
|
||||||
|
for i in *.pkg.tar.xz;
|
||||||
|
do
|
||||||
|
if [ -f "${i}" ]; then
|
||||||
|
if [ -f "$i.sig" ]; then
|
||||||
|
echo "Удаление подписи $i.sig"
|
||||||
|
rm -f $i.sig
|
||||||
|
fi
|
||||||
|
echo "Добавление подписи $i.sig"
|
||||||
|
gpg --detach-sign --local-user BC8B600E8DDA1F4CB77B10D2BA803A261A5EE6B8 --output "$i.sig" "$i"
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
fi
|
||||||
|
unset make_file
|
||||||
|
|
||||||
|
pkg_file=$(find . -mindepth 1 -maxdepth 1 -name "*.pkg.tar.*" -type f)
|
||||||
|
sig_file="${pkg_file}.sig"
|
||||||
|
|
||||||
|
if [ ! -f "$sig_file" ]; then
|
||||||
|
for i in *.pkg.tar.xz
|
||||||
|
do
|
||||||
|
if [ -f "${i}" ]; then
|
||||||
|
if [ -f "$i.sig" ]; then
|
||||||
|
echo "Удаление подписи $i.sig"
|
||||||
|
rm -f $i.sig
|
||||||
|
fi
|
||||||
|
echo "Добавление подписи $i.sig"
|
||||||
|
gpg --detach-sign --local-user BC8B600E8DDA1F4CB77B10D2BA803A261A5EE6B8 --output "$i.sig" "$i"
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [ -n "$git_dir" ] && [ -d "$git_dir" ]; then
|
||||||
|
echo "rm -rf $git_dir"
|
||||||
|
rm -rf "$git_dir"
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [ -d "$full_path/src" ]; then
|
||||||
|
rm -rf "$full_path/src"
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [ -d "$full_path/pkg" ]; then
|
||||||
|
rm -rf "$full_path/pkg"
|
||||||
|
fi
|
||||||
|
|
||||||
|
cd "$CWD"
|
||||||
|
done
|
||||||
|
|
||||||
|
notify-send -a "$(basename $(pwd)): Make and Move to" -t 10000 "$REPO" "$(date '+%Y.%m.%d %H:%M:%S')"
|
||||||
|
|
||||||
|
echo "Ready"
|
||||||
|
|
@ -0,0 +1,14 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
REPO="/data/github/active/Melawy/REPO/melawy-3party/x86_64/"
|
||||||
|
|
||||||
|
find . -mindepth 1 -maxdepth 3 -type f -name "*.pkg.tar.xz" -exec mv -v {} $REPO \;
|
||||||
|
find . -mindepth 1 -maxdepth 3 -type f -name "*.sig" -exec mv -v {} $REPO \;
|
||||||
|
|
||||||
|
find . -mindepth 1 -maxdepth 3 -type f -name "*.pkg.tar.xz" -delete
|
||||||
|
find . -mindepth 1 -maxdepth 3 -type f -name "*.pkg.tar.zst" -delete
|
||||||
|
find . -mindepth 1 -maxdepth 3 -type f -name "*.sig" -delete
|
||||||
|
|
||||||
|
echo "Ready"
|
||||||
|
sleep 5
|
||||||
|
kill $(ps x | grep konsole | grep $0 | awk '{print $1}')
|
||||||
|
|
@ -0,0 +1 @@
|
||||||
|
Subproject commit d1c4cc3366706e1e28b9a056d368d65c34534759
|
||||||
|
|
@ -0,0 +1 @@
|
||||||
|
Subproject commit a08473d3ee2a9a4fe0ac45dab6b78c4afafb6a55
|
||||||
|
|
@ -0,0 +1 @@
|
||||||
|
Subproject commit e153426ccb8206f4a65373b11dd40ed3a7bba41e
|
||||||
|
|
@ -0,0 +1 @@
|
||||||
|
Subproject commit aab250f513ab024d4d535a34959f37b425a212dc
|
||||||
|
|
@ -0,0 +1 @@
|
||||||
|
Subproject commit e6565e36a41710bca8fb536f041d274cf4ce2d94
|
||||||
|
|
@ -0,0 +1 @@
|
||||||
|
Subproject commit 41edc14c995eb499caa8c224052ab832fa596946
|
||||||
|
|
@ -0,0 +1 @@
|
||||||
|
Subproject commit 12efbdc4f9372c92fe39b9d56f6a5c88ddd31872
|
||||||
|
|
@ -0,0 +1 @@
|
||||||
|
Subproject commit a89b3266d20cc438851e8c6503f2222ad0cf0d45
|
||||||
|
|
@ -0,0 +1 @@
|
||||||
|
Subproject commit 7a2851d70445038a7259db8609080a97bf798b0d
|
||||||
|
|
@ -0,0 +1 @@
|
||||||
|
Subproject commit 358b8851759603ac465e3ed90c2f8d0f7c0021aa
|
||||||
|
|
@ -0,0 +1 @@
|
||||||
|
Subproject commit 0c765bdc1981d1ff755a9bada990712978afdd1b
|
||||||
|
|
@ -0,0 +1 @@
|
||||||
|
Subproject commit b7e5b95e533462701516ea592ec86da099f7f349
|
||||||
|
|
@ -0,0 +1 @@
|
||||||
|
Subproject commit dea74fb5b2a9850c8a35dad830b149575ade6daa
|
||||||
|
|
@ -0,0 +1,38 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
REPO="/data/github/active/Melawy/REPO/melawy-3party/x86_64/"
|
||||||
|
|
||||||
|
echo -n $( dirname -- "$( readlink -f -- "$0" )" ) > pwd.txt
|
||||||
|
|
||||||
|
CWD=$(cat pwd.txt)
|
||||||
|
|
||||||
|
dir_list=$(find . -mindepth 2 -maxdepth 4 -name "PKGBUILD" -type f)
|
||||||
|
|
||||||
|
for i in ${dir_list[@]}
|
||||||
|
do
|
||||||
|
path="$(dirname $i)"
|
||||||
|
full_path="$CWD/$path"
|
||||||
|
|
||||||
|
echo "$full_path"
|
||||||
|
cd "$full_path"
|
||||||
|
|
||||||
|
git_dir="$(find . -mindepth 1 -maxdepth 1 -name "$(basename $full_path)" -type d)"
|
||||||
|
if [ -n "$git_dir" ] && [ -d "$git_dir" ]; then
|
||||||
|
echo "rm -rf $git_dir"
|
||||||
|
rm -rf "$git_dir"
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [ -d "$full_path/src" ]; then
|
||||||
|
rm -rf "$full_path/src"
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [ -d "$full_path/pkg" ]; then
|
||||||
|
rm -rf "$full_path/pkg"
|
||||||
|
fi
|
||||||
|
|
||||||
|
cd "$CWD"
|
||||||
|
done
|
||||||
|
|
||||||
|
notify-send -a "$(basename $(pwd)): Make and Move to" -t 10000 "$REPO" "$(date '+%Y.%m.%d %H:%M:%S')"
|
||||||
|
|
||||||
|
echo "Ready"
|
||||||
|
|
@ -0,0 +1 @@
|
||||||
|
Subproject commit 62aa64569cd681ebdf67d47c5ecd1501ace13f99
|
||||||
|
|
@ -0,0 +1,89 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
REPO="/data/github/active/Melawy/REPO/melawy-3party/x86_64/"
|
||||||
|
|
||||||
|
echo -n $( dirname -- "$( readlink -f -- "$0" )" ) > pwd.txt
|
||||||
|
|
||||||
|
CWD=$(cat pwd.txt)
|
||||||
|
|
||||||
|
dir_list=$(find . -mindepth 2 -maxdepth 4 -name "PKGBUILD" -type f)
|
||||||
|
|
||||||
|
for i in ${dir_list[@]}
|
||||||
|
do
|
||||||
|
path="$(dirname $i)"
|
||||||
|
full_path="$CWD/$path"
|
||||||
|
|
||||||
|
echo "$full_path"
|
||||||
|
cd "$full_path"
|
||||||
|
|
||||||
|
git_dir="$(find . -mindepth 1 -maxdepth 1 -name "$(basename $full_path)" -type d)"
|
||||||
|
if [ -n "$git_dir" ] && [ -d "$git_dir" ]; then
|
||||||
|
echo "rm -rf $git_dir"
|
||||||
|
rm -rf "$git_dir"
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [ -d "$full_path/src" ]; then
|
||||||
|
rm -rf "$full_path/src"
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [ -d "$full_path/pkg" ]; then
|
||||||
|
rm -rf "$full_path/pkg"
|
||||||
|
fi
|
||||||
|
|
||||||
|
make_file=$(find . -mindepth 1 -maxdepth 1 -name "*make*\.sh" -type f)
|
||||||
|
if [ -f "$make_file" ]; then
|
||||||
|
echo "bash $make_file"
|
||||||
|
bash "$make_file"
|
||||||
|
else
|
||||||
|
makepkg --syncdeps --asdeps --needed --noconfirm --clean --cleanbuild --force
|
||||||
|
|
||||||
|
for i in *.pkg.tar.xz;
|
||||||
|
do
|
||||||
|
if [ -f "${i}" ]; then
|
||||||
|
if [ -f "$i.sig" ]; then
|
||||||
|
echo "Удаление подписи $i.sig"
|
||||||
|
rm -f $i.sig
|
||||||
|
fi
|
||||||
|
echo "Добавление подписи $i.sig"
|
||||||
|
gpg --detach-sign --local-user BC8B600E8DDA1F4CB77B10D2BA803A261A5EE6B8 --output "$i.sig" "$i"
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
fi
|
||||||
|
unset make_file
|
||||||
|
|
||||||
|
pkg_file=$(find . -mindepth 1 -maxdepth 1 -name "*.pkg.tar.*" -type f)
|
||||||
|
sig_file="${pkg_file}.sig"
|
||||||
|
|
||||||
|
if [ ! -f "$sig_file" ]; then
|
||||||
|
for i in *.pkg.tar.xz
|
||||||
|
do
|
||||||
|
if [ -f "${i}" ]; then
|
||||||
|
if [ -f "$i.sig" ]; then
|
||||||
|
echo "Удаление подписи $i.sig"
|
||||||
|
rm -f $i.sig
|
||||||
|
fi
|
||||||
|
echo "Добавление подписи $i.sig"
|
||||||
|
gpg --detach-sign --local-user BC8B600E8DDA1F4CB77B10D2BA803A261A5EE6B8 --output "$i.sig" "$i"
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [ -n "$git_dir" ] && [ -d "$git_dir" ]; then
|
||||||
|
echo "rm -rf $git_dir"
|
||||||
|
rm -rf "$git_dir"
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [ -d "$full_path/src" ]; then
|
||||||
|
rm -rf "$full_path/src"
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [ -d "$full_path/pkg" ]; then
|
||||||
|
rm -rf "$full_path/pkg"
|
||||||
|
fi
|
||||||
|
|
||||||
|
cd "$CWD"
|
||||||
|
done
|
||||||
|
|
||||||
|
notify-send -a "$(basename $(pwd)): Make and Move to" -t 10000 "$REPO" "$(date '+%Y.%m.%d %H:%M:%S')"
|
||||||
|
|
||||||
|
echo "Ready"
|
||||||
|
|
@ -0,0 +1,14 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
REPO="/data/github/active/Melawy/REPO/melawy-3party/x86_64/"
|
||||||
|
|
||||||
|
find . -mindepth 1 -maxdepth 3 -type f -name "*.pkg.tar.xz" -exec mv -v {} $REPO \;
|
||||||
|
find . -mindepth 1 -maxdepth 3 -type f -name "*.sig" -exec mv -v {} $REPO \;
|
||||||
|
|
||||||
|
find . -mindepth 1 -maxdepth 3 -type f -name "*.pkg.tar.xz" -delete
|
||||||
|
find . -mindepth 1 -maxdepth 3 -type f -name "*.pkg.tar.zst" -delete
|
||||||
|
find . -mindepth 1 -maxdepth 3 -type f -name "*.sig" -delete
|
||||||
|
|
||||||
|
echo "Ready"
|
||||||
|
sleep 5
|
||||||
|
kill $(ps x | grep konsole | grep $0 | awk '{print $1}')
|
||||||
|
|
@ -0,0 +1 @@
|
||||||
|
Subproject commit 50c577f7aa554dfdad963b4b52e2b796915721f5
|
||||||
|
|
@ -0,0 +1 @@
|
||||||
|
Subproject commit 8941169305e87e154cdde88e278ec3db2f75ec1b
|
||||||
|
|
@ -0,0 +1 @@
|
||||||
|
Subproject commit 0e9d8b94c03c11fae0a063ec547d0e147e815470
|
||||||
|
|
@ -0,0 +1 @@
|
||||||
|
/data/github/active/Melawy/PKGBUILD/3PARTY/catppuccin
|
||||||
|
|
@ -0,0 +1 @@
|
||||||
|
Subproject commit da7c2914ba0df24a64d2bc5d5b2dff875f8a3ed1
|
||||||
|
|
@ -0,0 +1 @@
|
||||||
|
Subproject commit e51c063eafe5a39ef09bc653133089968e10ef90
|
||||||
|
|
@ -1,2 +0,0 @@
|
||||||
1ff6c66ab438fe1df097ab2705033ddb4fe373aa not-for-merge branch 'develop' of https://github.com/cachyos/sysctl-manager
|
|
||||||
3bd74be07bbbfc38e8683f8a6bace4e30dd9a57c not-for-merge tag 'v1.0.0' of https://github.com/cachyos/sysctl-manager
|
|
||||||
|
|
@ -1 +0,0 @@
|
||||||
ref: refs/heads/develop
|
|
||||||
|
|
@ -1,8 +0,0 @@
|
||||||
[core]
|
|
||||||
repositoryformatversion = 0
|
|
||||||
filemode = true
|
|
||||||
bare = true
|
|
||||||
[remote "origin"]
|
|
||||||
url = https://github.com/cachyos/sysctl-manager.git
|
|
||||||
fetch = +refs/*:refs/*
|
|
||||||
mirror = true
|
|
||||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
|
@ -1,3 +0,0 @@
|
||||||
# pack-refs with: peeled fully-peeled sorted
|
|
||||||
1ff6c66ab438fe1df097ab2705033ddb4fe373aa refs/heads/develop
|
|
||||||
3bd74be07bbbfc38e8683f8a6bace4e30dd9a57c refs/tags/v1.0.0
|
|
||||||
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue