This commit is contained in:
Valeria Fadeeva 2023-05-02 10:56:37 +05:00
parent 22275c8190
commit 500542b5c5
4 changed files with 34 additions and 0 deletions

16
core/make.sh Executable file
View File

@ -0,0 +1,16 @@
#!/bin/bash
REPO="/disk/github/active/Melawy/melawy-repo/x86_64/"
echo -n $( dirname -- "$( readlink -f -- "$0" )" ) > pwd.txt
CWD=$(cat pwd.txt)
for package_dir in $(find . -mindepth 1 -maxdepth 1 -type d)
do
cd $CWD/$package_dir
makepkg --syncdeps --asdeps --needed --noconfirm --clean --cleanbuild --force
package_file=$(ls -1 | grep ".zst")
cp -v $CWD/$package_dir/$package_file $REPO/
cd $CWD
done

1
core/pwd.txt Normal file
View File

@ -0,0 +1 @@
/disk/github/active/Melawy/PKGBUILD/core

16
design/make.sh Executable file
View File

@ -0,0 +1,16 @@
#!/bin/bash
REPO="/disk/github/active/Melawy/melawy-repo/x86_64/"
echo -n $( dirname -- "$( readlink -f -- "$0" )" ) > pwd.txt
CWD=$(cat pwd.txt)
for package_dir in $(find . -mindepth 1 -maxdepth 1 -type d)
do
cd $CWD/$package_dir
makepkg --syncdeps --asdeps --needed --noconfirm --clean --cleanbuild --force
package_file=$(ls -1 | grep ".zst")
cp -v $CWD/$package_dir/$package_file $REPO/
cd $CWD
done

1
design/pwd.txt Normal file
View File

@ -0,0 +1 @@
/disk/github/active/Melawy/PKGBUILD/design