commit ae38e90a7370f300fe8a63a742d2b3ddac70e11c Author: Valeria Fadeeva Date: Tue Oct 17 21:28:09 2023 +0500 cleanup diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..9881fec --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +*.tar.* diff --git a/3party/make.sh b/3party/make.sh new file mode 100755 index 0000000..165b014 --- /dev/null +++ b/3party/make.sh @@ -0,0 +1,60 @@ +#!/bin/bash + +REPO="/data/github/active/Melawy/REPO/melawy-3party/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 + + for i in *.pkg.tar.zst; + do + if [ -f "${i}" ]; then + echo "Удаление подписи $i.sig" + rm -f $i.sig + echo "Добавление подписи $i.sig" + gpg --detach-sign --local-user BC8B600E8DDA1F4CB77B10D2BA803A261A5EE6B8 --output "$i.sig" "$i" + fi + done + + for i in *.pkg.tar.xz; + do + if [ -f "${i}" ]; then + echo "Удаление подписи $i.sig" + rm -f $i.sig + echo "Добавление подписи $i.sig" + gpg --detach-sign --local-user BC8B600E8DDA1F4CB77B10D2BA803A261A5EE6B8 --output "$i.sig" "$i" + fi + done + + package_file=$(ls -1 | grep -v "pkg.tar.zst.sig" | grep "pkg.tar.zst") + if [ -f "$CWD/$package_dir/$package_file" ]; then + mv -v $CWD/$package_dir/$package_file $REPO/ + fi + + package_file=$(ls -1 | grep -v "pkg.tar.xz.sig" | grep "pkg.tar.xz") + if [ -f "$CWD/$package_dir/$package_file" ]; then + mv -v $CWD/$package_dir/$package_file $REPO/ + fi + + package_file=$(ls -1 | grep "pkg.tar.xz.sig") + if [ -f "$CWD/$package_dir/$package_file" ]; then + + mv -v $CWD/$package_dir/$package_file $REPO/ + fi + + package_file=$(ls -1 | grep "pkg.tar.zst.sig") + if [ -f "$CWD/$package_dir/$package_file" ]; then + + mv -v $CWD/$package_dir/$package_file $REPO/ + fi + + cd $CWD +done + +echo "melawy" | beep -f 200 -l 250 -d 100 -r 1 -n -s +notify-send -a "$(basename $(pwd)): Make and Move to" -t 999999999 "$REPO" "$(date '+%Y.%m.%d %H:%M:%S')" diff --git a/3party/paru-bin/.SRCINFO b/3party/paru-bin/.SRCINFO new file mode 100644 index 0000000..11c32f8 --- /dev/null +++ b/3party/paru-bin/.SRCINFO @@ -0,0 +1,25 @@ +pkgbase = paru-bin + pkgdesc = Feature packed AUR helper + pkgver = 1.11.2 + pkgrel = 1 + url = https://github.com/morganamilo/paru + arch = x86_64 + arch = aarch64 + arch = armv7h + license = GPL3 + depends = git + depends = pacman + optdepends = asp: downloading repo pkgbuilds + optdepends = bat: colored pkgbuild printing + optdepends = devtools: build in chroot + provides = paru + conflicts = paru + backup = etc/paru.conf + source_x86_64 = https://github.com/Morganamilo/paru/releases/download/v1.11.2/paru-v1.11.2-x86_64.tar.zst + sha256sums_x86_64 = 8cb2faa8098f259c5faffe2c3e94cdc4f0d4dc1a59921b818f1ec0fc50deb278 + source_aarch64 = https://github.com/Morganamilo/paru/releases/download/v1.11.2/paru-v1.11.2-aarch64.tar.zst + sha256sums_aarch64 = ff9272600e5e0b4e380ced5376a2c2ee480f34e84456235dec785c63378ec804 + source_armv7h = https://github.com/Morganamilo/paru/releases/download/v1.11.2/paru-v1.11.2-armv7h.tar.zst + sha256sums_armv7h = c73b0f4dcba0dd45c222c6a00a923c7811be29a1ff1ab8972bac2c0b569e5968 + +pkgname = paru-bin diff --git a/3party/paru-bin/.gitignore b/3party/paru-bin/.gitignore new file mode 100644 index 0000000..d9061c4 --- /dev/null +++ b/3party/paru-bin/.gitignore @@ -0,0 +1,4 @@ +*.tar.* +pkg/ +src/ +/paru diff --git a/3party/paru-bin/00_make.sh b/3party/paru-bin/00_make.sh new file mode 100755 index 0000000..02a0d1e --- /dev/null +++ b/3party/paru-bin/00_make.sh @@ -0,0 +1,27 @@ +#!/bin/bash + +makepkg --syncdeps --asdeps --needed --noconfirm --clean --cleanbuild --force + +for i in *.pkg.tar.zst; +do + if [ -f "${i}" ]; then + echo "Удаление подписи $i.sig" + rm -f $i.sig + echo "Добавление подписи $i.sig" + gpg --detach-sign --local-user BC8B600E8DDA1F4CB77B10D2BA803A261A5EE6B8 --output "$i.sig" "$i" + fi +done + +for i in *.pkg.tar.xz; +do + if [ -f "${i}" ]; then + echo "Удаление подписи $i.sig" + rm -f $i.sig + echo "Добавление подписи $i.sig" + gpg --detach-sign --local-user BC8B600E8DDA1F4CB77B10D2BA803A261A5EE6B8 --output "$i.sig" "$i" + fi +done + + +echo "melawy" | beep -f 200 -l 250 -d 100 -r 1 -n -s +notify-send -a "$(basename $(pwd)): Make" -t 999999999 "Make finished" "$(date '+%Y.%m.%d %H:%M:%S')" diff --git a/3party/paru-bin/01_sign.sh b/3party/paru-bin/01_sign.sh new file mode 100755 index 0000000..77055f1 --- /dev/null +++ b/3party/paru-bin/01_sign.sh @@ -0,0 +1,21 @@ +#!/bin/bash + +for i in *.pkg.tar.zst; +do + if [ -f "${i}" ]; then + echo "Удаление подписи $i.sig" + rm -f $i.sig + echo "Добавление подписи $i.sig" + gpg --detach-sign --local-user BC8B600E8DDA1F4CB77B10D2BA803A261A5EE6B8 --output "$i.sig" "$i" + fi +done + +for i in *.pkg.tar.xz; +do + if [ -f "${i}" ]; then + echo "Удаление подписи $i.sig" + rm -f $i.sig + echo "Добавление подписи $i.sig" + gpg --detach-sign --local-user BC8B600E8DDA1F4CB77B10D2BA803A261A5EE6B8 --output "$i.sig" "$i" + fi +done diff --git a/3party/paru-bin/PKGBUILD b/3party/paru-bin/PKGBUILD new file mode 100644 index 0000000..de018f9 --- /dev/null +++ b/3party/paru-bin/PKGBUILD @@ -0,0 +1,36 @@ +# Maintainer: Morgan + +pkgname=paru-bin +pkgver=1.11.2 +pkgrel=1 +pkgdesc='Feature packed AUR helper' +url='https://github.com/morganamilo/paru' +source_x86_64=("https://github.com/Morganamilo/paru/releases/download/v$pkgver/paru-v$pkgver-x86_64.tar.zst") +source_aarch64=("https://github.com/Morganamilo/paru/releases/download/v$pkgver/paru-v$pkgver-aarch64.tar.zst") +source_armv7h=("https://github.com/Morganamilo/paru/releases/download/v$pkgver/paru-v$pkgver-armv7h.tar.zst") +backup=("etc/paru.conf") +arch=('x86_64' 'aarch64' 'armv7h') +license=('GPL3') +depends=('git' 'pacman') +optdepends=('asp: downloading repo pkgbuilds' 'bat: colored pkgbuild printing' 'devtools: build in chroot') +conflicts=('paru') +provides=('paru') +sha256sums_x86_64=('8cb2faa8098f259c5faffe2c3e94cdc4f0d4dc1a59921b818f1ec0fc50deb278') +sha256sums_aarch64=('ff9272600e5e0b4e380ced5376a2c2ee480f34e84456235dec785c63378ec804') +sha256sums_armv7h=('c73b0f4dcba0dd45c222c6a00a923c7811be29a1ff1ab8972bac2c0b569e5968') + +package() { + cd "$srcdir/" + + install -Dm755 paru "${pkgdir}/usr/bin/paru" + install -Dm644 paru.conf "${pkgdir}/etc/paru.conf" + + install -Dm644 man/paru.8 "$pkgdir/usr/share/man/man8/paru.8" + install -Dm644 man/paru.conf.5 "$pkgdir/usr/share/man/man5/paru.conf.5" + + install -Dm644 completions/bash "${pkgdir}/usr/share/bash-completion/completions/paru.bash" + install -Dm644 completions/fish "${pkgdir}/usr/share/fish/vendor_completions.d/paru.fish" + install -Dm644 completions/zsh "${pkgdir}/usr/share/zsh/site-functions/_paru" + + cp -r locale "$pkgdir/usr/share/" +} diff --git a/3party/paru-git/.SRCINFO b/3party/paru-git/.SRCINFO new file mode 100644 index 0000000..f00dfd3 --- /dev/null +++ b/3party/paru-git/.SRCINFO @@ -0,0 +1,27 @@ +pkgbase = paru-git + pkgdesc = Feature packed AUR helper + pkgver = 1.7.3.r22.g1ed1f29 + pkgrel = 1 + url = https://github.com/morganamilo/paru + arch = i686 + arch = pentium4 + arch = x86_64 + arch = arm + arch = armv7h + arch = armv6h + arch = aarch64 + license = GPL3 + makedepends = cargo + depends = glibc + depends = git + depends = pacman + optdepends = asp: downloading repo pkgbuilds + optdepends = bat: colored pkgbuild printing + optdepends = devtools: build in chroot + provides = paru + conflicts = paru + backup = etc/paru.conf + source = git+https://github.com/morganamilo/paru + sha256sums = SKIP + +pkgname = paru-git diff --git a/3party/paru-git/.gitignore b/3party/paru-git/.gitignore new file mode 100644 index 0000000..d9061c4 --- /dev/null +++ b/3party/paru-git/.gitignore @@ -0,0 +1,4 @@ +*.tar.* +pkg/ +src/ +/paru diff --git a/3party/paru-git/00_make.sh b/3party/paru-git/00_make.sh new file mode 100755 index 0000000..02a0d1e --- /dev/null +++ b/3party/paru-git/00_make.sh @@ -0,0 +1,27 @@ +#!/bin/bash + +makepkg --syncdeps --asdeps --needed --noconfirm --clean --cleanbuild --force + +for i in *.pkg.tar.zst; +do + if [ -f "${i}" ]; then + echo "Удаление подписи $i.sig" + rm -f $i.sig + echo "Добавление подписи $i.sig" + gpg --detach-sign --local-user BC8B600E8DDA1F4CB77B10D2BA803A261A5EE6B8 --output "$i.sig" "$i" + fi +done + +for i in *.pkg.tar.xz; +do + if [ -f "${i}" ]; then + echo "Удаление подписи $i.sig" + rm -f $i.sig + echo "Добавление подписи $i.sig" + gpg --detach-sign --local-user BC8B600E8DDA1F4CB77B10D2BA803A261A5EE6B8 --output "$i.sig" "$i" + fi +done + + +echo "melawy" | beep -f 200 -l 250 -d 100 -r 1 -n -s +notify-send -a "$(basename $(pwd)): Make" -t 999999999 "Make finished" "$(date '+%Y.%m.%d %H:%M:%S')" diff --git a/3party/paru-git/01_sign.sh b/3party/paru-git/01_sign.sh new file mode 100755 index 0000000..77055f1 --- /dev/null +++ b/3party/paru-git/01_sign.sh @@ -0,0 +1,21 @@ +#!/bin/bash + +for i in *.pkg.tar.zst; +do + if [ -f "${i}" ]; then + echo "Удаление подписи $i.sig" + rm -f $i.sig + echo "Добавление подписи $i.sig" + gpg --detach-sign --local-user BC8B600E8DDA1F4CB77B10D2BA803A261A5EE6B8 --output "$i.sig" "$i" + fi +done + +for i in *.pkg.tar.xz; +do + if [ -f "${i}" ]; then + echo "Удаление подписи $i.sig" + rm -f $i.sig + echo "Добавление подписи $i.sig" + gpg --detach-sign --local-user BC8B600E8DDA1F4CB77B10D2BA803A261A5EE6B8 --output "$i.sig" "$i" + fi +done diff --git a/3party/paru-git/PKGBUILD b/3party/paru-git/PKGBUILD new file mode 100644 index 0000000..fc1e356 --- /dev/null +++ b/3party/paru-git/PKGBUILD @@ -0,0 +1,59 @@ +# Maintainer: Morgan + +pkgname=paru-git +_pkgname=paru +pkgver=1.11.2.r167.g257e011 +pkgrel=1 +pkgdesc='Feature packed AUR helper' +url='https://github.com/morganamilo/paru' +source=("git+https://github.com/morganamilo/paru") +backup=("etc/paru.conf") +arch=('i686' 'pentium4' 'x86_64' 'arm' 'armv7h' 'armv6h' 'aarch64') +license=('GPL3') +makedepends=('cargo') +depends=('glibc' 'git' 'pacman') +optdepends=('asp: downloading repo pkgbuilds' 'bat: colored pkgbuild printing' 'devtools: build in chroot') +conflicts=('paru') +provides=('paru') +sha256sums=(SKIP) + +build () { + cd "$srcdir/$_pkgname" + + if pacman -T pacman-git > /dev/null; then + _features+="git," + fi + + if [[ $(rustc -V) == *"nightly"* ]]; then + _features+="backtrace," + fi + + if [[ $CARCH != x86_64 ]]; then + export CARGO_PROFILE_RELEASE_LTO=off + fi + + PARU_VERSION=$pkgver cargo build --locked --features "${_features:-}" --release --target-dir target + ./scripts/mkmo locale/ +} + +package() { + cd "$srcdir/$_pkgname" + + install -Dm755 target/release/paru "${pkgdir}/usr/bin/paru" + install -Dm644 paru.conf "${pkgdir}/etc/paru.conf" + + install -Dm644 man/paru.8 "$pkgdir/usr/share/man/man8/paru.8" + install -Dm644 man/paru.conf.5 "$pkgdir/usr/share/man/man5/paru.conf.5" + + install -Dm644 completions/bash "${pkgdir}/usr/share/bash-completion/completions/paru.bash" + install -Dm644 completions/fish "${pkgdir}/usr/share/fish/vendor_completions.d/paru.fish" + install -Dm644 completions/zsh "${pkgdir}/usr/share/zsh/site-functions/_paru" + + install -d "$pkgdir/usr/share/" + cp -r locale "$pkgdir/usr/share/" +} + +pkgver() { + cd "$srcdir/$_pkgname" + git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g' +} diff --git a/3party/paru/.SRCINFO b/3party/paru/.SRCINFO new file mode 100644 index 0000000..6d01300 --- /dev/null +++ b/3party/paru/.SRCINFO @@ -0,0 +1,24 @@ +pkgbase = paru + pkgdesc = Feature packed AUR helper + pkgver = 1.11.1 + pkgrel = 1 + url = https://github.com/morganamilo/paru + arch = i686 + arch = pentium4 + arch = x86_64 + arch = arm + arch = armv7h + arch = armv6h + arch = aarch64 + license = GPL3 + makedepends = cargo + depends = git + depends = pacman + optdepends = asp: downloading repo pkgbuilds + optdepends = bat: colored pkgbuild printing + optdepends = devtools: build in chroot + backup = etc/paru.conf + source = paru-1.11.1.tar.gz::https://github.com/Morganamilo/paru/archive/v1.11.1.tar.gz + sha256sums = 42cefa8cdf48e3aec3f9922235f1e1126a9fe3262f1644494e1be51980e520d8 + +pkgname = paru diff --git a/3party/paru/.gitignore b/3party/paru/.gitignore new file mode 100644 index 0000000..d9061c4 --- /dev/null +++ b/3party/paru/.gitignore @@ -0,0 +1,4 @@ +*.tar.* +pkg/ +src/ +/paru diff --git a/3party/paru/00_make.sh b/3party/paru/00_make.sh new file mode 100755 index 0000000..02a0d1e --- /dev/null +++ b/3party/paru/00_make.sh @@ -0,0 +1,27 @@ +#!/bin/bash + +makepkg --syncdeps --asdeps --needed --noconfirm --clean --cleanbuild --force + +for i in *.pkg.tar.zst; +do + if [ -f "${i}" ]; then + echo "Удаление подписи $i.sig" + rm -f $i.sig + echo "Добавление подписи $i.sig" + gpg --detach-sign --local-user BC8B600E8DDA1F4CB77B10D2BA803A261A5EE6B8 --output "$i.sig" "$i" + fi +done + +for i in *.pkg.tar.xz; +do + if [ -f "${i}" ]; then + echo "Удаление подписи $i.sig" + rm -f $i.sig + echo "Добавление подписи $i.sig" + gpg --detach-sign --local-user BC8B600E8DDA1F4CB77B10D2BA803A261A5EE6B8 --output "$i.sig" "$i" + fi +done + + +echo "melawy" | beep -f 200 -l 250 -d 100 -r 1 -n -s +notify-send -a "$(basename $(pwd)): Make" -t 999999999 "Make finished" "$(date '+%Y.%m.%d %H:%M:%S')" diff --git a/3party/paru/01_sign.sh b/3party/paru/01_sign.sh new file mode 100755 index 0000000..77055f1 --- /dev/null +++ b/3party/paru/01_sign.sh @@ -0,0 +1,21 @@ +#!/bin/bash + +for i in *.pkg.tar.zst; +do + if [ -f "${i}" ]; then + echo "Удаление подписи $i.sig" + rm -f $i.sig + echo "Добавление подписи $i.sig" + gpg --detach-sign --local-user BC8B600E8DDA1F4CB77B10D2BA803A261A5EE6B8 --output "$i.sig" "$i" + fi +done + +for i in *.pkg.tar.xz; +do + if [ -f "${i}" ]; then + echo "Удаление подписи $i.sig" + rm -f $i.sig + echo "Добавление подписи $i.sig" + gpg --detach-sign --local-user BC8B600E8DDA1F4CB77B10D2BA803A261A5EE6B8 --output "$i.sig" "$i" + fi +done diff --git a/3party/paru/PKGBUILD b/3party/paru/PKGBUILD new file mode 100644 index 0000000..37f85c6 --- /dev/null +++ b/3party/paru/PKGBUILD @@ -0,0 +1,47 @@ +# Maintainer: Morgan + +pkgname=paru +pkgver=1.11.1 +pkgrel=1 +pkgdesc='Feature packed AUR helper' +url='https://github.com/morganamilo/paru' +source=("$pkgname-$pkgver.tar.gz::https://github.com/Morganamilo/paru/archive/v$pkgver.tar.gz") +backup=("etc/paru.conf") +arch=('i686' 'pentium4' 'x86_64' 'arm' 'armv7h' 'armv6h' 'aarch64') +license=('GPL3') +makedepends=('cargo') +depends=('git' 'pacman') +optdepends=('asp: downloading repo pkgbuilds' 'bat: colored pkgbuild printing' 'devtools: build in chroot') +sha256sums=('42cefa8cdf48e3aec3f9922235f1e1126a9fe3262f1644494e1be51980e520d8') + +build () { + cd "$srcdir/$pkgname-$pkgver" + + if pacman -T pacman-git > /dev/null; then + _features+="git," + fi + + if [[ $CARCH != x86_64 ]]; then + export CARGO_PROFILE_RELEASE_LTO=off + fi + + cargo build --locked --features "${_features:-}" --release --target-dir target + ./scripts/mkmo locale/ +} + +package() { + cd "$srcdir/$pkgname-$pkgver" + + install -Dm755 target/release/paru "${pkgdir}/usr/bin/paru" + install -Dm644 paru.conf "${pkgdir}/etc/paru.conf" + + install -Dm644 man/paru.8 "$pkgdir/usr/share/man/man8/paru.8" + install -Dm644 man/paru.conf.5 "$pkgdir/usr/share/man/man5/paru.conf.5" + + install -Dm644 completions/bash "${pkgdir}/usr/share/bash-completion/completions/paru.bash" + install -Dm644 completions/fish "${pkgdir}/usr/share/fish/vendor_completions.d/paru.fish" + install -Dm644 completions/zsh "${pkgdir}/usr/share/zsh/site-functions/_paru" + + install -d "$pkgdir/usr/share/" + cp -r locale "$pkgdir/usr/share/" +} diff --git a/Core/dracut-initramfs/.gitignore b/Core/dracut-initramfs/.gitignore new file mode 100644 index 0000000..fa25cde --- /dev/null +++ b/Core/dracut-initramfs/.gitignore @@ -0,0 +1,4 @@ +*.tar.* +pkg/ +src/ +/dracut-initramfs diff --git a/Core/dracut-initramfs/00_make.sh b/Core/dracut-initramfs/00_make.sh new file mode 100755 index 0000000..02a0d1e --- /dev/null +++ b/Core/dracut-initramfs/00_make.sh @@ -0,0 +1,27 @@ +#!/bin/bash + +makepkg --syncdeps --asdeps --needed --noconfirm --clean --cleanbuild --force + +for i in *.pkg.tar.zst; +do + if [ -f "${i}" ]; then + echo "Удаление подписи $i.sig" + rm -f $i.sig + echo "Добавление подписи $i.sig" + gpg --detach-sign --local-user BC8B600E8DDA1F4CB77B10D2BA803A261A5EE6B8 --output "$i.sig" "$i" + fi +done + +for i in *.pkg.tar.xz; +do + if [ -f "${i}" ]; then + echo "Удаление подписи $i.sig" + rm -f $i.sig + echo "Добавление подписи $i.sig" + gpg --detach-sign --local-user BC8B600E8DDA1F4CB77B10D2BA803A261A5EE6B8 --output "$i.sig" "$i" + fi +done + + +echo "melawy" | beep -f 200 -l 250 -d 100 -r 1 -n -s +notify-send -a "$(basename $(pwd)): Make" -t 999999999 "Make finished" "$(date '+%Y.%m.%d %H:%M:%S')" diff --git a/Core/dracut-initramfs/01_sign.sh b/Core/dracut-initramfs/01_sign.sh new file mode 100755 index 0000000..77055f1 --- /dev/null +++ b/Core/dracut-initramfs/01_sign.sh @@ -0,0 +1,21 @@ +#!/bin/bash + +for i in *.pkg.tar.zst; +do + if [ -f "${i}" ]; then + echo "Удаление подписи $i.sig" + rm -f $i.sig + echo "Добавление подписи $i.sig" + gpg --detach-sign --local-user BC8B600E8DDA1F4CB77B10D2BA803A261A5EE6B8 --output "$i.sig" "$i" + fi +done + +for i in *.pkg.tar.xz; +do + if [ -f "${i}" ]; then + echo "Удаление подписи $i.sig" + rm -f $i.sig + echo "Добавление подписи $i.sig" + gpg --detach-sign --local-user BC8B600E8DDA1F4CB77B10D2BA803A261A5EE6B8 --output "$i.sig" "$i" + fi +done diff --git a/Core/dracut-initramfs/PKGBUILD b/Core/dracut-initramfs/PKGBUILD new file mode 100644 index 0000000..80bea46 --- /dev/null +++ b/Core/dracut-initramfs/PKGBUILD @@ -0,0 +1,38 @@ +# Maintainer: Valeria Fadeeva + +_gitname="$(basename $(pwd))" +pkgname=("melawy-$_gitname") +pkgver=1.14 +pkgrel=1 +pkgdesc="$(head -n 2 README.md | tail -n 1)" +url="https://git.melawy.ru/Melawy-Linux/$_gitname" +arch=("any") +license=("AGPL3") +depends=("dracut" "systemd" "refind" "python" "util-linux" "python-pefile") +optdepends=() +makedepends=("git") +backup=() +provides=("${pkgname}") +conflicts=("${pkgname}") +source=("git+$url.git") +sha256sums=("SKIP") +validpgpkeys=('BC8B600E8DDA1F4CB77B10D2BA803A261A5EE6B8') + +# pkgver() { +# cd "$srcdir/$_gitname" +# printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" +# } + +pkgver() { + cd "$srcdir/$_gitname" + printf "1.%s" "$(git rev-list --count HEAD)" +} + +package() { +# install -Dm644 "${srcdir}/$_gitname/10-dracut-initramfs-pre-install.hook" "${pkgdir}/usr/share/libalpm/hooks/10-dracut-initramfs-pre-install.hook" +# install -Dm644 "${srcdir}/$_gitname/60-dracut-initramfs-remove.hook" "${pkgdir}/usr/share/libalpm/hooks/60-dracut-initramfs-remove.hook" +# install -Dm644 "${srcdir}/$_gitname/90-dracut-initramfs-install.hook" "${pkgdir}/usr/share/libalpm/hooks/90-dracut-initramfs-install.hook" +# install -Dm755 "${srcdir}/$_gitname/dracut-initramfs" "${pkgdir}/usr/bin/dracut-initramfs" + + cp -vrf --no-dereference --preserve=links "$srcdir/$_gitname/usr" "$pkgdir/" +} diff --git a/Core/dracut-initramfs/README.md b/Core/dracut-initramfs/README.md new file mode 100644 index 0000000..9b9e98f --- /dev/null +++ b/Core/dracut-initramfs/README.md @@ -0,0 +1,22 @@ +# melawy-dracut-initramfs +Integration layer for dracut for Arch Linux. Placing kernels to /ESP_PATH/EFI/Linux + +``` +ls -1 /efi/EFI/Linux +``` +``` +... +initramfs-linux-xanmod-anbox-fallback.img +initramfs-linux-xanmod-anbox.img +... +vmlinuz-linux-xanmod-anbox +``` + +### Donate +[Tinkoff](https://www.tinkoff.ru/rm/fadeeva.valeriya96/9bLRi79066) + +[YooMoney](https://yoomoney.ru/to/4100115921160758) + +[Qiwi](https://qiwi.com/n/VALERIAFADEEVA) + +Etherium 0x981FBf878fe451BDB83BEaF68078394d4B13213f diff --git a/Core/dracut-ukify/.gitignore b/Core/dracut-ukify/.gitignore new file mode 100644 index 0000000..f381aaf --- /dev/null +++ b/Core/dracut-ukify/.gitignore @@ -0,0 +1,4 @@ +*.tar.* +pkg/ +src/ +/dracut-ukify diff --git a/Core/dracut-ukify/00_make.sh b/Core/dracut-ukify/00_make.sh new file mode 100755 index 0000000..02a0d1e --- /dev/null +++ b/Core/dracut-ukify/00_make.sh @@ -0,0 +1,27 @@ +#!/bin/bash + +makepkg --syncdeps --asdeps --needed --noconfirm --clean --cleanbuild --force + +for i in *.pkg.tar.zst; +do + if [ -f "${i}" ]; then + echo "Удаление подписи $i.sig" + rm -f $i.sig + echo "Добавление подписи $i.sig" + gpg --detach-sign --local-user BC8B600E8DDA1F4CB77B10D2BA803A261A5EE6B8 --output "$i.sig" "$i" + fi +done + +for i in *.pkg.tar.xz; +do + if [ -f "${i}" ]; then + echo "Удаление подписи $i.sig" + rm -f $i.sig + echo "Добавление подписи $i.sig" + gpg --detach-sign --local-user BC8B600E8DDA1F4CB77B10D2BA803A261A5EE6B8 --output "$i.sig" "$i" + fi +done + + +echo "melawy" | beep -f 200 -l 250 -d 100 -r 1 -n -s +notify-send -a "$(basename $(pwd)): Make" -t 999999999 "Make finished" "$(date '+%Y.%m.%d %H:%M:%S')" diff --git a/Core/dracut-ukify/01_sign.sh b/Core/dracut-ukify/01_sign.sh new file mode 100755 index 0000000..77055f1 --- /dev/null +++ b/Core/dracut-ukify/01_sign.sh @@ -0,0 +1,21 @@ +#!/bin/bash + +for i in *.pkg.tar.zst; +do + if [ -f "${i}" ]; then + echo "Удаление подписи $i.sig" + rm -f $i.sig + echo "Добавление подписи $i.sig" + gpg --detach-sign --local-user BC8B600E8DDA1F4CB77B10D2BA803A261A5EE6B8 --output "$i.sig" "$i" + fi +done + +for i in *.pkg.tar.xz; +do + if [ -f "${i}" ]; then + echo "Удаление подписи $i.sig" + rm -f $i.sig + echo "Добавление подписи $i.sig" + gpg --detach-sign --local-user BC8B600E8DDA1F4CB77B10D2BA803A261A5EE6B8 --output "$i.sig" "$i" + fi +done diff --git a/Core/dracut-ukify/PKGBUILD b/Core/dracut-ukify/PKGBUILD new file mode 100644 index 0000000..ed43362 --- /dev/null +++ b/Core/dracut-ukify/PKGBUILD @@ -0,0 +1,38 @@ +# Maintainer: Valeria Fadeeva + +_gitname="$(basename $(pwd))" +pkgname=("melawy-$_gitname") +pkgver=1.15 +pkgrel=1 +pkgdesc="$(head -n 2 README.md | tail -n 1)" +url="https://git.melawy.ru/Melawy-Linux/$_gitname" +arch=("any") +license=("AGPL3") +depends=("dracut" "systemd" "systemd-ukify" "refind" "python" "util-linux" "python-pefile") +optdepends=("sbsigntools: secureboot support") +makedepends=("git") +backup=() +provides=("${pkgname}") +conflicts=("${pkgname}") +source=("git+$url.git") +sha256sums=("SKIP") +validpgpkeys=('BC8B600E8DDA1F4CB77B10D2BA803A261A5EE6B8') + +# pkgver() { +# cd "$srcdir/$_gitname" +# printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" +# } + +pkgver() { + cd "$srcdir/$_gitname" + printf "1.%s" "$(git rev-list --count HEAD)" +} + +package() { +# install -Dm644 "${srcdir}/$_gitname/10-dracut-ukify-pre-install.hook" "${pkgdir}/usr/share/libalpm/hooks/10-dracut-ukify-pre-install.hook" +# install -Dm644 "${srcdir}/$_gitname/60-dracut-ukify-remove.hook" "${pkgdir}/usr/share/libalpm/hooks/60-dracut-ukify-remove.hook" +# install -Dm644 "${srcdir}/$_gitname/90-dracut-ukify-install.hook" "${pkgdir}/usr/share/libalpm/hooks/90-dracut-ukify-install.hook" +# install -Dm755 "${srcdir}/$_gitname/dracut-ukify" "${pkgdir}/usr/bin/dracut-ukify" + + cp -vrf --no-dereference --preserve=links "$srcdir/$_gitname/usr" "$pkgdir/" +} diff --git a/Core/dracut-ukify/README.md b/Core/dracut-ukify/README.md new file mode 100644 index 0000000..2c6b13c --- /dev/null +++ b/Core/dracut-ukify/README.md @@ -0,0 +1,21 @@ +# melawy-dracut-ukify +Integration layer for dracut and systemd's ukify tool for Arch Linux. Placing kernels to /ESP_PATH/EFI/Linux + +``` +ls -1 /efi/EFI/Linux +``` +``` +... +linux-xanmod-anbox.efi +linux-xanmod-anbox-fallback.efi +... +``` + +### Donate +[Tinkoff](https://www.tinkoff.ru/rm/fadeeva.valeriya96/9bLRi79066) + +[YooMoney](https://yoomoney.ru/to/4100115921160758) + +[Qiwi](https://qiwi.com/n/VALERIAFADEEVA) + +Etherium 0x981FBf878fe451BDB83BEaF68078394d4B13213f diff --git a/Core/etc-skel-std-powerman/.gitignore b/Core/etc-skel-std-powerman/.gitignore new file mode 100644 index 0000000..27d3b70 --- /dev/null +++ b/Core/etc-skel-std-powerman/.gitignore @@ -0,0 +1,4 @@ +*.tar.* +pkg/ +src/ +/etc-skel-std-powerman diff --git a/Core/etc-skel-std-powerman/00_make.sh b/Core/etc-skel-std-powerman/00_make.sh new file mode 100755 index 0000000..02a0d1e --- /dev/null +++ b/Core/etc-skel-std-powerman/00_make.sh @@ -0,0 +1,27 @@ +#!/bin/bash + +makepkg --syncdeps --asdeps --needed --noconfirm --clean --cleanbuild --force + +for i in *.pkg.tar.zst; +do + if [ -f "${i}" ]; then + echo "Удаление подписи $i.sig" + rm -f $i.sig + echo "Добавление подписи $i.sig" + gpg --detach-sign --local-user BC8B600E8DDA1F4CB77B10D2BA803A261A5EE6B8 --output "$i.sig" "$i" + fi +done + +for i in *.pkg.tar.xz; +do + if [ -f "${i}" ]; then + echo "Удаление подписи $i.sig" + rm -f $i.sig + echo "Добавление подписи $i.sig" + gpg --detach-sign --local-user BC8B600E8DDA1F4CB77B10D2BA803A261A5EE6B8 --output "$i.sig" "$i" + fi +done + + +echo "melawy" | beep -f 200 -l 250 -d 100 -r 1 -n -s +notify-send -a "$(basename $(pwd)): Make" -t 999999999 "Make finished" "$(date '+%Y.%m.%d %H:%M:%S')" diff --git a/Core/etc-skel-std-powerman/01_sign.sh b/Core/etc-skel-std-powerman/01_sign.sh new file mode 100755 index 0000000..77055f1 --- /dev/null +++ b/Core/etc-skel-std-powerman/01_sign.sh @@ -0,0 +1,21 @@ +#!/bin/bash + +for i in *.pkg.tar.zst; +do + if [ -f "${i}" ]; then + echo "Удаление подписи $i.sig" + rm -f $i.sig + echo "Добавление подписи $i.sig" + gpg --detach-sign --local-user BC8B600E8DDA1F4CB77B10D2BA803A261A5EE6B8 --output "$i.sig" "$i" + fi +done + +for i in *.pkg.tar.xz; +do + if [ -f "${i}" ]; then + echo "Удаление подписи $i.sig" + rm -f $i.sig + echo "Добавление подписи $i.sig" + gpg --detach-sign --local-user BC8B600E8DDA1F4CB77B10D2BA803A261A5EE6B8 --output "$i.sig" "$i" + fi +done diff --git a/Core/etc-skel-std-powerman/PKGBUILD b/Core/etc-skel-std-powerman/PKGBUILD new file mode 100644 index 0000000..8a85f2a --- /dev/null +++ b/Core/etc-skel-std-powerman/PKGBUILD @@ -0,0 +1,51 @@ +# Maintainer: Valeria Fadeeva + +_gitname="$(basename $(pwd))" +pkgname=("melawy-$_gitname") +pkgver=1.1 +pkgrel=1 +pkgdesc="$(head -n 2 README.md | tail -n 1)" +arch=('any') +url="https://git.melawy.ru/Melawy-Linux/$_gitname" +license=('AGPL3') + +depends=('bash') + +makedepends=('git') + +optdepends=() + +backup=() +provides=("${pkgname}") +conflicts=("${pkgname}") +options=(!strip !emptydirs) +source=("git+$url.git") +sha256sums=("SKIP") +validpgpkeys=("BC8B600E8DDA1F4CB77B10D2BA803A261A5EE6B8") + +# pkgver() { +# cd "$srcdir/$_gitname" +# printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" +# } + +pkgver() { + cd "${srcdir}/${_gitname}" + printf "1.%s" "$(git rev-list --count HEAD)" +} + +install=ins.install + +package() { + # Clone file structure + install -d "${pkgdir}/usr/share/skel/" + cp -rT --no-preserve=ownership "${srcdir}/${_gitname}/skel/" "${pkgdir}/usr/share/skel/" + + # Find all scripts + readarray -d '' scripts < <(find "${pkgdir}/usr/share/skel" -type f \( -iname "*.sh" -o -iname "*.bash" \) -print0) + + # Make scripts executable + for script in "${scripts[@]}"; + do + [[ -f ${script} ]] && chmod +x "${script}" + done +} diff --git a/Core/etc-skel-std-powerman/README.md b/Core/etc-skel-std-powerman/README.md new file mode 100644 index 0000000..251512f --- /dev/null +++ b/Core/etc-skel-std-powerman/README.md @@ -0,0 +1,11 @@ +# ets skel +etc skel for Melawy Linux + +### Donate +[Tinkoff](https://www.tinkoff.ru/rm/fadeeva.valeriya96/9bLRi79066) + +[YooMoney](https://yoomoney.ru/to/4100115921160758) + +[Qiwi](https://qiwi.com/n/VALERIAFADEEVA) + +Etherium 0x981FBf878fe451BDB83BEaF68078394d4B13213f diff --git a/Core/etc-skel-std-powerman/ins.install b/Core/etc-skel-std-powerman/ins.install new file mode 100644 index 0000000..90ff68a --- /dev/null +++ b/Core/etc-skel-std-powerman/ins.install @@ -0,0 +1,7 @@ +post_upgrade() { + cp -rT --no-preserve=ownership "/usr/share/skel/" "/etc/skel/" +} + +post_install() { + post_upgrade +} diff --git a/Core/etc-skel/.gitignore b/Core/etc-skel/.gitignore new file mode 100644 index 0000000..cbff210 --- /dev/null +++ b/Core/etc-skel/.gitignore @@ -0,0 +1,4 @@ +*.tar.* +pkg/ +src/ +/etc-skel diff --git a/Core/etc-skel/00_make.sh b/Core/etc-skel/00_make.sh new file mode 100755 index 0000000..02a0d1e --- /dev/null +++ b/Core/etc-skel/00_make.sh @@ -0,0 +1,27 @@ +#!/bin/bash + +makepkg --syncdeps --asdeps --needed --noconfirm --clean --cleanbuild --force + +for i in *.pkg.tar.zst; +do + if [ -f "${i}" ]; then + echo "Удаление подписи $i.sig" + rm -f $i.sig + echo "Добавление подписи $i.sig" + gpg --detach-sign --local-user BC8B600E8DDA1F4CB77B10D2BA803A261A5EE6B8 --output "$i.sig" "$i" + fi +done + +for i in *.pkg.tar.xz; +do + if [ -f "${i}" ]; then + echo "Удаление подписи $i.sig" + rm -f $i.sig + echo "Добавление подписи $i.sig" + gpg --detach-sign --local-user BC8B600E8DDA1F4CB77B10D2BA803A261A5EE6B8 --output "$i.sig" "$i" + fi +done + + +echo "melawy" | beep -f 200 -l 250 -d 100 -r 1 -n -s +notify-send -a "$(basename $(pwd)): Make" -t 999999999 "Make finished" "$(date '+%Y.%m.%d %H:%M:%S')" diff --git a/Core/etc-skel/01_sign.sh b/Core/etc-skel/01_sign.sh new file mode 100755 index 0000000..77055f1 --- /dev/null +++ b/Core/etc-skel/01_sign.sh @@ -0,0 +1,21 @@ +#!/bin/bash + +for i in *.pkg.tar.zst; +do + if [ -f "${i}" ]; then + echo "Удаление подписи $i.sig" + rm -f $i.sig + echo "Добавление подписи $i.sig" + gpg --detach-sign --local-user BC8B600E8DDA1F4CB77B10D2BA803A261A5EE6B8 --output "$i.sig" "$i" + fi +done + +for i in *.pkg.tar.xz; +do + if [ -f "${i}" ]; then + echo "Удаление подписи $i.sig" + rm -f $i.sig + echo "Добавление подписи $i.sig" + gpg --detach-sign --local-user BC8B600E8DDA1F4CB77B10D2BA803A261A5EE6B8 --output "$i.sig" "$i" + fi +done diff --git a/Core/etc-skel/PKGBUILD b/Core/etc-skel/PKGBUILD new file mode 100644 index 0000000..8a85f2a --- /dev/null +++ b/Core/etc-skel/PKGBUILD @@ -0,0 +1,51 @@ +# Maintainer: Valeria Fadeeva + +_gitname="$(basename $(pwd))" +pkgname=("melawy-$_gitname") +pkgver=1.1 +pkgrel=1 +pkgdesc="$(head -n 2 README.md | tail -n 1)" +arch=('any') +url="https://git.melawy.ru/Melawy-Linux/$_gitname" +license=('AGPL3') + +depends=('bash') + +makedepends=('git') + +optdepends=() + +backup=() +provides=("${pkgname}") +conflicts=("${pkgname}") +options=(!strip !emptydirs) +source=("git+$url.git") +sha256sums=("SKIP") +validpgpkeys=("BC8B600E8DDA1F4CB77B10D2BA803A261A5EE6B8") + +# pkgver() { +# cd "$srcdir/$_gitname" +# printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" +# } + +pkgver() { + cd "${srcdir}/${_gitname}" + printf "1.%s" "$(git rev-list --count HEAD)" +} + +install=ins.install + +package() { + # Clone file structure + install -d "${pkgdir}/usr/share/skel/" + cp -rT --no-preserve=ownership "${srcdir}/${_gitname}/skel/" "${pkgdir}/usr/share/skel/" + + # Find all scripts + readarray -d '' scripts < <(find "${pkgdir}/usr/share/skel" -type f \( -iname "*.sh" -o -iname "*.bash" \) -print0) + + # Make scripts executable + for script in "${scripts[@]}"; + do + [[ -f ${script} ]] && chmod +x "${script}" + done +} diff --git a/Core/etc-skel/README.md b/Core/etc-skel/README.md new file mode 100644 index 0000000..251512f --- /dev/null +++ b/Core/etc-skel/README.md @@ -0,0 +1,11 @@ +# ets skel +etc skel for Melawy Linux + +### Donate +[Tinkoff](https://www.tinkoff.ru/rm/fadeeva.valeriya96/9bLRi79066) + +[YooMoney](https://yoomoney.ru/to/4100115921160758) + +[Qiwi](https://qiwi.com/n/VALERIAFADEEVA) + +Etherium 0x981FBf878fe451BDB83BEaF68078394d4B13213f diff --git a/Core/etc-skel/ins.install b/Core/etc-skel/ins.install new file mode 100644 index 0000000..90ff68a --- /dev/null +++ b/Core/etc-skel/ins.install @@ -0,0 +1,7 @@ +post_upgrade() { + cp -rT --no-preserve=ownership "/usr/share/skel/" "/etc/skel/" +} + +post_install() { + post_upgrade +} diff --git a/Core/linux-keyring/.gitignore b/Core/linux-keyring/.gitignore new file mode 100644 index 0000000..1e88738 --- /dev/null +++ b/Core/linux-keyring/.gitignore @@ -0,0 +1,4 @@ +*.tar.* +pkg/ +src/ +/linux-keyring diff --git a/Core/linux-keyring/00_make.sh b/Core/linux-keyring/00_make.sh new file mode 100755 index 0000000..02a0d1e --- /dev/null +++ b/Core/linux-keyring/00_make.sh @@ -0,0 +1,27 @@ +#!/bin/bash + +makepkg --syncdeps --asdeps --needed --noconfirm --clean --cleanbuild --force + +for i in *.pkg.tar.zst; +do + if [ -f "${i}" ]; then + echo "Удаление подписи $i.sig" + rm -f $i.sig + echo "Добавление подписи $i.sig" + gpg --detach-sign --local-user BC8B600E8DDA1F4CB77B10D2BA803A261A5EE6B8 --output "$i.sig" "$i" + fi +done + +for i in *.pkg.tar.xz; +do + if [ -f "${i}" ]; then + echo "Удаление подписи $i.sig" + rm -f $i.sig + echo "Добавление подписи $i.sig" + gpg --detach-sign --local-user BC8B600E8DDA1F4CB77B10D2BA803A261A5EE6B8 --output "$i.sig" "$i" + fi +done + + +echo "melawy" | beep -f 200 -l 250 -d 100 -r 1 -n -s +notify-send -a "$(basename $(pwd)): Make" -t 999999999 "Make finished" "$(date '+%Y.%m.%d %H:%M:%S')" diff --git a/Core/linux-keyring/01_sign.sh b/Core/linux-keyring/01_sign.sh new file mode 100755 index 0000000..77055f1 --- /dev/null +++ b/Core/linux-keyring/01_sign.sh @@ -0,0 +1,21 @@ +#!/bin/bash + +for i in *.pkg.tar.zst; +do + if [ -f "${i}" ]; then + echo "Удаление подписи $i.sig" + rm -f $i.sig + echo "Добавление подписи $i.sig" + gpg --detach-sign --local-user BC8B600E8DDA1F4CB77B10D2BA803A261A5EE6B8 --output "$i.sig" "$i" + fi +done + +for i in *.pkg.tar.xz; +do + if [ -f "${i}" ]; then + echo "Удаление подписи $i.sig" + rm -f $i.sig + echo "Добавление подписи $i.sig" + gpg --detach-sign --local-user BC8B600E8DDA1F4CB77B10D2BA803A261A5EE6B8 --output "$i.sig" "$i" + fi +done diff --git a/Core/linux-keyring/PKGBUILD b/Core/linux-keyring/PKGBUILD new file mode 100644 index 0000000..8ce57f4 --- /dev/null +++ b/Core/linux-keyring/PKGBUILD @@ -0,0 +1,36 @@ +# Maintainer: Valeria Fadeeva + +_gitname="$(basename $(pwd))" +pkgname=("melawy-$_gitname") +pkgver=1.2 +pkgrel=1 +pkgdesc="$(head -n 2 README.md | tail -n 1)" +arch=('any') +url="https://git.melawy.ru/Melawy-Linux/$_gitname" +license=('AGPL') +depends=("pacman" "gnupg") +optdepends=() +makedepends=("git") +backup=() +provides=("${pkgname}") +conflicts=("${pkgname}") +source=("git+$url.git") +sha256sums=("SKIP") +validpgpkeys=('BC8B600E8DDA1F4CB77B10D2BA803A261A5EE6B8') + +# pkgver() { +# cd "$srcdir/$_gitname" +# printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" +# } + +pkgver() { + cd "$srcdir/$_gitname" + printf "1.%s" "$(git rev-list --count HEAD)" +} + +install=ins.install + +package() { + install -dm755 "${pkgdir}/usr/share/pacman/keyrings/" + install -m644 "${srcdir}/$_gitname/${pkgname}.gpg" "${pkgdir}/usr/share/pacman/keyrings/melawy-linux.gpg" +} diff --git a/Core/linux-keyring/README.md b/Core/linux-keyring/README.md new file mode 100644 index 0000000..60de175 --- /dev/null +++ b/Core/linux-keyring/README.md @@ -0,0 +1,11 @@ +# melawy-linux-keyring +Melawy Linux GnuPG keyring + +### Donate +[Tinkoff](https://www.tinkoff.ru/rm/fadeeva.valeriya96/9bLRi79066) + +[YooMoney](https://yoomoney.ru/to/4100115921160758) + +[Qiwi](https://qiwi.com/n/VALERIAFADEEVA) + +Etherium 0x981FBf878fe451BDB83BEaF68078394d4B13213f diff --git a/Core/linux-keyring/ins.install b/Core/linux-keyring/ins.install new file mode 100644 index 0000000..fd09ea2 --- /dev/null +++ b/Core/linux-keyring/ins.install @@ -0,0 +1,12 @@ +post_upgrade() { + if usr/bin/pacman-key -l >/dev/null 2>&1; then + usr/bin/pacman-key --populate melawy-linux + usr/bin/pacman-key --updatedb + fi +} + +post_install() { + if [ -x usr/bin/pacman-key ]; then + post_upgrade + fi +} diff --git a/Core/linux-mirrorlist/.gitignore b/Core/linux-mirrorlist/.gitignore new file mode 100644 index 0000000..9a1953d --- /dev/null +++ b/Core/linux-mirrorlist/.gitignore @@ -0,0 +1,4 @@ +*.tar.* +pkg/ +src/ +/linux-mirrorlist diff --git a/Core/linux-mirrorlist/00_make.sh b/Core/linux-mirrorlist/00_make.sh new file mode 100755 index 0000000..02a0d1e --- /dev/null +++ b/Core/linux-mirrorlist/00_make.sh @@ -0,0 +1,27 @@ +#!/bin/bash + +makepkg --syncdeps --asdeps --needed --noconfirm --clean --cleanbuild --force + +for i in *.pkg.tar.zst; +do + if [ -f "${i}" ]; then + echo "Удаление подписи $i.sig" + rm -f $i.sig + echo "Добавление подписи $i.sig" + gpg --detach-sign --local-user BC8B600E8DDA1F4CB77B10D2BA803A261A5EE6B8 --output "$i.sig" "$i" + fi +done + +for i in *.pkg.tar.xz; +do + if [ -f "${i}" ]; then + echo "Удаление подписи $i.sig" + rm -f $i.sig + echo "Добавление подписи $i.sig" + gpg --detach-sign --local-user BC8B600E8DDA1F4CB77B10D2BA803A261A5EE6B8 --output "$i.sig" "$i" + fi +done + + +echo "melawy" | beep -f 200 -l 250 -d 100 -r 1 -n -s +notify-send -a "$(basename $(pwd)): Make" -t 999999999 "Make finished" "$(date '+%Y.%m.%d %H:%M:%S')" diff --git a/Core/linux-mirrorlist/01_sign.sh b/Core/linux-mirrorlist/01_sign.sh new file mode 100755 index 0000000..77055f1 --- /dev/null +++ b/Core/linux-mirrorlist/01_sign.sh @@ -0,0 +1,21 @@ +#!/bin/bash + +for i in *.pkg.tar.zst; +do + if [ -f "${i}" ]; then + echo "Удаление подписи $i.sig" + rm -f $i.sig + echo "Добавление подписи $i.sig" + gpg --detach-sign --local-user BC8B600E8DDA1F4CB77B10D2BA803A261A5EE6B8 --output "$i.sig" "$i" + fi +done + +for i in *.pkg.tar.xz; +do + if [ -f "${i}" ]; then + echo "Удаление подписи $i.sig" + rm -f $i.sig + echo "Добавление подписи $i.sig" + gpg --detach-sign --local-user BC8B600E8DDA1F4CB77B10D2BA803A261A5EE6B8 --output "$i.sig" "$i" + fi +done diff --git a/Core/linux-mirrorlist/LICENSE b/Core/linux-mirrorlist/LICENSE new file mode 100644 index 0000000..0ad25db --- /dev/null +++ b/Core/linux-mirrorlist/LICENSE @@ -0,0 +1,661 @@ + GNU AFFERO GENERAL PUBLIC LICENSE + Version 3, 19 November 2007 + + Copyright (C) 2007 Free Software Foundation, Inc. + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The GNU Affero General Public License is a free, copyleft license for +software and other kinds of works, specifically designed to ensure +cooperation with the community in the case of network server software. + + The licenses for most software and other practical works are designed +to take away your freedom to share and change the works. By contrast, +our General Public Licenses are intended to guarantee your freedom to +share and change all versions of a program--to make sure it remains free +software for all its users. + + When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +them if you wish), that you receive source code or can get it if you +want it, that you can change the software or use pieces of it in new +free programs, and that you know you can do these things. + + Developers that use our General Public Licenses protect your rights +with two steps: (1) assert copyright on the software, and (2) offer +you this License which gives you legal permission to copy, distribute +and/or modify the software. + + A secondary benefit of defending all users' freedom is that +improvements made in alternate versions of the program, if they +receive widespread use, become available for other developers to +incorporate. Many developers of free software are heartened and +encouraged by the resulting cooperation. However, in the case of +software used on network servers, this result may fail to come about. +The GNU General Public License permits making a modified version and +letting the public access it on a server without ever releasing its +source code to the public. + + The GNU Affero General Public License is designed specifically to +ensure that, in such cases, the modified source code becomes available +to the community. It requires the operator of a network server to +provide the source code of the modified version running there to the +users of that server. Therefore, public use of a modified version, on +a publicly accessible server, gives the public access to the source +code of the modified version. + + An older license, called the Affero General Public License and +published by Affero, was designed to accomplish similar goals. This is +a different license, not a version of the Affero GPL, but Affero has +released a new version of the Affero GPL which permits relicensing under +this license. + + The precise terms and conditions for copying, distribution and +modification follow. + + TERMS AND CONDITIONS + + 0. Definitions. + + "This License" refers to version 3 of the GNU Affero General Public License. + + "Copyright" also means copyright-like laws that apply to other kinds of +works, such as semiconductor masks. + + "The Program" refers to any copyrightable work licensed under this +License. Each licensee is addressed as "you". "Licensees" and +"recipients" may be individuals or organizations. + + To "modify" a work means to copy from or adapt all or part of the work +in a fashion requiring copyright permission, other than the making of an +exact copy. The resulting work is called a "modified version" of the +earlier work or a work "based on" the earlier work. + + A "covered work" means either the unmodified Program or a work based +on the Program. + + To "propagate" a work means to do anything with it that, without +permission, would make you directly or secondarily liable for +infringement under applicable copyright law, except executing it on a +computer or modifying a private copy. Propagation includes copying, +distribution (with or without modification), making available to the +public, and in some countries other activities as well. + + To "convey" a work means any kind of propagation that enables other +parties to make or receive copies. Mere interaction with a user through +a computer network, with no transfer of a copy, is not conveying. + + An interactive user interface displays "Appropriate Legal Notices" +to the extent that it includes a convenient and prominently visible +feature that (1) displays an appropriate copyright notice, and (2) +tells the user that there is no warranty for the work (except to the +extent that warranties are provided), that licensees may convey the +work under this License, and how to view a copy of this License. If +the interface presents a list of user commands or options, such as a +menu, a prominent item in the list meets this criterion. + + 1. Source Code. + + The "source code" for a work means the preferred form of the work +for making modifications to it. "Object code" means any non-source +form of a work. + + A "Standard Interface" means an interface that either is an official +standard defined by a recognized standards body, or, in the case of +interfaces specified for a particular programming language, one that +is widely used among developers working in that language. + + The "System Libraries" of an executable work include anything, other +than the work as a whole, that (a) is included in the normal form of +packaging a Major Component, but which is not part of that Major +Component, and (b) serves only to enable use of the work with that +Major Component, or to implement a Standard Interface for which an +implementation is available to the public in source code form. A +"Major Component", in this context, means a major essential component +(kernel, window system, and so on) of the specific operating system +(if any) on which the executable work runs, or a compiler used to +produce the work, or an object code interpreter used to run it. + + The "Corresponding Source" for a work in object code form means all +the source code needed to generate, install, and (for an executable +work) run the object code and to modify the work, including scripts to +control those activities. However, it does not include the work's +System Libraries, or general-purpose tools or generally available free +programs which are used unmodified in performing those activities but +which are not part of the work. For example, Corresponding Source +includes interface definition files associated with source files for +the work, and the source code for shared libraries and dynamically +linked subprograms that the work is specifically designed to require, +such as by intimate data communication or control flow between those +subprograms and other parts of the work. + + The Corresponding Source need not include anything that users +can regenerate automatically from other parts of the Corresponding +Source. + + The Corresponding Source for a work in source code form is that +same work. + + 2. Basic Permissions. + + All rights granted under this License are granted for the term of +copyright on the Program, and are irrevocable provided the stated +conditions are met. This License explicitly affirms your unlimited +permission to run the unmodified Program. The output from running a +covered work is covered by this License only if the output, given its +content, constitutes a covered work. This License acknowledges your +rights of fair use or other equivalent, as provided by copyright law. + + You may make, run and propagate covered works that you do not +convey, without conditions so long as your license otherwise remains +in force. You may convey covered works to others for the sole purpose +of having them make modifications exclusively for you, or provide you +with facilities for running those works, provided that you comply with +the terms of this License in conveying all material for which you do +not control copyright. Those thus making or running the covered works +for you must do so exclusively on your behalf, under your direction +and control, on terms that prohibit them from making any copies of +your copyrighted material outside their relationship with you. + + Conveying under any other circumstances is permitted solely under +the conditions stated below. Sublicensing is not allowed; section 10 +makes it unnecessary. + + 3. Protecting Users' Legal Rights From Anti-Circumvention Law. + + No covered work shall be deemed part of an effective technological +measure under any applicable law fulfilling obligations under article +11 of the WIPO copyright treaty adopted on 20 December 1996, or +similar laws prohibiting or restricting circumvention of such +measures. + + When you convey a covered work, you waive any legal power to forbid +circumvention of technological measures to the extent such circumvention +is effected by exercising rights under this License with respect to +the covered work, and you disclaim any intention to limit operation or +modification of the work as a means of enforcing, against the work's +users, your or third parties' legal rights to forbid circumvention of +technological measures. + + 4. Conveying Verbatim Copies. + + You may convey verbatim copies of the Program's source code as you +receive it, in any medium, provided that you conspicuously and +appropriately publish on each copy an appropriate copyright notice; +keep intact all notices stating that this License and any +non-permissive terms added in accord with section 7 apply to the code; +keep intact all notices of the absence of any warranty; and give all +recipients a copy of this License along with the Program. + + You may charge any price or no price for each copy that you convey, +and you may offer support or warranty protection for a fee. + + 5. Conveying Modified Source Versions. + + You may convey a work based on the Program, or the modifications to +produce it from the Program, in the form of source code under the +terms of section 4, provided that you also meet all of these conditions: + + a) The work must carry prominent notices stating that you modified + it, and giving a relevant date. + + b) The work must carry prominent notices stating that it is + released under this License and any conditions added under section + 7. This requirement modifies the requirement in section 4 to + "keep intact all notices". + + c) You must license the entire work, as a whole, under this + License to anyone who comes into possession of a copy. This + License will therefore apply, along with any applicable section 7 + additional terms, to the whole of the work, and all its parts, + regardless of how they are packaged. This License gives no + permission to license the work in any other way, but it does not + invalidate such permission if you have separately received it. + + d) If the work has interactive user interfaces, each must display + Appropriate Legal Notices; however, if the Program has interactive + interfaces that do not display Appropriate Legal Notices, your + work need not make them do so. + + A compilation of a covered work with other separate and independent +works, which are not by their nature extensions of the covered work, +and which are not combined with it such as to form a larger program, +in or on a volume of a storage or distribution medium, is called an +"aggregate" if the compilation and its resulting copyright are not +used to limit the access or legal rights of the compilation's users +beyond what the individual works permit. Inclusion of a covered work +in an aggregate does not cause this License to apply to the other +parts of the aggregate. + + 6. Conveying Non-Source Forms. + + You may convey a covered work in object code form under the terms +of sections 4 and 5, provided that you also convey the +machine-readable Corresponding Source under the terms of this License, +in one of these ways: + + a) Convey the object code in, or embodied in, a physical product + (including a physical distribution medium), accompanied by the + Corresponding Source fixed on a durable physical medium + customarily used for software interchange. + + b) Convey the object code in, or embodied in, a physical product + (including a physical distribution medium), accompanied by a + written offer, valid for at least three years and valid for as + long as you offer spare parts or customer support for that product + model, to give anyone who possesses the object code either (1) a + copy of the Corresponding Source for all the software in the + product that is covered by this License, on a durable physical + medium customarily used for software interchange, for a price no + more than your reasonable cost of physically performing this + conveying of source, or (2) access to copy the + Corresponding Source from a network server at no charge. + + c) Convey individual copies of the object code with a copy of the + written offer to provide the Corresponding Source. This + alternative is allowed only occasionally and noncommercially, and + only if you received the object code with such an offer, in accord + with subsection 6b. + + d) Convey the object code by offering access from a designated + place (gratis or for a charge), and offer equivalent access to the + Corresponding Source in the same way through the same place at no + further charge. You need not require recipients to copy the + Corresponding Source along with the object code. If the place to + copy the object code is a network server, the Corresponding Source + may be on a different server (operated by you or a third party) + that supports equivalent copying facilities, provided you maintain + clear directions next to the object code saying where to find the + Corresponding Source. Regardless of what server hosts the + Corresponding Source, you remain obligated to ensure that it is + available for as long as needed to satisfy these requirements. + + e) Convey the object code using peer-to-peer transmission, provided + you inform other peers where the object code and Corresponding + Source of the work are being offered to the general public at no + charge under subsection 6d. + + A separable portion of the object code, whose source code is excluded +from the Corresponding Source as a System Library, need not be +included in conveying the object code work. + + A "User Product" is either (1) a "consumer product", which means any +tangible personal property which is normally used for personal, family, +or household purposes, or (2) anything designed or sold for incorporation +into a dwelling. In determining whether a product is a consumer product, +doubtful cases shall be resolved in favor of coverage. For a particular +product received by a particular user, "normally used" refers to a +typical or common use of that class of product, regardless of the status +of the particular user or of the way in which the particular user +actually uses, or expects or is expected to use, the product. A product +is a consumer product regardless of whether the product has substantial +commercial, industrial or non-consumer uses, unless such uses represent +the only significant mode of use of the product. + + "Installation Information" for a User Product means any methods, +procedures, authorization keys, or other information required to install +and execute modified versions of a covered work in that User Product from +a modified version of its Corresponding Source. The information must +suffice to ensure that the continued functioning of the modified object +code is in no case prevented or interfered with solely because +modification has been made. + + If you convey an object code work under this section in, or with, or +specifically for use in, a User Product, and the conveying occurs as +part of a transaction in which the right of possession and use of the +User Product is transferred to the recipient in perpetuity or for a +fixed term (regardless of how the transaction is characterized), the +Corresponding Source conveyed under this section must be accompanied +by the Installation Information. But this requirement does not apply +if neither you nor any third party retains the ability to install +modified object code on the User Product (for example, the work has +been installed in ROM). + + The requirement to provide Installation Information does not include a +requirement to continue to provide support service, warranty, or updates +for a work that has been modified or installed by the recipient, or for +the User Product in which it has been modified or installed. Access to a +network may be denied when the modification itself materially and +adversely affects the operation of the network or violates the rules and +protocols for communication across the network. + + Corresponding Source conveyed, and Installation Information provided, +in accord with this section must be in a format that is publicly +documented (and with an implementation available to the public in +source code form), and must require no special password or key for +unpacking, reading or copying. + + 7. Additional Terms. + + "Additional permissions" are terms that supplement the terms of this +License by making exceptions from one or more of its conditions. +Additional permissions that are applicable to the entire Program shall +be treated as though they were included in this License, to the extent +that they are valid under applicable law. If additional permissions +apply only to part of the Program, that part may be used separately +under those permissions, but the entire Program remains governed by +this License without regard to the additional permissions. + + When you convey a copy of a covered work, you may at your option +remove any additional permissions from that copy, or from any part of +it. (Additional permissions may be written to require their own +removal in certain cases when you modify the work.) You may place +additional permissions on material, added by you to a covered work, +for which you have or can give appropriate copyright permission. + + Notwithstanding any other provision of this License, for material you +add to a covered work, you may (if authorized by the copyright holders of +that material) supplement the terms of this License with terms: + + a) Disclaiming warranty or limiting liability differently from the + terms of sections 15 and 16 of this License; or + + b) Requiring preservation of specified reasonable legal notices or + author attributions in that material or in the Appropriate Legal + Notices displayed by works containing it; or + + c) Prohibiting misrepresentation of the origin of that material, or + requiring that modified versions of such material be marked in + reasonable ways as different from the original version; or + + d) Limiting the use for publicity purposes of names of licensors or + authors of the material; or + + e) Declining to grant rights under trademark law for use of some + trade names, trademarks, or service marks; or + + f) Requiring indemnification of licensors and authors of that + material by anyone who conveys the material (or modified versions of + it) with contractual assumptions of liability to the recipient, for + any liability that these contractual assumptions directly impose on + those licensors and authors. + + All other non-permissive additional terms are considered "further +restrictions" within the meaning of section 10. If the Program as you +received it, or any part of it, contains a notice stating that it is +governed by this License along with a term that is a further +restriction, you may remove that term. If a license document contains +a further restriction but permits relicensing or conveying under this +License, you may add to a covered work material governed by the terms +of that license document, provided that the further restriction does +not survive such relicensing or conveying. + + If you add terms to a covered work in accord with this section, you +must place, in the relevant source files, a statement of the +additional terms that apply to those files, or a notice indicating +where to find the applicable terms. + + Additional terms, permissive or non-permissive, may be stated in the +form of a separately written license, or stated as exceptions; +the above requirements apply either way. + + 8. Termination. + + You may not propagate or modify a covered work except as expressly +provided under this License. Any attempt otherwise to propagate or +modify it is void, and will automatically terminate your rights under +this License (including any patent licenses granted under the third +paragraph of section 11). + + However, if you cease all violation of this License, then your +license from a particular copyright holder is reinstated (a) +provisionally, unless and until the copyright holder explicitly and +finally terminates your license, and (b) permanently, if the copyright +holder fails to notify you of the violation by some reasonable means +prior to 60 days after the cessation. + + Moreover, your license from a particular copyright holder is +reinstated permanently if the copyright holder notifies you of the +violation by some reasonable means, this is the first time you have +received notice of violation of this License (for any work) from that +copyright holder, and you cure the violation prior to 30 days after +your receipt of the notice. + + Termination of your rights under this section does not terminate the +licenses of parties who have received copies or rights from you under +this License. If your rights have been terminated and not permanently +reinstated, you do not qualify to receive new licenses for the same +material under section 10. + + 9. Acceptance Not Required for Having Copies. + + You are not required to accept this License in order to receive or +run a copy of the Program. Ancillary propagation of a covered work +occurring solely as a consequence of using peer-to-peer transmission +to receive a copy likewise does not require acceptance. However, +nothing other than this License grants you permission to propagate or +modify any covered work. These actions infringe copyright if you do +not accept this License. Therefore, by modifying or propagating a +covered work, you indicate your acceptance of this License to do so. + + 10. Automatic Licensing of Downstream Recipients. + + Each time you convey a covered work, the recipient automatically +receives a license from the original licensors, to run, modify and +propagate that work, subject to this License. You are not responsible +for enforcing compliance by third parties with this License. + + An "entity transaction" is a transaction transferring control of an +organization, or substantially all assets of one, or subdividing an +organization, or merging organizations. If propagation of a covered +work results from an entity transaction, each party to that +transaction who receives a copy of the work also receives whatever +licenses to the work the party's predecessor in interest had or could +give under the previous paragraph, plus a right to possession of the +Corresponding Source of the work from the predecessor in interest, if +the predecessor has it or can get it with reasonable efforts. + + You may not impose any further restrictions on the exercise of the +rights granted or affirmed under this License. For example, you may +not impose a license fee, royalty, or other charge for exercise of +rights granted under this License, and you may not initiate litigation +(including a cross-claim or counterclaim in a lawsuit) alleging that +any patent claim is infringed by making, using, selling, offering for +sale, or importing the Program or any portion of it. + + 11. Patents. + + A "contributor" is a copyright holder who authorizes use under this +License of the Program or a work on which the Program is based. The +work thus licensed is called the contributor's "contributor version". + + A contributor's "essential patent claims" are all patent claims +owned or controlled by the contributor, whether already acquired or +hereafter acquired, that would be infringed by some manner, permitted +by this License, of making, using, or selling its contributor version, +but do not include claims that would be infringed only as a +consequence of further modification of the contributor version. For +purposes of this definition, "control" includes the right to grant +patent sublicenses in a manner consistent with the requirements of +this License. + + Each contributor grants you a non-exclusive, worldwide, royalty-free +patent license under the contributor's essential patent claims, to +make, use, sell, offer for sale, import and otherwise run, modify and +propagate the contents of its contributor version. + + In the following three paragraphs, a "patent license" is any express +agreement or commitment, however denominated, not to enforce a patent +(such as an express permission to practice a patent or covenant not to +sue for patent infringement). To "grant" such a patent license to a +party means to make such an agreement or commitment not to enforce a +patent against the party. + + If you convey a covered work, knowingly relying on a patent license, +and the Corresponding Source of the work is not available for anyone +to copy, free of charge and under the terms of this License, through a +publicly available network server or other readily accessible means, +then you must either (1) cause the Corresponding Source to be so +available, or (2) arrange to deprive yourself of the benefit of the +patent license for this particular work, or (3) arrange, in a manner +consistent with the requirements of this License, to extend the patent +license to downstream recipients. "Knowingly relying" means you have +actual knowledge that, but for the patent license, your conveying the +covered work in a country, or your recipient's use of the covered work +in a country, would infringe one or more identifiable patents in that +country that you have reason to believe are valid. + + If, pursuant to or in connection with a single transaction or +arrangement, you convey, or propagate by procuring conveyance of, a +covered work, and grant a patent license to some of the parties +receiving the covered work authorizing them to use, propagate, modify +or convey a specific copy of the covered work, then the patent license +you grant is automatically extended to all recipients of the covered +work and works based on it. + + A patent license is "discriminatory" if it does not include within +the scope of its coverage, prohibits the exercise of, or is +conditioned on the non-exercise of one or more of the rights that are +specifically granted under this License. You may not convey a covered +work if you are a party to an arrangement with a third party that is +in the business of distributing software, under which you make payment +to the third party based on the extent of your activity of conveying +the work, and under which the third party grants, to any of the +parties who would receive the covered work from you, a discriminatory +patent license (a) in connection with copies of the covered work +conveyed by you (or copies made from those copies), or (b) primarily +for and in connection with specific products or compilations that +contain the covered work, unless you entered into that arrangement, +or that patent license was granted, prior to 28 March 2007. + + Nothing in this License shall be construed as excluding or limiting +any implied license or other defenses to infringement that may +otherwise be available to you under applicable patent law. + + 12. No Surrender of Others' Freedom. + + If conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot convey a +covered work so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you may +not convey it at all. For example, if you agree to terms that obligate you +to collect a royalty for further conveying from those to whom you convey +the Program, the only way you could satisfy both those terms and this +License would be to refrain entirely from conveying the Program. + + 13. Remote Network Interaction; Use with the GNU General Public License. + + Notwithstanding any other provision of this License, if you modify the +Program, your modified version must prominently offer all users +interacting with it remotely through a computer network (if your version +supports such interaction) an opportunity to receive the Corresponding +Source of your version by providing access to the Corresponding Source +from a network server at no charge, through some standard or customary +means of facilitating copying of software. This Corresponding Source +shall include the Corresponding Source for any work covered by version 3 +of the GNU General Public License that is incorporated pursuant to the +following paragraph. + + Notwithstanding any other provision of this License, you have +permission to link or combine any covered work with a work licensed +under version 3 of the GNU General Public License into a single +combined work, and to convey the resulting work. The terms of this +License will continue to apply to the part which is the covered work, +but the work with which it is combined will remain governed by version +3 of the GNU General Public License. + + 14. Revised Versions of this License. + + The Free Software Foundation may publish revised and/or new versions of +the GNU Affero General Public License from time to time. Such new versions +will be similar in spirit to the present version, but may differ in detail to +address new problems or concerns. + + Each version is given a distinguishing version number. If the +Program specifies that a certain numbered version of the GNU Affero General +Public License "or any later version" applies to it, you have the +option of following the terms and conditions either of that numbered +version or of any later version published by the Free Software +Foundation. If the Program does not specify a version number of the +GNU Affero General Public License, you may choose any version ever published +by the Free Software Foundation. + + If the Program specifies that a proxy can decide which future +versions of the GNU Affero General Public License can be used, that proxy's +public statement of acceptance of a version permanently authorizes you +to choose that version for the Program. + + Later license versions may give you additional or different +permissions. However, no additional obligations are imposed on any +author or copyright holder as a result of your choosing to follow a +later version. + + 15. Disclaimer of Warranty. + + THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY +APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT +HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY +OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM +IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF +ALL NECESSARY SERVICING, REPAIR OR CORRECTION. + + 16. Limitation of Liability. + + IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS +THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY +GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE +USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF +DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD +PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), +EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF +SUCH DAMAGES. + + 17. Interpretation of Sections 15 and 16. + + If the disclaimer of warranty and limitation of liability provided +above cannot be given local legal effect according to their terms, +reviewing courts shall apply local law that most closely approximates +an absolute waiver of all civil liability in connection with the +Program, unless a warranty or assumption of liability accompanies a +copy of the Program in return for a fee. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Programs + + If you develop a new program, and you want it to be of the greatest +possible use to the public, the best way to achieve this is to make it +free software which everyone can redistribute and change under these terms. + + To do so, attach the following notices to the program. It is safest +to attach them to the start of each source file to most effectively +state the exclusion of warranty; and each file should have at least +the "copyright" line and a pointer to where the full notice is found. + + + Copyright (C) + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU Affero General Public License as published + by the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Affero General Public License for more details. + + You should have received a copy of the GNU Affero General Public License + along with this program. If not, see . + +Also add information on how to contact you by electronic and paper mail. + + If your software can interact with users remotely through a computer +network, you should also make sure that it provides a way for users to +get its source. For example, if your program is a web application, its +interface could display a "Source" link that leads users to an archive +of the code. There are many ways you could offer source, and different +solutions will be better for different programs; see section 13 for the +specific requirements. + + You should also get your employer (if you work as a programmer) or school, +if any, to sign a "copyright disclaimer" for the program, if necessary. +For more information on this, and how to apply and follow the GNU AGPL, see +. diff --git a/Core/linux-mirrorlist/PKGBUILD b/Core/linux-mirrorlist/PKGBUILD new file mode 100644 index 0000000..93819f3 --- /dev/null +++ b/Core/linux-mirrorlist/PKGBUILD @@ -0,0 +1,34 @@ +# Maintainer: Valeria Fadeeva + +_gitname="$(basename $(pwd))" +pkgname=("melawy-$_gitname") +pkgver=1.2 +pkgrel=1 +pkgdesc="$(head -n 2 README.md | tail -n 1)" +arch=('any') +url="https://git.melawy.ru/Melawy-Linux/$_gitname" +license=('AGPL') +depends=("pacman") +optdepends=() +makedepends=("git") +backup=() +provides=("${pkgname}") +conflicts=("${pkgname}") +source=("git+$url.git") +sha256sums=("SKIP") +validpgpkeys=('BC8B600E8DDA1F4CB77B10D2BA803A261A5EE6B8') + +# pkgver() { +# cd "$srcdir/$_gitname" +# printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" +# } + +pkgver() { + cd "$srcdir/$_gitname" + printf "1.%s" "$(git rev-list --count HEAD)" +} + +package() { + install -dm755 "$pkgdir/etc/pacman.d/" + install -m644 "${srcdir}/$_gitname/${pkgname}" "$pkgdir/etc/pacman.d/melawy-linux-mirrorlist" +} diff --git a/Core/linux-mirrorlist/README.md b/Core/linux-mirrorlist/README.md new file mode 100644 index 0000000..4b5da0b --- /dev/null +++ b/Core/linux-mirrorlist/README.md @@ -0,0 +1,11 @@ +# melawy-linux-mirrorlist +Melawy Linux mirror list for use by pacman + +### Donate +[Tinkoff](https://www.tinkoff.ru/rm/fadeeva.valeriya96/9bLRi79066) + +[YooMoney](https://yoomoney.ru/to/4100115921160758) + +[Qiwi](https://qiwi.com/n/VALERIAFADEEVA) + +Etherium 0x981FBf878fe451BDB83BEaF68078394d4B13213f diff --git a/Core/make.sh b/Core/make.sh new file mode 100755 index 0000000..a7a627b --- /dev/null +++ b/Core/make.sh @@ -0,0 +1,60 @@ +#!/bin/bash + +REPO="/data/github/active/Melawy/REPO/melawy/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 + + for i in *.pkg.tar.zst; + do + if [ -f "${i}" ]; then + echo "Удаление подписи $i.sig" + rm -f $i.sig + echo "Добавление подписи $i.sig" + gpg --detach-sign --local-user BC8B600E8DDA1F4CB77B10D2BA803A261A5EE6B8 --output "$i.sig" "$i" + fi + done + + for i in *.pkg.tar.xz; + do + if [ -f "${i}" ]; then + echo "Удаление подписи $i.sig" + rm -f $i.sig + echo "Добавление подписи $i.sig" + gpg --detach-sign --local-user BC8B600E8DDA1F4CB77B10D2BA803A261A5EE6B8 --output "$i.sig" "$i" + fi + done + + package_file=$(ls -1 | grep -v "pkg.tar.zst.sig" | grep "pkg.tar.zst") + if [ -f "$CWD/$package_dir/$package_file" ]; then + mv -v $CWD/$package_dir/$package_file $REPO/ + fi + + package_file=$(ls -1 | grep -v "pkg.tar.xz.sig" | grep "pkg.tar.xz") + if [ -f "$CWD/$package_dir/$package_file" ]; then + mv -v $CWD/$package_dir/$package_file $REPO/ + fi + + package_file=$(ls -1 | grep "pkg.tar.xz.sig") + if [ -f "$CWD/$package_dir/$package_file" ]; then + + mv -v $CWD/$package_dir/$package_file $REPO/ + fi + + package_file=$(ls -1 | grep "pkg.tar.zst.sig") + if [ -f "$CWD/$package_dir/$package_file" ]; then + + mv -v $CWD/$package_dir/$package_file $REPO/ + fi + + cd $CWD +done + +echo "melawy" | beep -f 200 -l 250 -d 100 -r 1 -n -s +notify-send -a "$(basename $(pwd)): Make and Move to" -t 999999999 "$REPO" "$(date '+%Y.%m.%d %H:%M:%S')" diff --git a/Core/melawy-hooks/.gitignore b/Core/melawy-hooks/.gitignore new file mode 100644 index 0000000..b209499 --- /dev/null +++ b/Core/melawy-hooks/.gitignore @@ -0,0 +1,4 @@ +*.tar.* +pkg/ +src/ +/melawy-hooks diff --git a/Core/melawy-hooks/00_make.sh b/Core/melawy-hooks/00_make.sh new file mode 100755 index 0000000..02a0d1e --- /dev/null +++ b/Core/melawy-hooks/00_make.sh @@ -0,0 +1,27 @@ +#!/bin/bash + +makepkg --syncdeps --asdeps --needed --noconfirm --clean --cleanbuild --force + +for i in *.pkg.tar.zst; +do + if [ -f "${i}" ]; then + echo "Удаление подписи $i.sig" + rm -f $i.sig + echo "Добавление подписи $i.sig" + gpg --detach-sign --local-user BC8B600E8DDA1F4CB77B10D2BA803A261A5EE6B8 --output "$i.sig" "$i" + fi +done + +for i in *.pkg.tar.xz; +do + if [ -f "${i}" ]; then + echo "Удаление подписи $i.sig" + rm -f $i.sig + echo "Добавление подписи $i.sig" + gpg --detach-sign --local-user BC8B600E8DDA1F4CB77B10D2BA803A261A5EE6B8 --output "$i.sig" "$i" + fi +done + + +echo "melawy" | beep -f 200 -l 250 -d 100 -r 1 -n -s +notify-send -a "$(basename $(pwd)): Make" -t 999999999 "Make finished" "$(date '+%Y.%m.%d %H:%M:%S')" diff --git a/Core/melawy-hooks/01_sign.sh b/Core/melawy-hooks/01_sign.sh new file mode 100755 index 0000000..77055f1 --- /dev/null +++ b/Core/melawy-hooks/01_sign.sh @@ -0,0 +1,21 @@ +#!/bin/bash + +for i in *.pkg.tar.zst; +do + if [ -f "${i}" ]; then + echo "Удаление подписи $i.sig" + rm -f $i.sig + echo "Добавление подписи $i.sig" + gpg --detach-sign --local-user BC8B600E8DDA1F4CB77B10D2BA803A261A5EE6B8 --output "$i.sig" "$i" + fi +done + +for i in *.pkg.tar.xz; +do + if [ -f "${i}" ]; then + echo "Удаление подписи $i.sig" + rm -f $i.sig + echo "Добавление подписи $i.sig" + gpg --detach-sign --local-user BC8B600E8DDA1F4CB77B10D2BA803A261A5EE6B8 --output "$i.sig" "$i" + fi +done diff --git a/Core/melawy-hooks/PKGBUILD b/Core/melawy-hooks/PKGBUILD new file mode 100644 index 0000000..b83824e --- /dev/null +++ b/Core/melawy-hooks/PKGBUILD @@ -0,0 +1,33 @@ +# Maintainer: Valeria Fadeeva + +_gitname="$(basename $(pwd))" +pkgname=("$_gitname") +pkgver=1.1 +pkgrel=1 +pkgdesc="$(head -n 2 README.md | tail -n 1)" +url="https://git.melawy.ru/Melawy-Linux/$_gitname" +arch=("any") +license=("AGPL3") +depends=() +optdepends=() +makedepends=("git") +backup=() +provides=("${pkgname}") +conflicts=("${pkgname}") +source=("git+$url.git") +sha256sums=("SKIP") +validpgpkeys=('BC8B600E8DDA1F4CB77B10D2BA803A261A5EE6B8') + +# pkgver() { +# cd "$srcdir/$_gitname" +# printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" +# } + +pkgver() { + cd "$srcdir/$_gitname" + printf "1.%s" "$(git rev-list --count HEAD)" +} + +package() { + cp -vrf --no-dereference --preserve=links "$srcdir/$_gitname/usr" "$pkgdir/" +} diff --git a/Core/melawy-hooks/README.md b/Core/melawy-hooks/README.md new file mode 100644 index 0000000..357649a --- /dev/null +++ b/Core/melawy-hooks/README.md @@ -0,0 +1,11 @@ +# melawy-hooks +lsb-release, os-release + +### Donate +[Tinkoff](https://www.tinkoff.ru/rm/fadeeva.valeriya96/9bLRi79066) + +[YooMoney](https://yoomoney.ru/to/4100115921160758) + +[Qiwi](https://qiwi.com/n/VALERIAFADEEVA) + +Etherium 0x981FBf878fe451BDB83BEaF68078394d4B13213f diff --git a/Core/pwd.txt b/Core/pwd.txt new file mode 100644 index 0000000..a32715d --- /dev/null +++ b/Core/pwd.txt @@ -0,0 +1 @@ +/data/github/active/Melawy/PKGBUILD-git.melawy.ru/Core \ No newline at end of file diff --git a/Core/refind-menu-generator/.gitignore b/Core/refind-menu-generator/.gitignore new file mode 100644 index 0000000..1c29d9a --- /dev/null +++ b/Core/refind-menu-generator/.gitignore @@ -0,0 +1,4 @@ +*.tar.* +pkg/ +src/ +/refind-menu-generator diff --git a/Core/refind-menu-generator/00_make.sh b/Core/refind-menu-generator/00_make.sh new file mode 100755 index 0000000..02a0d1e --- /dev/null +++ b/Core/refind-menu-generator/00_make.sh @@ -0,0 +1,27 @@ +#!/bin/bash + +makepkg --syncdeps --asdeps --needed --noconfirm --clean --cleanbuild --force + +for i in *.pkg.tar.zst; +do + if [ -f "${i}" ]; then + echo "Удаление подписи $i.sig" + rm -f $i.sig + echo "Добавление подписи $i.sig" + gpg --detach-sign --local-user BC8B600E8DDA1F4CB77B10D2BA803A261A5EE6B8 --output "$i.sig" "$i" + fi +done + +for i in *.pkg.tar.xz; +do + if [ -f "${i}" ]; then + echo "Удаление подписи $i.sig" + rm -f $i.sig + echo "Добавление подписи $i.sig" + gpg --detach-sign --local-user BC8B600E8DDA1F4CB77B10D2BA803A261A5EE6B8 --output "$i.sig" "$i" + fi +done + + +echo "melawy" | beep -f 200 -l 250 -d 100 -r 1 -n -s +notify-send -a "$(basename $(pwd)): Make" -t 999999999 "Make finished" "$(date '+%Y.%m.%d %H:%M:%S')" diff --git a/Core/refind-menu-generator/01_sign.sh b/Core/refind-menu-generator/01_sign.sh new file mode 100755 index 0000000..77055f1 --- /dev/null +++ b/Core/refind-menu-generator/01_sign.sh @@ -0,0 +1,21 @@ +#!/bin/bash + +for i in *.pkg.tar.zst; +do + if [ -f "${i}" ]; then + echo "Удаление подписи $i.sig" + rm -f $i.sig + echo "Добавление подписи $i.sig" + gpg --detach-sign --local-user BC8B600E8DDA1F4CB77B10D2BA803A261A5EE6B8 --output "$i.sig" "$i" + fi +done + +for i in *.pkg.tar.xz; +do + if [ -f "${i}" ]; then + echo "Удаление подписи $i.sig" + rm -f $i.sig + echo "Добавление подписи $i.sig" + gpg --detach-sign --local-user BC8B600E8DDA1F4CB77B10D2BA803A261A5EE6B8 --output "$i.sig" "$i" + fi +done diff --git a/Core/refind-menu-generator/PKGBUILD b/Core/refind-menu-generator/PKGBUILD new file mode 100644 index 0000000..39e2286 --- /dev/null +++ b/Core/refind-menu-generator/PKGBUILD @@ -0,0 +1,45 @@ +# Maintainer: Valeria Fadeeva + +_gitname="$(basename $(pwd))" +pkgname=("melawy-$_gitname") +pkgver=1.18 +pkgrel=1 +pkgdesc="$(head -n 2 README.md | tail -n 1)" +url="https://git.melawy.ru/Melawy-Linux/$_gitname" +arch=("any") +license=("AGPL3") +depends=("refind") +optdepends=("melawy-dracut-ukify" "melawy-dracut-initramfs") +makedepends=("git") +backup=() +provides=("${pkgname}") +conflicts=("${pkgname}") +source=("git+$url.git") +sha256sums=("SKIP") +validpgpkeys=('BC8B600E8DDA1F4CB77B10D2BA803A261A5EE6B8') + +# pkgver() { +# cd "$srcdir/$_gitname" +# printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" +# } + +pkgver() { + cd "$srcdir/$_gitname" + printf "1.%s" "$(git rev-list --count HEAD)" +} + +package() { +# install -Dm644 "${srcdir}/$_gitname/10-refind-menu-pre-install.hook" "${pkgdir}/usr/share/libalpm/hooks/10-refind-menu-pre-install.hook" +# install -Dm644 "${srcdir}/$_gitname/60-refind-menu-remove.hook" "${pkgdir}/usr/share/libalpm/hooks/60-refind-menu-remove.hook" +# install -Dm644 "${srcdir}/$_gitname/90-refind-menu-install.hook" "${pkgdir}/usr/share/libalpm/hooks/90-refind-menu-install.hook" +# install -dm755 "${pkgdir}/etc/refind-menu-generator" +# install -Dm644 "${srcdir}/$_gitname/refind.conf" "${pkgdir}/etc/refind-menu-generator/refind.conf" +# install -Dm644 "${srcdir}/$_gitname/menu-end.txt" "${pkgdir}/etc/refind-menu-generator/menu-end.txt" +# install -Dm644 "${srcdir}/$_gitname/menu-template.txt" "${pkgdir}/etc/refind-menu-generator/menu-template.txt" +# install -Dm644 "${srcdir}/$_gitname/menu-template-efi-first.txt" "${pkgdir}/etc/refind-menu-generator/menu-template-efi-first.txt" +# install -Dm644 "${srcdir}/$_gitname/menu-template-vmlinuz-first.txt" "${pkgdir}/etc/refind-menu-generator/menu-template-vmlinuz-first.txt" +# install -Dm755 "${srcdir}/$_gitname/refind-menu-generator" "${pkgdir}/usr/bin/refind-menu-generator" + + cp -vrf --no-dereference --preserve=links "$srcdir/$_gitname/etc" "$pkgdir/" + cp -vrf --no-dereference --preserve=links "$srcdir/$_gitname/usr" "$pkgdir/" +} diff --git a/Core/refind-menu-generator/README.md b/Core/refind-menu-generator/README.md new file mode 100644 index 0000000..fe96689 --- /dev/null +++ b/Core/refind-menu-generator/README.md @@ -0,0 +1,82 @@ +# melawy-refind-menu-generator +Menu generator for rEFInd loader for kernels in /ESP_PATH/EFI/Linux for Arch Linux + +``` +cat /efi/EFI/refind/manual.conf +``` +``` +menuentry "EFI Arch Linux (linux-xanmod-anbox)" { + icon /EFI/refind/themes/lera-sugar/icons/os_arch.png + ostype Linux + graphics on + + loader /EFI/Linux/linux-xanmod-anbox.efi + + submenuentry "EFI Arch Linux (linux-xanmod-anbox) fallback" { + loader /EFI/Linux/linux-xanmod-anbox-fallback.efi + } + + submenuentry "Terminal" { + add_options "systemd.unit=multi-user.target" + } + + submenuentry "Arch Linux (linux-xanmod-anbox)" { + loader /EFI/Linux/vmlinuz-linux-xanmod-anbox + initrd /EFI/Linux/initramfs-linux-xanmod-anbox.img + options "root=UUID=24f2a700-319b-41f2-853f-c5711cd4081d rw rootflags=subvol=@ quiet splash bgrt_disable nvidia-drm.modeset=1 nvme_load=YES apparmor=1 security=apparmor loglevel=3 systemd.unified_cgroup_hierarchy=0 fsck.mode=force fsck.repair=yes add_efi_memmap initrd=EFI\Linux\intel-ucode.img initrd=EFI\Linux\amd-ucode.img" + } + + submenuentry "Arch Linux (linux-xanmod-anbox) fallback" { + loader /EFI/Linux/vmlinuz-linux-xanmod-anbox + initrd /EFI/Linux/initramfs-linux-xanmod-anbox-fallback.img + options "root=UUID=24f2a700-319b-41f2-853f-c5711cd4081d rw rootflags=subvol=@ quiet splash bgrt_disable nvidia-drm.modeset=1 nvme_load=YES apparmor=1 security=apparmor loglevel=3 systemd.unified_cgroup_hierarchy=0 fsck.mode=force fsck.repair=yes add_efi_memmap initrd=EFI\Linux\intel-ucode.img initrd=EFI\Linux\amd-ucode.img" + } +} + +menuentry "rEFInd HARD" { + icon /EFI/refind/themes/lera-sugar/icons/os_systemd-boot.png + ostype Linux + graphics on + loader /EFI/refind_hard/refind_x64.efi +} + +menuentry "Windows 11" { + icon /EFI/refind/themes/lera-sugar/icons/os_win11.png + ostype Windows + loader /EFI/ms11/Boot/bootmgfw.efi +} + +menuentry "Memtest86+ from EFI" { + icon /EFI/refind/themes/lera-sugar/icons/tool_memtest.png + loader /EFI/memtest/bootx64.efi +} + +menuentry "GRUB" { + icon /EFI/refind/themes/lera-sugar/icons/os_systemd-boot.png + ostype Linux + graphics on + loader /EFI/boot/grubx64.efi + + disabled +} + +menuentry "Systemd Boot" { + icon /EFI/refind/themes/lera-sugar/icons/os_systemd-boot.png + ostype Linux + graphics on + loader /EFI/systemd/systemd-bootx64.efi + + disabled +} + +default_selection "linux" +``` + +### Donate +[Tinkoff](https://www.tinkoff.ru/rm/fadeeva.valeriya96/9bLRi79066) + +[YooMoney](https://yoomoney.ru/to/4100115921160758) + +[Qiwi](https://qiwi.com/n/VALERIAFADEEVA) + +Etherium 0x981FBf878fe451BDB83BEaF68078394d4B13213f diff --git a/Core/skel-liveuser/.gitignore b/Core/skel-liveuser/.gitignore new file mode 100644 index 0000000..b7987c3 --- /dev/null +++ b/Core/skel-liveuser/.gitignore @@ -0,0 +1,4 @@ +*.tar.* +pkg/ +src/ +/skel-liveuser diff --git a/Core/skel-liveuser/00_make.sh b/Core/skel-liveuser/00_make.sh new file mode 100755 index 0000000..02a0d1e --- /dev/null +++ b/Core/skel-liveuser/00_make.sh @@ -0,0 +1,27 @@ +#!/bin/bash + +makepkg --syncdeps --asdeps --needed --noconfirm --clean --cleanbuild --force + +for i in *.pkg.tar.zst; +do + if [ -f "${i}" ]; then + echo "Удаление подписи $i.sig" + rm -f $i.sig + echo "Добавление подписи $i.sig" + gpg --detach-sign --local-user BC8B600E8DDA1F4CB77B10D2BA803A261A5EE6B8 --output "$i.sig" "$i" + fi +done + +for i in *.pkg.tar.xz; +do + if [ -f "${i}" ]; then + echo "Удаление подписи $i.sig" + rm -f $i.sig + echo "Добавление подписи $i.sig" + gpg --detach-sign --local-user BC8B600E8DDA1F4CB77B10D2BA803A261A5EE6B8 --output "$i.sig" "$i" + fi +done + + +echo "melawy" | beep -f 200 -l 250 -d 100 -r 1 -n -s +notify-send -a "$(basename $(pwd)): Make" -t 999999999 "Make finished" "$(date '+%Y.%m.%d %H:%M:%S')" diff --git a/Core/skel-liveuser/01_sign.sh b/Core/skel-liveuser/01_sign.sh new file mode 100755 index 0000000..77055f1 --- /dev/null +++ b/Core/skel-liveuser/01_sign.sh @@ -0,0 +1,21 @@ +#!/bin/bash + +for i in *.pkg.tar.zst; +do + if [ -f "${i}" ]; then + echo "Удаление подписи $i.sig" + rm -f $i.sig + echo "Добавление подписи $i.sig" + gpg --detach-sign --local-user BC8B600E8DDA1F4CB77B10D2BA803A261A5EE6B8 --output "$i.sig" "$i" + fi +done + +for i in *.pkg.tar.xz; +do + if [ -f "${i}" ]; then + echo "Удаление подписи $i.sig" + rm -f $i.sig + echo "Добавление подписи $i.sig" + gpg --detach-sign --local-user BC8B600E8DDA1F4CB77B10D2BA803A261A5EE6B8 --output "$i.sig" "$i" + fi +done diff --git a/Core/skel-liveuser/PKGBUILD b/Core/skel-liveuser/PKGBUILD new file mode 100644 index 0000000..8429208 --- /dev/null +++ b/Core/skel-liveuser/PKGBUILD @@ -0,0 +1,51 @@ +# Maintainer: Valeria Fadeeva + +_gitname="$(basename $(pwd))" +pkgname=("melawy-$_gitname") +pkgver=1.1 +pkgrel=1 +pkgdesc="$(head -n 2 README.md | tail -n 1)" +arch=('any') +url="https://git.melawy.ru/Melawy-Linux/$_gitname" +license=('AGPL3') + +depends=() + +makedepends=('git') + +optdepends=() + +backup=() +provides=("${pkgname}") +conflicts=("${pkgname}") +options=() +source=("git+$url.git") +sha256sums=("SKIP") +validpgpkeys=("BC8B600E8DDA1F4CB77B10D2BA803A261A5EE6B8") + +# pkgver() { +# cd "$srcdir/$_gitname" +# printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" +# } + +pkgver() { + cd "${srcdir}/${_gitname}" + printf "1.%s" "$(git rev-list --count HEAD)" +} + +install=ins.install + +package() { + # Clone file structure + install -d "${pkgdir}/home/" + cp -rT --no-preserve=ownership "${srcdir}/${_gitname}/liveuser/" "${pkgdir}/home/liveuser/" + + # Find all scripts + readarray -d '' scripts < <(find "${pkgdir}/home/liveuser" -type f \( -iname "*.sh" -o -iname "*.bash" \) -print0) + + # Make scripts executable + for script in "${scripts[@]}"; + do + [[ -f ${script} ]] && chmod +x "${script}" + done +} diff --git a/Core/skel-liveuser/README.md b/Core/skel-liveuser/README.md new file mode 100644 index 0000000..f004f4b --- /dev/null +++ b/Core/skel-liveuser/README.md @@ -0,0 +1,11 @@ +# skel-liveuser +Liveuser specific skel setup for Melawy Linux + +### Donate +[Tinkoff](https://www.tinkoff.ru/rm/fadeeva.valeriya96/9bLRi79066) + +[YooMoney](https://yoomoney.ru/to/4100115921160758) + +[Qiwi](https://qiwi.com/n/VALERIAFADEEVA) + +Etherium 0x981FBf878fe451BDB83BEaF68078394d4B13213f diff --git a/Core/skel-liveuser/ins.install b/Core/skel-liveuser/ins.install new file mode 100644 index 0000000..2d92347 --- /dev/null +++ b/Core/skel-liveuser/ins.install @@ -0,0 +1,7 @@ +post_install() { + chown -Rh 1000:1000 /home/liveuser +} + +post_upgrade() { + post_install +} diff --git a/Design/Fenek/plasma-look-and-feel-fenek/.gitignore b/Design/Fenek/plasma-look-and-feel-fenek/.gitignore new file mode 100644 index 0000000..8ab2d15 --- /dev/null +++ b/Design/Fenek/plasma-look-and-feel-fenek/.gitignore @@ -0,0 +1,4 @@ +*.tar.* +pkg/ +src/ +/plasma-look-and-feel-fenek diff --git a/Design/Fenek/plasma-look-and-feel-fenek/00_make.sh b/Design/Fenek/plasma-look-and-feel-fenek/00_make.sh new file mode 100755 index 0000000..02a0d1e --- /dev/null +++ b/Design/Fenek/plasma-look-and-feel-fenek/00_make.sh @@ -0,0 +1,27 @@ +#!/bin/bash + +makepkg --syncdeps --asdeps --needed --noconfirm --clean --cleanbuild --force + +for i in *.pkg.tar.zst; +do + if [ -f "${i}" ]; then + echo "Удаление подписи $i.sig" + rm -f $i.sig + echo "Добавление подписи $i.sig" + gpg --detach-sign --local-user BC8B600E8DDA1F4CB77B10D2BA803A261A5EE6B8 --output "$i.sig" "$i" + fi +done + +for i in *.pkg.tar.xz; +do + if [ -f "${i}" ]; then + echo "Удаление подписи $i.sig" + rm -f $i.sig + echo "Добавление подписи $i.sig" + gpg --detach-sign --local-user BC8B600E8DDA1F4CB77B10D2BA803A261A5EE6B8 --output "$i.sig" "$i" + fi +done + + +echo "melawy" | beep -f 200 -l 250 -d 100 -r 1 -n -s +notify-send -a "$(basename $(pwd)): Make" -t 999999999 "Make finished" "$(date '+%Y.%m.%d %H:%M:%S')" diff --git a/Design/Fenek/plasma-look-and-feel-fenek/01_sign.sh b/Design/Fenek/plasma-look-and-feel-fenek/01_sign.sh new file mode 100755 index 0000000..77055f1 --- /dev/null +++ b/Design/Fenek/plasma-look-and-feel-fenek/01_sign.sh @@ -0,0 +1,21 @@ +#!/bin/bash + +for i in *.pkg.tar.zst; +do + if [ -f "${i}" ]; then + echo "Удаление подписи $i.sig" + rm -f $i.sig + echo "Добавление подписи $i.sig" + gpg --detach-sign --local-user BC8B600E8DDA1F4CB77B10D2BA803A261A5EE6B8 --output "$i.sig" "$i" + fi +done + +for i in *.pkg.tar.xz; +do + if [ -f "${i}" ]; then + echo "Удаление подписи $i.sig" + rm -f $i.sig + echo "Добавление подписи $i.sig" + gpg --detach-sign --local-user BC8B600E8DDA1F4CB77B10D2BA803A261A5EE6B8 --output "$i.sig" "$i" + fi +done diff --git a/Design/Fenek/plasma-look-and-feel-fenek/PKGBUILD b/Design/Fenek/plasma-look-and-feel-fenek/PKGBUILD new file mode 100644 index 0000000..4a1109d --- /dev/null +++ b/Design/Fenek/plasma-look-and-feel-fenek/PKGBUILD @@ -0,0 +1,37 @@ +# Maintainer: Valeria Fadeeva + +_gitname="$(basename $(pwd))" +pkgname=("melawy-$_gitname") +pkgver=1.2 +pkgrel=1 +pkgdesc="$(head -n 2 README.md | tail -n 1)" +url="https://git.melawy.ru/Melawy-Linux/$_gitname" +arch=("any") +license=("AGPL3") +depends=("plasma-desktop") +optdepends=() +makedepends=("git") +backup=() +provides=("${pkgname}") +conflicts=("${pkgname}") +source=("git+$url.git") +sha256sums=("SKIP") +validpgpkeys=('BC8B600E8DDA1F4CB77B10D2BA803A261A5EE6B8') + +THEME_NAME="com.github.Melawy.Fenek.desktop" +THEME_PATH="/usr/share/plasma/look-and-feel" + +# pkgver() { +# cd "$srcdir/$_gitname" +# printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" +# } + +pkgver() { + cd "$srcdir/$_gitname" + printf "1.%s" "$(git rev-list --count HEAD)" +} + +package() { + install -d "$pkgdir$THEME_PATH" + cp -vrf --no-dereference --preserve=links "$srcdir/$_gitname/$THEME_NAME" "$pkgdir$THEME_PATH/" +} diff --git a/Design/Fenek/plasma-look-and-feel-fenek/README.md b/Design/Fenek/plasma-look-and-feel-fenek/README.md new file mode 100644 index 0000000..26f41b8 --- /dev/null +++ b/Design/Fenek/plasma-look-and-feel-fenek/README.md @@ -0,0 +1,11 @@ +# melawy-plasma-look-and-feel-fenek +Splash screen after login for theme Fenek + +### Donate +[Tinkoff](https://www.tinkoff.ru/rm/fadeeva.valeriya96/9bLRi79066) + +[YooMoney](https://yoomoney.ru/to/4100115921160758) + +[Qiwi](https://qiwi.com/n/VALERIAFADEEVA) + +Etherium 0x981FBf878fe451BDB83BEaF68078394d4B13213f diff --git a/Design/Fenek/plymouth-theme-fenek/.gitignore b/Design/Fenek/plymouth-theme-fenek/.gitignore new file mode 100644 index 0000000..c192daa --- /dev/null +++ b/Design/Fenek/plymouth-theme-fenek/.gitignore @@ -0,0 +1,4 @@ +*.tar.* +pkg/ +src/ +/plymouth-theme-fenek diff --git a/Design/Fenek/plymouth-theme-fenek/00_make.sh b/Design/Fenek/plymouth-theme-fenek/00_make.sh new file mode 100755 index 0000000..02a0d1e --- /dev/null +++ b/Design/Fenek/plymouth-theme-fenek/00_make.sh @@ -0,0 +1,27 @@ +#!/bin/bash + +makepkg --syncdeps --asdeps --needed --noconfirm --clean --cleanbuild --force + +for i in *.pkg.tar.zst; +do + if [ -f "${i}" ]; then + echo "Удаление подписи $i.sig" + rm -f $i.sig + echo "Добавление подписи $i.sig" + gpg --detach-sign --local-user BC8B600E8DDA1F4CB77B10D2BA803A261A5EE6B8 --output "$i.sig" "$i" + fi +done + +for i in *.pkg.tar.xz; +do + if [ -f "${i}" ]; then + echo "Удаление подписи $i.sig" + rm -f $i.sig + echo "Добавление подписи $i.sig" + gpg --detach-sign --local-user BC8B600E8DDA1F4CB77B10D2BA803A261A5EE6B8 --output "$i.sig" "$i" + fi +done + + +echo "melawy" | beep -f 200 -l 250 -d 100 -r 1 -n -s +notify-send -a "$(basename $(pwd)): Make" -t 999999999 "Make finished" "$(date '+%Y.%m.%d %H:%M:%S')" diff --git a/Design/Fenek/plymouth-theme-fenek/01_sign.sh b/Design/Fenek/plymouth-theme-fenek/01_sign.sh new file mode 100755 index 0000000..77055f1 --- /dev/null +++ b/Design/Fenek/plymouth-theme-fenek/01_sign.sh @@ -0,0 +1,21 @@ +#!/bin/bash + +for i in *.pkg.tar.zst; +do + if [ -f "${i}" ]; then + echo "Удаление подписи $i.sig" + rm -f $i.sig + echo "Добавление подписи $i.sig" + gpg --detach-sign --local-user BC8B600E8DDA1F4CB77B10D2BA803A261A5EE6B8 --output "$i.sig" "$i" + fi +done + +for i in *.pkg.tar.xz; +do + if [ -f "${i}" ]; then + echo "Удаление подписи $i.sig" + rm -f $i.sig + echo "Добавление подписи $i.sig" + gpg --detach-sign --local-user BC8B600E8DDA1F4CB77B10D2BA803A261A5EE6B8 --output "$i.sig" "$i" + fi +done diff --git a/Design/Fenek/plymouth-theme-fenek/PKGBUILD b/Design/Fenek/plymouth-theme-fenek/PKGBUILD new file mode 100644 index 0000000..c1fa3fc --- /dev/null +++ b/Design/Fenek/plymouth-theme-fenek/PKGBUILD @@ -0,0 +1,37 @@ +# Maintainer: Valeria Fadeeva + +_gitname="$(basename $(pwd))" +pkgname=("melawy-$_gitname") +pkgver=1.13 +pkgrel=1 +pkgdesc="$(head -n 2 README.md | tail -n 1)" +url="https://git.melawy.ru/Melawy-Linux/$_gitname" +arch=("any") +license=("AGPL3") +depends=("plymouth") +optdepends=() +makedepends=("git") +backup=() +provides=("${pkgname}") +conflicts=("${pkgname}") +source=("git+$url.git") +sha256sums=("SKIP") +validpgpkeys=('BC8B600E8DDA1F4CB77B10D2BA803A261A5EE6B8') + +THEME_NAME="melawy-fenek" +THEME_PATH="/usr/share/plymouth/themes" + +# pkgver() { +# cd "$srcdir/$_gitname" +# printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" +# } + +pkgver() { + cd "$srcdir/$_gitname" + printf "1.%s" "$(git rev-list --count HEAD)" +} + +package() { + install -d "$pkgdir$THEME_PATH" + cp -vrf --no-dereference --preserve=links "$srcdir/$_gitname/$THEME_NAME" "$pkgdir$THEME_PATH/" +} diff --git a/Design/Fenek/plymouth-theme-fenek/README.md b/Design/Fenek/plymouth-theme-fenek/README.md new file mode 100644 index 0000000..8025f8f --- /dev/null +++ b/Design/Fenek/plymouth-theme-fenek/README.md @@ -0,0 +1,11 @@ +# melawy-plymouth-theme-fenek +Plymouth theme for theme Fenek + +### Donate +[Tinkoff](https://www.tinkoff.ru/rm/fadeeva.valeriya96/9bLRi79066) + +[YooMoney](https://yoomoney.ru/to/4100115921160758) + +[Qiwi](https://qiwi.com/n/VALERIAFADEEVA) + +Etherium 0x981FBf878fe451BDB83BEaF68078394d4B13213f diff --git a/Design/Fenek/plymouth-theme-hard-install-fenek/.gitignore b/Design/Fenek/plymouth-theme-hard-install-fenek/.gitignore new file mode 100644 index 0000000..5b7e085 --- /dev/null +++ b/Design/Fenek/plymouth-theme-hard-install-fenek/.gitignore @@ -0,0 +1,4 @@ +*.tar.* +pkg/ +src/ +/plymouth-theme-hard-install-fenek diff --git a/Design/Fenek/plymouth-theme-hard-install-fenek/00_make.sh b/Design/Fenek/plymouth-theme-hard-install-fenek/00_make.sh new file mode 100755 index 0000000..02a0d1e --- /dev/null +++ b/Design/Fenek/plymouth-theme-hard-install-fenek/00_make.sh @@ -0,0 +1,27 @@ +#!/bin/bash + +makepkg --syncdeps --asdeps --needed --noconfirm --clean --cleanbuild --force + +for i in *.pkg.tar.zst; +do + if [ -f "${i}" ]; then + echo "Удаление подписи $i.sig" + rm -f $i.sig + echo "Добавление подписи $i.sig" + gpg --detach-sign --local-user BC8B600E8DDA1F4CB77B10D2BA803A261A5EE6B8 --output "$i.sig" "$i" + fi +done + +for i in *.pkg.tar.xz; +do + if [ -f "${i}" ]; then + echo "Удаление подписи $i.sig" + rm -f $i.sig + echo "Добавление подписи $i.sig" + gpg --detach-sign --local-user BC8B600E8DDA1F4CB77B10D2BA803A261A5EE6B8 --output "$i.sig" "$i" + fi +done + + +echo "melawy" | beep -f 200 -l 250 -d 100 -r 1 -n -s +notify-send -a "$(basename $(pwd)): Make" -t 999999999 "Make finished" "$(date '+%Y.%m.%d %H:%M:%S')" diff --git a/Design/Fenek/plymouth-theme-hard-install-fenek/01_sign.sh b/Design/Fenek/plymouth-theme-hard-install-fenek/01_sign.sh new file mode 100755 index 0000000..77055f1 --- /dev/null +++ b/Design/Fenek/plymouth-theme-hard-install-fenek/01_sign.sh @@ -0,0 +1,21 @@ +#!/bin/bash + +for i in *.pkg.tar.zst; +do + if [ -f "${i}" ]; then + echo "Удаление подписи $i.sig" + rm -f $i.sig + echo "Добавление подписи $i.sig" + gpg --detach-sign --local-user BC8B600E8DDA1F4CB77B10D2BA803A261A5EE6B8 --output "$i.sig" "$i" + fi +done + +for i in *.pkg.tar.xz; +do + if [ -f "${i}" ]; then + echo "Удаление подписи $i.sig" + rm -f $i.sig + echo "Добавление подписи $i.sig" + gpg --detach-sign --local-user BC8B600E8DDA1F4CB77B10D2BA803A261A5EE6B8 --output "$i.sig" "$i" + fi +done diff --git a/Design/Fenek/plymouth-theme-hard-install-fenek/PKGBUILD b/Design/Fenek/plymouth-theme-hard-install-fenek/PKGBUILD new file mode 100755 index 0000000..4effd8e --- /dev/null +++ b/Design/Fenek/plymouth-theme-hard-install-fenek/PKGBUILD @@ -0,0 +1,19 @@ +# Maintainer: Valeria Fadeeva + +pkgname='melawy-plymouth-theme-hard-install-fenek' +pkgver=1.0 +pkgrel=1 +pkgdesc='Liveuser specific plymouth theme hard install Fenek for Melawy Linux' +arch=('any') +url='https://git.melawy.ru/Melawy-Linux' +license=('AGPL3') +source=() +depends=('melawy-plymouth-theme-fenek') +conflict=('plymouth-theme-hard-install-lera-sugar' 'plymouth-theme-hard-install-nier-a2') + +install=ins.install + +package() { + echo -e "[Daemon]\nTheme=melawy-fenek\nDeviceScale=1\nDeviceTimeout=8\nShowDelay=0" > "${srcdir}/plymouthd.melawy-fenek" + install -Dm644 "${srcdir}/plymouthd.melawy-fenek" "${pkgdir}/usr/share/plymouth/plymouthd.melawy-fenek" +} diff --git a/Design/Fenek/plymouth-theme-hard-install-fenek/ins.install b/Design/Fenek/plymouth-theme-hard-install-fenek/ins.install new file mode 100644 index 0000000..80a2994 --- /dev/null +++ b/Design/Fenek/plymouth-theme-hard-install-fenek/ins.install @@ -0,0 +1,6 @@ +post_install() { + plymouth-set-default-theme --reset + plymouth-set-default-theme melawy-fenek + plymouth-set-default-theme --rebuild-initrd melawy-fenek +} + diff --git a/Design/Fenek/refind-theme-fenek/.gitignore b/Design/Fenek/refind-theme-fenek/.gitignore new file mode 100644 index 0000000..a9b85ef --- /dev/null +++ b/Design/Fenek/refind-theme-fenek/.gitignore @@ -0,0 +1,4 @@ +*.tar.* +pkg/ +src/ +/refind-theme-fenek diff --git a/Design/Fenek/refind-theme-fenek/00_make.sh b/Design/Fenek/refind-theme-fenek/00_make.sh new file mode 100755 index 0000000..02a0d1e --- /dev/null +++ b/Design/Fenek/refind-theme-fenek/00_make.sh @@ -0,0 +1,27 @@ +#!/bin/bash + +makepkg --syncdeps --asdeps --needed --noconfirm --clean --cleanbuild --force + +for i in *.pkg.tar.zst; +do + if [ -f "${i}" ]; then + echo "Удаление подписи $i.sig" + rm -f $i.sig + echo "Добавление подписи $i.sig" + gpg --detach-sign --local-user BC8B600E8DDA1F4CB77B10D2BA803A261A5EE6B8 --output "$i.sig" "$i" + fi +done + +for i in *.pkg.tar.xz; +do + if [ -f "${i}" ]; then + echo "Удаление подписи $i.sig" + rm -f $i.sig + echo "Добавление подписи $i.sig" + gpg --detach-sign --local-user BC8B600E8DDA1F4CB77B10D2BA803A261A5EE6B8 --output "$i.sig" "$i" + fi +done + + +echo "melawy" | beep -f 200 -l 250 -d 100 -r 1 -n -s +notify-send -a "$(basename $(pwd)): Make" -t 999999999 "Make finished" "$(date '+%Y.%m.%d %H:%M:%S')" diff --git a/Design/Fenek/refind-theme-fenek/01_sign.sh b/Design/Fenek/refind-theme-fenek/01_sign.sh new file mode 100755 index 0000000..77055f1 --- /dev/null +++ b/Design/Fenek/refind-theme-fenek/01_sign.sh @@ -0,0 +1,21 @@ +#!/bin/bash + +for i in *.pkg.tar.zst; +do + if [ -f "${i}" ]; then + echo "Удаление подписи $i.sig" + rm -f $i.sig + echo "Добавление подписи $i.sig" + gpg --detach-sign --local-user BC8B600E8DDA1F4CB77B10D2BA803A261A5EE6B8 --output "$i.sig" "$i" + fi +done + +for i in *.pkg.tar.xz; +do + if [ -f "${i}" ]; then + echo "Удаление подписи $i.sig" + rm -f $i.sig + echo "Добавление подписи $i.sig" + gpg --detach-sign --local-user BC8B600E8DDA1F4CB77B10D2BA803A261A5EE6B8 --output "$i.sig" "$i" + fi +done diff --git a/Design/Fenek/refind-theme-fenek/PKGBUILD b/Design/Fenek/refind-theme-fenek/PKGBUILD new file mode 100644 index 0000000..1f71d00 --- /dev/null +++ b/Design/Fenek/refind-theme-fenek/PKGBUILD @@ -0,0 +1,39 @@ +# Maintainer: Valeria Fadeeva + +_gitname="$(basename $(pwd))" +pkgname=("melawy-$_gitname") +pkgver=1.3 +pkgrel=1 +pkgdesc="$(head -n 2 README.md | tail -n 1)" +url="https://git.melawy.ru/Melawy-Linux/$_gitname" +arch=("any") +license=("AGPL3") +depends=("refind") +optdepends=() +makedepends=("git") +backup=() +provides=("${pkgname}") +conflicts=("${pkgname}") +source=("git+$url.git") +sha256sums=("SKIP") +validpgpkeys=('BC8B600E8DDA1F4CB77B10D2BA803A261A5EE6B8') + +THEME_NAME="melawy-fenek" +THEME_PATH="usr/share/refind/themes" + +install=ins.install + +# pkgver() { +# cd "$srcdir/$_gitname" +# printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" +# } + +pkgver() { + cd "$srcdir/$_gitname" + printf "1.%s" "$(git rev-list --count HEAD)" +} + +package() { + install -d "$pkgdir/$THEME_PATH" + cp -vrf --no-dereference --preserve=links "$srcdir/$_gitname/$THEME_NAME" "$pkgdir/$THEME_PATH/" +} diff --git a/Design/Fenek/refind-theme-fenek/README.md b/Design/Fenek/refind-theme-fenek/README.md new file mode 100644 index 0000000..d4bbc7b --- /dev/null +++ b/Design/Fenek/refind-theme-fenek/README.md @@ -0,0 +1,11 @@ +# melawy-refind-theme-fenek +rEFInd bootloader theme Fenek + +### Donate +[Tinkoff](https://www.tinkoff.ru/rm/fadeeva.valeriya96/9bLRi79066) + +[YooMoney](https://yoomoney.ru/to/4100115921160758) + +[Qiwi](https://qiwi.com/n/VALERIAFADEEVA) + +Etherium 0x981FBf878fe451BDB83BEaF68078394d4B13213f diff --git a/Design/Fenek/refind-theme-fenek/ins.install b/Design/Fenek/refind-theme-fenek/ins.install new file mode 100644 index 0000000..10a4eef --- /dev/null +++ b/Design/Fenek/refind-theme-fenek/ins.install @@ -0,0 +1,116 @@ +post_install() { + THEME_NAME="melawy-fenek" + local install_dir="/usr/share/refind/themes/$THEME_NAME" + + echo "Searching rEFInd installation in EFI partition..." + if ! __has_esp__; then + echo "EFI partition not found" >&2 + exit 1 + fi + + REFIND_DIR=$(find "$ESP" -type d -iname refind) + if ! [[ -d "${REFIND_DIR}" ]]; then + echo "rEFInd not installed in $ESP" >&2 + exit 1 + fi + echo "Found rEFInd in ${REFIND_DIR}" + + echo "Installing theme in ${REFIND_DIR}/themes" + cd ${install_dir} + install -D -m0644 -t "${REFIND_DIR}/themes/$THEME_NAME/" *.conf + find . -exec install -D {} "${REFIND_DIR}/themes/$THEME_NAME/{}" \; + + cp -vrf "$install_dir" "${REFIND_DIR}/themes/$THEME_NAME/" + + REFIND_CONF_PATH="${REFIND_DIR}/refind.conf" + EFI_THEME_PATH="${REFIND_DIR}/themes" + + RESULT=$(grep "theme" $REFIND_CONF_PATH) + + if [[ "$?" = "0" ]]; then + CURRENT_THEME=$(echo $RESULT | cut -d"/" -f2) + if [[ "$?" = "0" ]]; then + sed -e "s/$CURRENT_THEME/$THEME_NAME/g" -i $REFIND_CONF_PATH + fi + else + if [[ -z "$(tail -n 1 -c 1 $REFIND_CONF_PATH)" ]];then + echo "include themes/$THEME_NAME/theme.conf" >> $REFIND_CONF_PATH + else + echo -e "\ninclude themes/$THEME_NAME/theme.conf" >> $REFIND_CONF_PATH + fi + fi +} + +post_upgrade() { + post_install +} + +post_remove() { + THEME_NAME="melawy-fenek" + + echo "Removal of theme from EFI partition" + + echo "Searching rEFInd installation in EFI partition..." + if ! __has_esp__; then + echo "EFI partition not found" >&2 + exit 1 + fi + + REFIND_DIR=$(find "$ESP" -type d -iname refind) + if ! [[ -d "${REFIND_DIR}" ]]; then + echo "rEFInd not installed in $ESP" >&2 + exit 1 + fi + echo "Found rEFInd in ${REFIND_DIR}" + + REFIND_CONF_PATH="${REFIND_DIR}/refind.conf" + sed -i "/$THEME_NAME/d" $REFIND_CONF_PATH + + if ! [[ -d "${REFIND_DIR}/themes/$THEME_NAME" ]]; then + echo "Theme already uninstalled" + exit 0 + fi + + rm -r "${REFIND_DIR}/themes/$THEME_NAME" + echo "Theme uninstalled from ${REFIND_DIR}/themes/$THEME_NAME" +} + +# Copied from https://raw.githubusercontent.com/jaltuna/refind-theme-nord/main/setup.sh +# Verify EFI System Partition +__has_esp__() { + __find_esp__ + + mount "$ESP" &>/dev/null + [[ -d "$ESP/EFI" ]] && return 0 || return 1 +} + +__find_esp__() { + local parttype + local fstype + local device + + while read -r device; do + read -r parttype fstype ESP <<<"$(lsblk -o "PARTTYPE,FSTYPE,MOUNTPOINT" "$device" 2>/dev/null | awk 'NR==2')" + + [[ "${parttype,,}" != "c12a7328-f81f-11d2-ba4b-00a0c93ec93b" ]] && continue + [[ "${fstype,,}" != "vfat" ]] && continue + [[ -z $(findmnt -sn "$ESP") ]] && continue + + done <<<"$(fdisk -l 2>/dev/null | grep -i efi | cut -d " " -f 1)" + + if [ -z "${ESP}" ]; then + ESP=$(grep -i "/efi" /etc/fstab | awk '{print $2}') + if [ -z "${ESP}" ]; then + ESP=$(grep -i "/boot" /etc/fstab | awk '{print $2}') + if [ -z "${ESP}" ]; then + ESP=$(bootctl --print-esp-path) + if [ -z "${ESP}" ]; then + exit 1 + fi + fi + fi + fi + + echo "Found ${ESP}" + readonly ESP +} diff --git a/Design/Fenek/sddm-theme-fenek/.gitignore b/Design/Fenek/sddm-theme-fenek/.gitignore new file mode 100644 index 0000000..60402a5 --- /dev/null +++ b/Design/Fenek/sddm-theme-fenek/.gitignore @@ -0,0 +1,4 @@ +*.tar.* +pkg/ +src/ +/sddm-theme-fenek diff --git a/Design/Fenek/sddm-theme-fenek/00_make.sh b/Design/Fenek/sddm-theme-fenek/00_make.sh new file mode 100755 index 0000000..02a0d1e --- /dev/null +++ b/Design/Fenek/sddm-theme-fenek/00_make.sh @@ -0,0 +1,27 @@ +#!/bin/bash + +makepkg --syncdeps --asdeps --needed --noconfirm --clean --cleanbuild --force + +for i in *.pkg.tar.zst; +do + if [ -f "${i}" ]; then + echo "Удаление подписи $i.sig" + rm -f $i.sig + echo "Добавление подписи $i.sig" + gpg --detach-sign --local-user BC8B600E8DDA1F4CB77B10D2BA803A261A5EE6B8 --output "$i.sig" "$i" + fi +done + +for i in *.pkg.tar.xz; +do + if [ -f "${i}" ]; then + echo "Удаление подписи $i.sig" + rm -f $i.sig + echo "Добавление подписи $i.sig" + gpg --detach-sign --local-user BC8B600E8DDA1F4CB77B10D2BA803A261A5EE6B8 --output "$i.sig" "$i" + fi +done + + +echo "melawy" | beep -f 200 -l 250 -d 100 -r 1 -n -s +notify-send -a "$(basename $(pwd)): Make" -t 999999999 "Make finished" "$(date '+%Y.%m.%d %H:%M:%S')" diff --git a/Design/Fenek/sddm-theme-fenek/01_sign.sh b/Design/Fenek/sddm-theme-fenek/01_sign.sh new file mode 100755 index 0000000..77055f1 --- /dev/null +++ b/Design/Fenek/sddm-theme-fenek/01_sign.sh @@ -0,0 +1,21 @@ +#!/bin/bash + +for i in *.pkg.tar.zst; +do + if [ -f "${i}" ]; then + echo "Удаление подписи $i.sig" + rm -f $i.sig + echo "Добавление подписи $i.sig" + gpg --detach-sign --local-user BC8B600E8DDA1F4CB77B10D2BA803A261A5EE6B8 --output "$i.sig" "$i" + fi +done + +for i in *.pkg.tar.xz; +do + if [ -f "${i}" ]; then + echo "Удаление подписи $i.sig" + rm -f $i.sig + echo "Добавление подписи $i.sig" + gpg --detach-sign --local-user BC8B600E8DDA1F4CB77B10D2BA803A261A5EE6B8 --output "$i.sig" "$i" + fi +done diff --git a/Design/Fenek/sddm-theme-fenek/PKGBUILD b/Design/Fenek/sddm-theme-fenek/PKGBUILD new file mode 100644 index 0000000..7a6a74a --- /dev/null +++ b/Design/Fenek/sddm-theme-fenek/PKGBUILD @@ -0,0 +1,37 @@ +# Maintainer: Valeria Fadeeva + +_gitname="$(basename $(pwd))" +pkgname=("melawy-$_gitname") +pkgver=1.1 +pkgrel=1 +pkgdesc="$(head -n 2 README.md | tail -n 1)" +url="https://git.melawy.ru/Melawy-Linux/$_gitname" +arch=("any") +license=("AGPL3") +depends=("sddm" "plasma-desktop") +optdepends=() +makedepends=("git") +backup=() +provides=("${pkgname}") +conflicts=("${pkgname}") +source=("git+$url.git") +sha256sums=("SKIP") +validpgpkeys=('BC8B600E8DDA1F4CB77B10D2BA803A261A5EE6B8') + +THEME_NAME="Melawy-Fenek" +THEME_PATH="/usr/share/sddm/themes" + +# pkgver() { +# cd "$srcdir/$_gitname" +# printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" +# } + +pkgver() { + cd "$srcdir/$_gitname" + printf "1.%s" "$(git rev-list --count HEAD)" +} + +package() { + install -d "$pkgdir$THEME_PATH" + cp -vrf --no-dereference --preserve=links "$srcdir/$_gitname/$THEME_NAME" "$pkgdir$THEME_PATH/" +} diff --git a/Design/Fenek/sddm-theme-fenek/README.md b/Design/Fenek/sddm-theme-fenek/README.md new file mode 100644 index 0000000..3860470 --- /dev/null +++ b/Design/Fenek/sddm-theme-fenek/README.md @@ -0,0 +1,11 @@ +# melawy-sddm-theme-fenek +SDDM theme for theme Fenek + +### Donate +[Tinkoff](https://www.tinkoff.ru/rm/fadeeva.valeriya96/9bLRi79066) + +[YooMoney](https://yoomoney.ru/to/4100115921160758) + +[Qiwi](https://qiwi.com/n/VALERIAFADEEVA) + +Etherium 0x981FBf878fe451BDB83BEaF68078394d4B13213f diff --git a/Design/Fenek/wallpaper-fenek/.gitignore b/Design/Fenek/wallpaper-fenek/.gitignore new file mode 100644 index 0000000..0a643c3 --- /dev/null +++ b/Design/Fenek/wallpaper-fenek/.gitignore @@ -0,0 +1,4 @@ +*.tar.* +pkg/ +src/ +/wallpaper-fenek diff --git a/Design/Fenek/wallpaper-fenek/00_make.sh b/Design/Fenek/wallpaper-fenek/00_make.sh new file mode 100755 index 0000000..02a0d1e --- /dev/null +++ b/Design/Fenek/wallpaper-fenek/00_make.sh @@ -0,0 +1,27 @@ +#!/bin/bash + +makepkg --syncdeps --asdeps --needed --noconfirm --clean --cleanbuild --force + +for i in *.pkg.tar.zst; +do + if [ -f "${i}" ]; then + echo "Удаление подписи $i.sig" + rm -f $i.sig + echo "Добавление подписи $i.sig" + gpg --detach-sign --local-user BC8B600E8DDA1F4CB77B10D2BA803A261A5EE6B8 --output "$i.sig" "$i" + fi +done + +for i in *.pkg.tar.xz; +do + if [ -f "${i}" ]; then + echo "Удаление подписи $i.sig" + rm -f $i.sig + echo "Добавление подписи $i.sig" + gpg --detach-sign --local-user BC8B600E8DDA1F4CB77B10D2BA803A261A5EE6B8 --output "$i.sig" "$i" + fi +done + + +echo "melawy" | beep -f 200 -l 250 -d 100 -r 1 -n -s +notify-send -a "$(basename $(pwd)): Make" -t 999999999 "Make finished" "$(date '+%Y.%m.%d %H:%M:%S')" diff --git a/Design/Fenek/wallpaper-fenek/01_sign.sh b/Design/Fenek/wallpaper-fenek/01_sign.sh new file mode 100755 index 0000000..77055f1 --- /dev/null +++ b/Design/Fenek/wallpaper-fenek/01_sign.sh @@ -0,0 +1,21 @@ +#!/bin/bash + +for i in *.pkg.tar.zst; +do + if [ -f "${i}" ]; then + echo "Удаление подписи $i.sig" + rm -f $i.sig + echo "Добавление подписи $i.sig" + gpg --detach-sign --local-user BC8B600E8DDA1F4CB77B10D2BA803A261A5EE6B8 --output "$i.sig" "$i" + fi +done + +for i in *.pkg.tar.xz; +do + if [ -f "${i}" ]; then + echo "Удаление подписи $i.sig" + rm -f $i.sig + echo "Добавление подписи $i.sig" + gpg --detach-sign --local-user BC8B600E8DDA1F4CB77B10D2BA803A261A5EE6B8 --output "$i.sig" "$i" + fi +done diff --git a/Design/Fenek/wallpaper-fenek/PKGBUILD b/Design/Fenek/wallpaper-fenek/PKGBUILD new file mode 100644 index 0000000..3cb703e --- /dev/null +++ b/Design/Fenek/wallpaper-fenek/PKGBUILD @@ -0,0 +1,37 @@ +# Maintainer: Valeria Fadeeva + +_gitname="$(basename $(pwd))" +pkgname=("melawy-$_gitname") +pkgver=1.4 +pkgrel=1 +pkgdesc="$(head -n 2 README.md | tail -n 1)" +url="https://git.melawy.ru/Melawy-Linux/$_gitname" +arch=("any") +license=("AGPL3") +depends=("plasma-desktop") +optdepends=() +makedepends=("git") +backup=() +provides=("${pkgname}") +conflicts=("${pkgname}") +source=("git+$url.git") +sha256sums=("SKIP") +validpgpkeys=('BC8B600E8DDA1F4CB77B10D2BA803A261A5EE6B8') + +THEME_NAME="Melawy Fenek" +THEME_PATH="/usr/share/wallpapers" + +# pkgver() { +# cd "$srcdir/$_gitname" +# printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" +# } + +pkgver() { + cd "$srcdir/$_gitname" + printf "1.%s" "$(git rev-list --count HEAD)" +} + +package() { + install -d "$pkgdir$THEME_PATH" + cp -vrf --no-dereference --preserve=links "$srcdir/$_gitname/$THEME_NAME" "$pkgdir$THEME_PATH/" +} diff --git a/Design/Fenek/wallpaper-fenek/README.md b/Design/Fenek/wallpaper-fenek/README.md new file mode 100644 index 0000000..48a15a0 --- /dev/null +++ b/Design/Fenek/wallpaper-fenek/README.md @@ -0,0 +1,11 @@ +# melawy-wallpaper-fenek +Wallpaper for theme Fenek + +### Donate +[Tinkoff](https://www.tinkoff.ru/rm/fadeeva.valeriya96/9bLRi79066) + +[YooMoney](https://yoomoney.ru/to/4100115921160758) + +[Qiwi](https://qiwi.com/n/VALERIAFADEEVA) + +Etherium 0x981FBf878fe451BDB83BEaF68078394d4B13213f diff --git a/Design/Lera-Sugar/plasma-look-and-feel-lera-sugar/.gitignore b/Design/Lera-Sugar/plasma-look-and-feel-lera-sugar/.gitignore new file mode 100644 index 0000000..872ad87 --- /dev/null +++ b/Design/Lera-Sugar/plasma-look-and-feel-lera-sugar/.gitignore @@ -0,0 +1,4 @@ +*.tar.* +pkg/ +src/ +/plasma-look-and-feel-lera-sugar diff --git a/Design/Lera-Sugar/plasma-look-and-feel-lera-sugar/00_make.sh b/Design/Lera-Sugar/plasma-look-and-feel-lera-sugar/00_make.sh new file mode 100755 index 0000000..02a0d1e --- /dev/null +++ b/Design/Lera-Sugar/plasma-look-and-feel-lera-sugar/00_make.sh @@ -0,0 +1,27 @@ +#!/bin/bash + +makepkg --syncdeps --asdeps --needed --noconfirm --clean --cleanbuild --force + +for i in *.pkg.tar.zst; +do + if [ -f "${i}" ]; then + echo "Удаление подписи $i.sig" + rm -f $i.sig + echo "Добавление подписи $i.sig" + gpg --detach-sign --local-user BC8B600E8DDA1F4CB77B10D2BA803A261A5EE6B8 --output "$i.sig" "$i" + fi +done + +for i in *.pkg.tar.xz; +do + if [ -f "${i}" ]; then + echo "Удаление подписи $i.sig" + rm -f $i.sig + echo "Добавление подписи $i.sig" + gpg --detach-sign --local-user BC8B600E8DDA1F4CB77B10D2BA803A261A5EE6B8 --output "$i.sig" "$i" + fi +done + + +echo "melawy" | beep -f 200 -l 250 -d 100 -r 1 -n -s +notify-send -a "$(basename $(pwd)): Make" -t 999999999 "Make finished" "$(date '+%Y.%m.%d %H:%M:%S')" diff --git a/Design/Lera-Sugar/plasma-look-and-feel-lera-sugar/01_sign.sh b/Design/Lera-Sugar/plasma-look-and-feel-lera-sugar/01_sign.sh new file mode 100755 index 0000000..77055f1 --- /dev/null +++ b/Design/Lera-Sugar/plasma-look-and-feel-lera-sugar/01_sign.sh @@ -0,0 +1,21 @@ +#!/bin/bash + +for i in *.pkg.tar.zst; +do + if [ -f "${i}" ]; then + echo "Удаление подписи $i.sig" + rm -f $i.sig + echo "Добавление подписи $i.sig" + gpg --detach-sign --local-user BC8B600E8DDA1F4CB77B10D2BA803A261A5EE6B8 --output "$i.sig" "$i" + fi +done + +for i in *.pkg.tar.xz; +do + if [ -f "${i}" ]; then + echo "Удаление подписи $i.sig" + rm -f $i.sig + echo "Добавление подписи $i.sig" + gpg --detach-sign --local-user BC8B600E8DDA1F4CB77B10D2BA803A261A5EE6B8 --output "$i.sig" "$i" + fi +done diff --git a/Design/Lera-Sugar/plasma-look-and-feel-lera-sugar/PKGBUILD b/Design/Lera-Sugar/plasma-look-and-feel-lera-sugar/PKGBUILD new file mode 100644 index 0000000..40bb3fa --- /dev/null +++ b/Design/Lera-Sugar/plasma-look-and-feel-lera-sugar/PKGBUILD @@ -0,0 +1,37 @@ +# Maintainer: Valeria Fadeeva + +_gitname="$(basename $(pwd))" +pkgname=("melawy-$_gitname") +pkgver=1.12 +pkgrel=1 +pkgdesc="$(head -n 2 README.md | tail -n 1)" +url="https://git.melawy.ru/Melawy-Linux/$_gitname" +arch=("any") +license=("AGPL3") +depends=("plasma-desktop") +optdepends=() +makedepends=("git") +backup=() +provides=("${pkgname}") +conflicts=("${pkgname}") +source=("git+$url.git") +sha256sums=("SKIP") +validpgpkeys=('BC8B600E8DDA1F4CB77B10D2BA803A261A5EE6B8') + +THEME_NAME="com.github.Melawy.Lera-Sugar.desktop" +THEME_PATH="/usr/share/plasma/look-and-feel" + +# pkgver() { +# cd "$srcdir/$_gitname" +# printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" +# } + +pkgver() { + cd "$srcdir/$_gitname" + printf "1.%s" "$(git rev-list --count HEAD)" +} + +package() { + install -d "$pkgdir$THEME_PATH" + cp -vrf --no-dereference --preserve=links "$srcdir/$_gitname/$THEME_NAME" "$pkgdir$THEME_PATH/" +} diff --git a/Design/Lera-Sugar/plasma-look-and-feel-lera-sugar/README.md b/Design/Lera-Sugar/plasma-look-and-feel-lera-sugar/README.md new file mode 100644 index 0000000..487e254 --- /dev/null +++ b/Design/Lera-Sugar/plasma-look-and-feel-lera-sugar/README.md @@ -0,0 +1,11 @@ +# melawy-plasma-look-and-feel-lera-sugar +Splash screen after login for theme Lera Sugar + +### Donate +[Tinkoff](https://www.tinkoff.ru/rm/fadeeva.valeriya96/9bLRi79066) + +[YooMoney](https://yoomoney.ru/to/4100115921160758) + +[Qiwi](https://qiwi.com/n/VALERIAFADEEVA) + +Etherium 0x981FBf878fe451BDB83BEaF68078394d4B13213f diff --git a/Design/Lera-Sugar/plymouth-theme-hard-install-lera-sugar/.gitignore b/Design/Lera-Sugar/plymouth-theme-hard-install-lera-sugar/.gitignore new file mode 100644 index 0000000..0f7a856 --- /dev/null +++ b/Design/Lera-Sugar/plymouth-theme-hard-install-lera-sugar/.gitignore @@ -0,0 +1,4 @@ +*.tar.* +pkg/ +src/ +/plymouth-theme-hard-install-lera-sugar diff --git a/Design/Lera-Sugar/plymouth-theme-hard-install-lera-sugar/00_make.sh b/Design/Lera-Sugar/plymouth-theme-hard-install-lera-sugar/00_make.sh new file mode 100755 index 0000000..02a0d1e --- /dev/null +++ b/Design/Lera-Sugar/plymouth-theme-hard-install-lera-sugar/00_make.sh @@ -0,0 +1,27 @@ +#!/bin/bash + +makepkg --syncdeps --asdeps --needed --noconfirm --clean --cleanbuild --force + +for i in *.pkg.tar.zst; +do + if [ -f "${i}" ]; then + echo "Удаление подписи $i.sig" + rm -f $i.sig + echo "Добавление подписи $i.sig" + gpg --detach-sign --local-user BC8B600E8DDA1F4CB77B10D2BA803A261A5EE6B8 --output "$i.sig" "$i" + fi +done + +for i in *.pkg.tar.xz; +do + if [ -f "${i}" ]; then + echo "Удаление подписи $i.sig" + rm -f $i.sig + echo "Добавление подписи $i.sig" + gpg --detach-sign --local-user BC8B600E8DDA1F4CB77B10D2BA803A261A5EE6B8 --output "$i.sig" "$i" + fi +done + + +echo "melawy" | beep -f 200 -l 250 -d 100 -r 1 -n -s +notify-send -a "$(basename $(pwd)): Make" -t 999999999 "Make finished" "$(date '+%Y.%m.%d %H:%M:%S')" diff --git a/Design/Lera-Sugar/plymouth-theme-hard-install-lera-sugar/01_sign.sh b/Design/Lera-Sugar/plymouth-theme-hard-install-lera-sugar/01_sign.sh new file mode 100755 index 0000000..77055f1 --- /dev/null +++ b/Design/Lera-Sugar/plymouth-theme-hard-install-lera-sugar/01_sign.sh @@ -0,0 +1,21 @@ +#!/bin/bash + +for i in *.pkg.tar.zst; +do + if [ -f "${i}" ]; then + echo "Удаление подписи $i.sig" + rm -f $i.sig + echo "Добавление подписи $i.sig" + gpg --detach-sign --local-user BC8B600E8DDA1F4CB77B10D2BA803A261A5EE6B8 --output "$i.sig" "$i" + fi +done + +for i in *.pkg.tar.xz; +do + if [ -f "${i}" ]; then + echo "Удаление подписи $i.sig" + rm -f $i.sig + echo "Добавление подписи $i.sig" + gpg --detach-sign --local-user BC8B600E8DDA1F4CB77B10D2BA803A261A5EE6B8 --output "$i.sig" "$i" + fi +done diff --git a/Design/Lera-Sugar/plymouth-theme-hard-install-lera-sugar/PKGBUILD b/Design/Lera-Sugar/plymouth-theme-hard-install-lera-sugar/PKGBUILD new file mode 100755 index 0000000..f148f88 --- /dev/null +++ b/Design/Lera-Sugar/plymouth-theme-hard-install-lera-sugar/PKGBUILD @@ -0,0 +1,19 @@ +# Maintainer: Valeria Fadeeva + +pkgname='melawy-plymouth-theme-hard-install-lera-sugar' +pkgver=1.0 +pkgrel=1 +pkgdesc='Liveuser specific plymouth theme hard install Lera Sugar for Melawy Linux' +arch=('any') +url='https://git.melawy.ru/Melawy-Linux' +license=('AGPL3') +source=() +depends=('melawy-plymouth-theme-lera-sugar') +conflict=('melawy-plymouth-theme-hard-install-fenek' 'plymouth-theme-hard-install-nier-a2') + +install=ins.install + +package() { + echo -e "[Daemon]\nTheme=melawy-lera-sugar\nDeviceScale=1\nDeviceTimeout=8\nShowDelay=0" > "${srcdir}/plymouthd.melawy-lera-sugar" + install -Dm644 "${srcdir}/plymouthd.melawy-lera-sugar" "${pkgdir}/usr/share/plymouth/plymouthd.melawy-lera-sugar" +} diff --git a/Design/Lera-Sugar/plymouth-theme-hard-install-lera-sugar/ins.install b/Design/Lera-Sugar/plymouth-theme-hard-install-lera-sugar/ins.install new file mode 100644 index 0000000..b65f99e --- /dev/null +++ b/Design/Lera-Sugar/plymouth-theme-hard-install-lera-sugar/ins.install @@ -0,0 +1,6 @@ +post_install() { + plymouth-set-default-theme --reset + plymouth-set-default-theme melawy-lera-sugar + plymouth-set-default-theme --rebuild-initrd melawy-lera-sugar +} + diff --git a/Design/Lera-Sugar/plymouth-theme-lera-sugar/.gitignore b/Design/Lera-Sugar/plymouth-theme-lera-sugar/.gitignore new file mode 100644 index 0000000..d156518 --- /dev/null +++ b/Design/Lera-Sugar/plymouth-theme-lera-sugar/.gitignore @@ -0,0 +1,4 @@ +*.tar.* +pkg/ +src/ +/plymouth-theme-lera-sugar diff --git a/Design/Lera-Sugar/plymouth-theme-lera-sugar/00_make.sh b/Design/Lera-Sugar/plymouth-theme-lera-sugar/00_make.sh new file mode 100755 index 0000000..02a0d1e --- /dev/null +++ b/Design/Lera-Sugar/plymouth-theme-lera-sugar/00_make.sh @@ -0,0 +1,27 @@ +#!/bin/bash + +makepkg --syncdeps --asdeps --needed --noconfirm --clean --cleanbuild --force + +for i in *.pkg.tar.zst; +do + if [ -f "${i}" ]; then + echo "Удаление подписи $i.sig" + rm -f $i.sig + echo "Добавление подписи $i.sig" + gpg --detach-sign --local-user BC8B600E8DDA1F4CB77B10D2BA803A261A5EE6B8 --output "$i.sig" "$i" + fi +done + +for i in *.pkg.tar.xz; +do + if [ -f "${i}" ]; then + echo "Удаление подписи $i.sig" + rm -f $i.sig + echo "Добавление подписи $i.sig" + gpg --detach-sign --local-user BC8B600E8DDA1F4CB77B10D2BA803A261A5EE6B8 --output "$i.sig" "$i" + fi +done + + +echo "melawy" | beep -f 200 -l 250 -d 100 -r 1 -n -s +notify-send -a "$(basename $(pwd)): Make" -t 999999999 "Make finished" "$(date '+%Y.%m.%d %H:%M:%S')" diff --git a/Design/Lera-Sugar/plymouth-theme-lera-sugar/01_sign.sh b/Design/Lera-Sugar/plymouth-theme-lera-sugar/01_sign.sh new file mode 100755 index 0000000..77055f1 --- /dev/null +++ b/Design/Lera-Sugar/plymouth-theme-lera-sugar/01_sign.sh @@ -0,0 +1,21 @@ +#!/bin/bash + +for i in *.pkg.tar.zst; +do + if [ -f "${i}" ]; then + echo "Удаление подписи $i.sig" + rm -f $i.sig + echo "Добавление подписи $i.sig" + gpg --detach-sign --local-user BC8B600E8DDA1F4CB77B10D2BA803A261A5EE6B8 --output "$i.sig" "$i" + fi +done + +for i in *.pkg.tar.xz; +do + if [ -f "${i}" ]; then + echo "Удаление подписи $i.sig" + rm -f $i.sig + echo "Добавление подписи $i.sig" + gpg --detach-sign --local-user BC8B600E8DDA1F4CB77B10D2BA803A261A5EE6B8 --output "$i.sig" "$i" + fi +done diff --git a/Design/Lera-Sugar/plymouth-theme-lera-sugar/PKGBUILD b/Design/Lera-Sugar/plymouth-theme-lera-sugar/PKGBUILD new file mode 100644 index 0000000..aa80f95 --- /dev/null +++ b/Design/Lera-Sugar/plymouth-theme-lera-sugar/PKGBUILD @@ -0,0 +1,37 @@ +# Maintainer: Valeria Fadeeva + +_gitname="$(basename $(pwd))" +pkgname=("melawy-$_gitname") +pkgver=1.15 +pkgrel=1 +pkgdesc="$(head -n 2 README.md | tail -n 1)" +url="https://git.melawy.ru/Melawy-Linux/$_gitname" +arch=("any") +license=("AGPL3") +depends=("plymouth") +optdepends=() +makedepends=("git") +backup=() +provides=("${pkgname}") +conflicts=("${pkgname}") +source=("git+$url.git") +sha256sums=("SKIP") +validpgpkeys=('BC8B600E8DDA1F4CB77B10D2BA803A261A5EE6B8') + +THEME_NAME="melawy-lera-sugar" +THEME_PATH="/usr/share/plymouth/themes" + +# pkgver() { +# cd "$srcdir/$_gitname" +# printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" +# } + +pkgver() { + cd "$srcdir/$_gitname" + printf "1.%s" "$(git rev-list --count HEAD)" +} + +package() { + install -d "$pkgdir$THEME_PATH" + cp -vrf --no-dereference --preserve=links "$srcdir/$_gitname/$THEME_NAME" "$pkgdir$THEME_PATH/" +} diff --git a/Design/Lera-Sugar/plymouth-theme-lera-sugar/README.md b/Design/Lera-Sugar/plymouth-theme-lera-sugar/README.md new file mode 100644 index 0000000..7e05783 --- /dev/null +++ b/Design/Lera-Sugar/plymouth-theme-lera-sugar/README.md @@ -0,0 +1,11 @@ +# melawy-plymouth-theme-lera-sugar +Plymouth theme for theme Lera Sugar + +### Donate +[Tinkoff](https://www.tinkoff.ru/rm/fadeeva.valeriya96/9bLRi79066) + +[YooMoney](https://yoomoney.ru/to/4100115921160758) + +[Qiwi](https://qiwi.com/n/VALERIAFADEEVA) + +Etherium 0x981FBf878fe451BDB83BEaF68078394d4B13213f diff --git a/Design/Lera-Sugar/refind-theme-lera-sugar/.gitignore b/Design/Lera-Sugar/refind-theme-lera-sugar/.gitignore new file mode 100644 index 0000000..422470b --- /dev/null +++ b/Design/Lera-Sugar/refind-theme-lera-sugar/.gitignore @@ -0,0 +1,4 @@ +*.tar.* +pkg/ +src/ +/refind-theme-lera-sugar diff --git a/Design/Lera-Sugar/refind-theme-lera-sugar/00_make.sh b/Design/Lera-Sugar/refind-theme-lera-sugar/00_make.sh new file mode 100755 index 0000000..02a0d1e --- /dev/null +++ b/Design/Lera-Sugar/refind-theme-lera-sugar/00_make.sh @@ -0,0 +1,27 @@ +#!/bin/bash + +makepkg --syncdeps --asdeps --needed --noconfirm --clean --cleanbuild --force + +for i in *.pkg.tar.zst; +do + if [ -f "${i}" ]; then + echo "Удаление подписи $i.sig" + rm -f $i.sig + echo "Добавление подписи $i.sig" + gpg --detach-sign --local-user BC8B600E8DDA1F4CB77B10D2BA803A261A5EE6B8 --output "$i.sig" "$i" + fi +done + +for i in *.pkg.tar.xz; +do + if [ -f "${i}" ]; then + echo "Удаление подписи $i.sig" + rm -f $i.sig + echo "Добавление подписи $i.sig" + gpg --detach-sign --local-user BC8B600E8DDA1F4CB77B10D2BA803A261A5EE6B8 --output "$i.sig" "$i" + fi +done + + +echo "melawy" | beep -f 200 -l 250 -d 100 -r 1 -n -s +notify-send -a "$(basename $(pwd)): Make" -t 999999999 "Make finished" "$(date '+%Y.%m.%d %H:%M:%S')" diff --git a/Design/Lera-Sugar/refind-theme-lera-sugar/01_sign.sh b/Design/Lera-Sugar/refind-theme-lera-sugar/01_sign.sh new file mode 100755 index 0000000..77055f1 --- /dev/null +++ b/Design/Lera-Sugar/refind-theme-lera-sugar/01_sign.sh @@ -0,0 +1,21 @@ +#!/bin/bash + +for i in *.pkg.tar.zst; +do + if [ -f "${i}" ]; then + echo "Удаление подписи $i.sig" + rm -f $i.sig + echo "Добавление подписи $i.sig" + gpg --detach-sign --local-user BC8B600E8DDA1F4CB77B10D2BA803A261A5EE6B8 --output "$i.sig" "$i" + fi +done + +for i in *.pkg.tar.xz; +do + if [ -f "${i}" ]; then + echo "Удаление подписи $i.sig" + rm -f $i.sig + echo "Добавление подписи $i.sig" + gpg --detach-sign --local-user BC8B600E8DDA1F4CB77B10D2BA803A261A5EE6B8 --output "$i.sig" "$i" + fi +done diff --git a/Design/Lera-Sugar/refind-theme-lera-sugar/PKGBUILD b/Design/Lera-Sugar/refind-theme-lera-sugar/PKGBUILD new file mode 100644 index 0000000..e276d9f --- /dev/null +++ b/Design/Lera-Sugar/refind-theme-lera-sugar/PKGBUILD @@ -0,0 +1,39 @@ +# Maintainer: Valeria Fadeeva + +_gitname="$(basename $(pwd))" +pkgname=("melawy-$_gitname") +pkgver=1.9 +pkgrel=1 +pkgdesc="$(head -n 2 README.md | tail -n 1)" +url="https://git.melawy.ru/Melawy-Linux/$_gitname" +arch=("any") +license=("AGPL3") +depends=("refind") +optdepends=() +makedepends=("git") +backup=() +provides=("${pkgname}") +conflicts=("${pkgname}") +source=("git+$url.git") +sha256sums=("SKIP") +validpgpkeys=('BC8B600E8DDA1F4CB77B10D2BA803A261A5EE6B8') + +THEME_NAME="melawy-lera-sugar" +THEME_PATH="usr/share/refind/themes" + +install=ins.install + +# pkgver() { +# cd "$srcdir/$_gitname" +# printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" +# } + +pkgver() { + cd "$srcdir/$_gitname" + printf "1.%s" "$(git rev-list --count HEAD)" +} + +package() { + install -d "$pkgdir/$THEME_PATH" + cp -vrf --no-dereference --preserve=links "$srcdir/$_gitname/$THEME_NAME" "$pkgdir/$THEME_PATH/" +} diff --git a/Design/Lera-Sugar/refind-theme-lera-sugar/README.md b/Design/Lera-Sugar/refind-theme-lera-sugar/README.md new file mode 100644 index 0000000..b0aa897 --- /dev/null +++ b/Design/Lera-Sugar/refind-theme-lera-sugar/README.md @@ -0,0 +1,11 @@ +# melawy-refind-theme-lera-sugar +rEFInd bootloader theme Lera Sugar + +### Donate +[Tinkoff](https://www.tinkoff.ru/rm/fadeeva.valeriya96/9bLRi79066) + +[YooMoney](https://yoomoney.ru/to/4100115921160758) + +[Qiwi](https://qiwi.com/n/VALERIAFADEEVA) + +Etherium 0x981FBf878fe451BDB83BEaF68078394d4B13213f diff --git a/Design/Lera-Sugar/refind-theme-lera-sugar/ins.install b/Design/Lera-Sugar/refind-theme-lera-sugar/ins.install new file mode 100644 index 0000000..a0d5f29 --- /dev/null +++ b/Design/Lera-Sugar/refind-theme-lera-sugar/ins.install @@ -0,0 +1,116 @@ +post_install() { + THEME_NAME="melawy-lera-sugar" + local install_dir="/usr/share/refind/themes/$THEME_NAME" + + echo "Searching rEFInd installation in EFI partition..." + if ! __has_esp__; then + echo "EFI partition not found" >&2 + exit 1 + fi + + REFIND_DIR=$(find "$ESP" -type d -iname refind) + if ! [[ -d "${REFIND_DIR}" ]]; then + echo "rEFInd not installed in $ESP" >&2 + exit 1 + fi + echo "Found rEFInd in ${REFIND_DIR}" + + echo "Installing theme in ${REFIND_DIR}/themes" + cd ${install_dir} + install -D -m0644 -t "${REFIND_DIR}/themes/$THEME_NAME/" *.conf + find . -exec install -D {} "${REFIND_DIR}/themes/$THEME_NAME/{}" \; + + cp -vrf "$install_dir" "${REFIND_DIR}/themes/$THEME_NAME/" + + REFIND_CONF_PATH="${REFIND_DIR}/refind.conf" + EFI_THEME_PATH="${REFIND_DIR}/themes" + + RESULT=$(grep "theme" $REFIND_CONF_PATH) + + if [[ "$?" = "0" ]]; then + CURRENT_THEME=$(echo $RESULT | cut -d"/" -f2) + if [[ "$?" = "0" ]]; then + sed -e "s/$CURRENT_THEME/$THEME_NAME/g" -i $REFIND_CONF_PATH + fi + else + if [[ -z "$(tail -n 1 -c 1 $REFIND_CONF_PATH)" ]];then + echo "include themes/$THEME_NAME/theme.conf" >> $REFIND_CONF_PATH + else + echo -e "\ninclude themes/$THEME_NAME/theme.conf" >> $REFIND_CONF_PATH + fi + fi +} + +post_upgrade() { + post_install +} + +post_remove() { + THEME_NAME="melawy-lera-sugar" + + echo "Removal of theme from EFI partition" + + echo "Searching rEFInd installation in EFI partition..." + if ! __has_esp__; then + echo "EFI partition not found" >&2 + exit 1 + fi + + REFIND_DIR=$(find "$ESP" -type d -iname refind) + if ! [[ -d "${REFIND_DIR}" ]]; then + echo "rEFInd not installed in $ESP" >&2 + exit 1 + fi + echo "Found rEFInd in ${REFIND_DIR}" + + REFIND_CONF_PATH="${REFIND_DIR}/refind.conf" + sed -i "/$THEME_NAME/d" $REFIND_CONF_PATH + + if ! [[ -d "${REFIND_DIR}/themes/$THEME_NAME" ]]; then + echo "Theme already uninstalled" + exit 0 + fi + + rm -r "${REFIND_DIR}/themes/$THEME_NAME" + echo "Theme uninstalled from ${REFIND_DIR}/themes/$THEME_NAME" +} + +# Copied from https://raw.githubusercontent.com/jaltuna/refind-theme-nord/main/setup.sh +# Verify EFI System Partition +__has_esp__() { + __find_esp__ + + mount "$ESP" &>/dev/null + [[ -d "$ESP/EFI" ]] && return 0 || return 1 +} + +__find_esp__() { + local parttype + local fstype + local device + + while read -r device; do + read -r parttype fstype ESP <<<"$(lsblk -o "PARTTYPE,FSTYPE,MOUNTPOINT" "$device" 2>/dev/null | awk 'NR==2')" + + [[ "${parttype,,}" != "c12a7328-f81f-11d2-ba4b-00a0c93ec93b" ]] && continue + [[ "${fstype,,}" != "vfat" ]] && continue + [[ -z $(findmnt -sn "$ESP") ]] && continue + + done <<<"$(fdisk -l 2>/dev/null | grep -i efi | cut -d " " -f 1)" + + if [ -z "${ESP}" ]; then + ESP=$(grep -i "/efi" /etc/fstab | awk '{print $2}') + if [ -z "${ESP}" ]; then + ESP=$(grep -i "/boot" /etc/fstab | awk '{print $2}') + if [ -z "${ESP}" ]; then + ESP=$(bootctl --print-esp-path) + if [ -z "${ESP}" ]; then + exit 1 + fi + fi + fi + fi + + echo "Found ${ESP}" + readonly ESP +} diff --git a/Design/Lera-Sugar/sddm-theme-lera-sugar/.gitignore b/Design/Lera-Sugar/sddm-theme-lera-sugar/.gitignore new file mode 100644 index 0000000..11baee0 --- /dev/null +++ b/Design/Lera-Sugar/sddm-theme-lera-sugar/.gitignore @@ -0,0 +1,4 @@ +*.tar.* +pkg/ +src/ +/sddm-theme-lera-sugar diff --git a/Design/Lera-Sugar/sddm-theme-lera-sugar/00_make.sh b/Design/Lera-Sugar/sddm-theme-lera-sugar/00_make.sh new file mode 100755 index 0000000..02a0d1e --- /dev/null +++ b/Design/Lera-Sugar/sddm-theme-lera-sugar/00_make.sh @@ -0,0 +1,27 @@ +#!/bin/bash + +makepkg --syncdeps --asdeps --needed --noconfirm --clean --cleanbuild --force + +for i in *.pkg.tar.zst; +do + if [ -f "${i}" ]; then + echo "Удаление подписи $i.sig" + rm -f $i.sig + echo "Добавление подписи $i.sig" + gpg --detach-sign --local-user BC8B600E8DDA1F4CB77B10D2BA803A261A5EE6B8 --output "$i.sig" "$i" + fi +done + +for i in *.pkg.tar.xz; +do + if [ -f "${i}" ]; then + echo "Удаление подписи $i.sig" + rm -f $i.sig + echo "Добавление подписи $i.sig" + gpg --detach-sign --local-user BC8B600E8DDA1F4CB77B10D2BA803A261A5EE6B8 --output "$i.sig" "$i" + fi +done + + +echo "melawy" | beep -f 200 -l 250 -d 100 -r 1 -n -s +notify-send -a "$(basename $(pwd)): Make" -t 999999999 "Make finished" "$(date '+%Y.%m.%d %H:%M:%S')" diff --git a/Design/Lera-Sugar/sddm-theme-lera-sugar/01_sign.sh b/Design/Lera-Sugar/sddm-theme-lera-sugar/01_sign.sh new file mode 100755 index 0000000..77055f1 --- /dev/null +++ b/Design/Lera-Sugar/sddm-theme-lera-sugar/01_sign.sh @@ -0,0 +1,21 @@ +#!/bin/bash + +for i in *.pkg.tar.zst; +do + if [ -f "${i}" ]; then + echo "Удаление подписи $i.sig" + rm -f $i.sig + echo "Добавление подписи $i.sig" + gpg --detach-sign --local-user BC8B600E8DDA1F4CB77B10D2BA803A261A5EE6B8 --output "$i.sig" "$i" + fi +done + +for i in *.pkg.tar.xz; +do + if [ -f "${i}" ]; then + echo "Удаление подписи $i.sig" + rm -f $i.sig + echo "Добавление подписи $i.sig" + gpg --detach-sign --local-user BC8B600E8DDA1F4CB77B10D2BA803A261A5EE6B8 --output "$i.sig" "$i" + fi +done diff --git a/Design/Lera-Sugar/sddm-theme-lera-sugar/PKGBUILD b/Design/Lera-Sugar/sddm-theme-lera-sugar/PKGBUILD new file mode 100644 index 0000000..67655b6 --- /dev/null +++ b/Design/Lera-Sugar/sddm-theme-lera-sugar/PKGBUILD @@ -0,0 +1,37 @@ +# Maintainer: Valeria Fadeeva + +_gitname="$(basename $(pwd))" +pkgname=("melawy-$_gitname") +pkgver=1.8 +pkgrel=1 +pkgdesc="$(head -n 2 README.md | tail -n 1)" +url="https://git.melawy.ru/Melawy-Linux/$_gitname" +arch=("any") +license=("AGPL3") +depends=("sddm" "plasma-desktop") +optdepends=() +makedepends=("git") +backup=() +provides=("${pkgname}") +conflicts=("${pkgname}") +source=("git+$url.git") +sha256sums=("SKIP") +validpgpkeys=('BC8B600E8DDA1F4CB77B10D2BA803A261A5EE6B8') + +THEME_NAME="Melawy-Lera-Sugar" +THEME_PATH="/usr/share/sddm/themes" + +# pkgver() { +# cd "$srcdir/$_gitname" +# printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" +# } + +pkgver() { + cd "$srcdir/$_gitname" + printf "1.%s" "$(git rev-list --count HEAD)" +} + +package() { + install -d "$pkgdir$THEME_PATH" + cp -vrf --no-dereference --preserve=links "$srcdir/$_gitname/$THEME_NAME" "$pkgdir$THEME_PATH/" +} diff --git a/Design/Lera-Sugar/sddm-theme-lera-sugar/README.md b/Design/Lera-Sugar/sddm-theme-lera-sugar/README.md new file mode 100644 index 0000000..5692590 --- /dev/null +++ b/Design/Lera-Sugar/sddm-theme-lera-sugar/README.md @@ -0,0 +1,11 @@ +# melawy-sddm-theme-lera-sugar +SDDM theme for theme Lera Sugar + +### Donate +[Tinkoff](https://www.tinkoff.ru/rm/fadeeva.valeriya96/9bLRi79066) + +[YooMoney](https://yoomoney.ru/to/4100115921160758) + +[Qiwi](https://qiwi.com/n/VALERIAFADEEVA) + +Etherium 0x981FBf878fe451BDB83BEaF68078394d4B13213f diff --git a/Design/Lera-Sugar/wallpaper-lera-sugar/.gitignore b/Design/Lera-Sugar/wallpaper-lera-sugar/.gitignore new file mode 100644 index 0000000..5326188 --- /dev/null +++ b/Design/Lera-Sugar/wallpaper-lera-sugar/.gitignore @@ -0,0 +1,4 @@ +*.tar.* +pkg/ +src/ +/wallpaper-lera-sugar diff --git a/Design/Lera-Sugar/wallpaper-lera-sugar/00_make.sh b/Design/Lera-Sugar/wallpaper-lera-sugar/00_make.sh new file mode 100755 index 0000000..02a0d1e --- /dev/null +++ b/Design/Lera-Sugar/wallpaper-lera-sugar/00_make.sh @@ -0,0 +1,27 @@ +#!/bin/bash + +makepkg --syncdeps --asdeps --needed --noconfirm --clean --cleanbuild --force + +for i in *.pkg.tar.zst; +do + if [ -f "${i}" ]; then + echo "Удаление подписи $i.sig" + rm -f $i.sig + echo "Добавление подписи $i.sig" + gpg --detach-sign --local-user BC8B600E8DDA1F4CB77B10D2BA803A261A5EE6B8 --output "$i.sig" "$i" + fi +done + +for i in *.pkg.tar.xz; +do + if [ -f "${i}" ]; then + echo "Удаление подписи $i.sig" + rm -f $i.sig + echo "Добавление подписи $i.sig" + gpg --detach-sign --local-user BC8B600E8DDA1F4CB77B10D2BA803A261A5EE6B8 --output "$i.sig" "$i" + fi +done + + +echo "melawy" | beep -f 200 -l 250 -d 100 -r 1 -n -s +notify-send -a "$(basename $(pwd)): Make" -t 999999999 "Make finished" "$(date '+%Y.%m.%d %H:%M:%S')" diff --git a/Design/Lera-Sugar/wallpaper-lera-sugar/01_sign.sh b/Design/Lera-Sugar/wallpaper-lera-sugar/01_sign.sh new file mode 100755 index 0000000..77055f1 --- /dev/null +++ b/Design/Lera-Sugar/wallpaper-lera-sugar/01_sign.sh @@ -0,0 +1,21 @@ +#!/bin/bash + +for i in *.pkg.tar.zst; +do + if [ -f "${i}" ]; then + echo "Удаление подписи $i.sig" + rm -f $i.sig + echo "Добавление подписи $i.sig" + gpg --detach-sign --local-user BC8B600E8DDA1F4CB77B10D2BA803A261A5EE6B8 --output "$i.sig" "$i" + fi +done + +for i in *.pkg.tar.xz; +do + if [ -f "${i}" ]; then + echo "Удаление подписи $i.sig" + rm -f $i.sig + echo "Добавление подписи $i.sig" + gpg --detach-sign --local-user BC8B600E8DDA1F4CB77B10D2BA803A261A5EE6B8 --output "$i.sig" "$i" + fi +done diff --git a/Design/Lera-Sugar/wallpaper-lera-sugar/PKGBUILD b/Design/Lera-Sugar/wallpaper-lera-sugar/PKGBUILD new file mode 100644 index 0000000..f551732 --- /dev/null +++ b/Design/Lera-Sugar/wallpaper-lera-sugar/PKGBUILD @@ -0,0 +1,37 @@ +# Maintainer: Valeria Fadeeva + +_gitname="$(basename $(pwd))" +pkgname=("melawy-$_gitname") +pkgver=1.8 +pkgrel=1 +pkgdesc="$(head -n 2 README.md | tail -n 1)" +url="https://git.melawy.ru/Melawy-Linux/$_gitname" +arch=("any") +license=("AGPL3") +depends=("plasma-desktop") +optdepends=() +makedepends=("git") +backup=() +provides=("${pkgname}") +conflicts=("${pkgname}") +source=("git+$url.git") +sha256sums=("SKIP") +validpgpkeys=('BC8B600E8DDA1F4CB77B10D2BA803A261A5EE6B8') + +THEME_NAME="Melawy Lera Sugar" +THEME_PATH="/usr/share/wallpapers" + +# pkgver() { +# cd "$srcdir/$_gitname" +# printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" +# } + +pkgver() { + cd "$srcdir/$_gitname" + printf "1.%s" "$(git rev-list --count HEAD)" +} + +package() { + install -d "$pkgdir$THEME_PATH" + cp -vrf --no-dereference --preserve=links "$srcdir/$_gitname/$THEME_NAME" "$pkgdir$THEME_PATH/" +} diff --git a/Design/Lera-Sugar/wallpaper-lera-sugar/README.md b/Design/Lera-Sugar/wallpaper-lera-sugar/README.md new file mode 100644 index 0000000..88c2922 --- /dev/null +++ b/Design/Lera-Sugar/wallpaper-lera-sugar/README.md @@ -0,0 +1,11 @@ +# melawy-wallpaper-lera-sugar +Wallpaper for theme Lera Sugar + +### Donate +[Tinkoff](https://www.tinkoff.ru/rm/fadeeva.valeriya96/9bLRi79066) + +[YooMoney](https://yoomoney.ru/to/4100115921160758) + +[Qiwi](https://qiwi.com/n/VALERIAFADEEVA) + +Etherium 0x981FBf878fe451BDB83BEaF68078394d4B13213f diff --git a/Design/Melawy/color-scheme-konsole/.gitignore b/Design/Melawy/color-scheme-konsole/.gitignore new file mode 100644 index 0000000..716bb31 --- /dev/null +++ b/Design/Melawy/color-scheme-konsole/.gitignore @@ -0,0 +1,4 @@ +*.tar.* +pkg/ +src/ +/color-scheme-konsole diff --git a/Design/Melawy/color-scheme-konsole/00_make.sh b/Design/Melawy/color-scheme-konsole/00_make.sh new file mode 100755 index 0000000..02a0d1e --- /dev/null +++ b/Design/Melawy/color-scheme-konsole/00_make.sh @@ -0,0 +1,27 @@ +#!/bin/bash + +makepkg --syncdeps --asdeps --needed --noconfirm --clean --cleanbuild --force + +for i in *.pkg.tar.zst; +do + if [ -f "${i}" ]; then + echo "Удаление подписи $i.sig" + rm -f $i.sig + echo "Добавление подписи $i.sig" + gpg --detach-sign --local-user BC8B600E8DDA1F4CB77B10D2BA803A261A5EE6B8 --output "$i.sig" "$i" + fi +done + +for i in *.pkg.tar.xz; +do + if [ -f "${i}" ]; then + echo "Удаление подписи $i.sig" + rm -f $i.sig + echo "Добавление подписи $i.sig" + gpg --detach-sign --local-user BC8B600E8DDA1F4CB77B10D2BA803A261A5EE6B8 --output "$i.sig" "$i" + fi +done + + +echo "melawy" | beep -f 200 -l 250 -d 100 -r 1 -n -s +notify-send -a "$(basename $(pwd)): Make" -t 999999999 "Make finished" "$(date '+%Y.%m.%d %H:%M:%S')" diff --git a/Design/Melawy/color-scheme-konsole/01_sign.sh b/Design/Melawy/color-scheme-konsole/01_sign.sh new file mode 100755 index 0000000..77055f1 --- /dev/null +++ b/Design/Melawy/color-scheme-konsole/01_sign.sh @@ -0,0 +1,21 @@ +#!/bin/bash + +for i in *.pkg.tar.zst; +do + if [ -f "${i}" ]; then + echo "Удаление подписи $i.sig" + rm -f $i.sig + echo "Добавление подписи $i.sig" + gpg --detach-sign --local-user BC8B600E8DDA1F4CB77B10D2BA803A261A5EE6B8 --output "$i.sig" "$i" + fi +done + +for i in *.pkg.tar.xz; +do + if [ -f "${i}" ]; then + echo "Удаление подписи $i.sig" + rm -f $i.sig + echo "Добавление подписи $i.sig" + gpg --detach-sign --local-user BC8B600E8DDA1F4CB77B10D2BA803A261A5EE6B8 --output "$i.sig" "$i" + fi +done diff --git a/Design/Melawy/color-scheme-konsole/PKGBUILD b/Design/Melawy/color-scheme-konsole/PKGBUILD new file mode 100644 index 0000000..780bb9c --- /dev/null +++ b/Design/Melawy/color-scheme-konsole/PKGBUILD @@ -0,0 +1,38 @@ +# Maintainer: Valeria Fadeeva + +_gitname="$(basename $(pwd))" +pkgname=("melawy-$_gitname") +pkgver=1.4 +pkgrel=1 +pkgdesc="$(head -n 2 README.md | tail -n 1)" +url="https://git.melawy.ru/Melawy-Linux/$_gitname" +arch=("any") +license=("AGPL3") +depends=("plasma-desktop") +optdepends=() +makedepends=("git") +backup=() +provides=("${pkgname}") +conflicts=("${pkgname}") +source=("git+$url.git") +sha256sums=("SKIP") +validpgpkeys=('BC8B600E8DDA1F4CB77B10D2BA803A261A5EE6B8') + +THEME_NAME="Melawy" +THEME_PATH="/usr/share/konsole" + +# pkgver() { +# cd "$srcdir/$_gitname" +# printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" +# } + +pkgver() { + cd "$srcdir/$_gitname" + printf "1.%s" "$(git rev-list --count HEAD)" +} + +package() { + install -d "$pkgdir$THEME_PATH" + cp -vrf --no-dereference --preserve=links "$srcdir/$_gitname/$THEME_NAME.colorscheme" "$pkgdir$THEME_PATH/" + cp -vrf --no-dereference --preserve=links "$srcdir/$_gitname/$THEME_NAME.profile" "$pkgdir$THEME_PATH/" +} diff --git a/Design/Melawy/color-scheme-konsole/README.md b/Design/Melawy/color-scheme-konsole/README.md new file mode 100644 index 0000000..dd8d4d9 --- /dev/null +++ b/Design/Melawy/color-scheme-konsole/README.md @@ -0,0 +1,11 @@ +# melawy-color-scheme-konsole +Color profile for Konsole for Melawy Linux + +### Donate +[Tinkoff](https://www.tinkoff.ru/rm/fadeeva.valeriya96/9bLRi79066) + +[YooMoney](https://yoomoney.ru/to/4100115921160758) + +[Qiwi](https://qiwi.com/n/VALERIAFADEEVA) + +Etherium 0x981FBf878fe451BDB83BEaF68078394d4B13213f diff --git a/Design/Melawy/color-scheme/.gitignore b/Design/Melawy/color-scheme/.gitignore new file mode 100644 index 0000000..28736fe --- /dev/null +++ b/Design/Melawy/color-scheme/.gitignore @@ -0,0 +1,4 @@ +*.tar.* +pkg/ +src/ +/color-scheme diff --git a/Design/Melawy/color-scheme/00_make.sh b/Design/Melawy/color-scheme/00_make.sh new file mode 100755 index 0000000..02a0d1e --- /dev/null +++ b/Design/Melawy/color-scheme/00_make.sh @@ -0,0 +1,27 @@ +#!/bin/bash + +makepkg --syncdeps --asdeps --needed --noconfirm --clean --cleanbuild --force + +for i in *.pkg.tar.zst; +do + if [ -f "${i}" ]; then + echo "Удаление подписи $i.sig" + rm -f $i.sig + echo "Добавление подписи $i.sig" + gpg --detach-sign --local-user BC8B600E8DDA1F4CB77B10D2BA803A261A5EE6B8 --output "$i.sig" "$i" + fi +done + +for i in *.pkg.tar.xz; +do + if [ -f "${i}" ]; then + echo "Удаление подписи $i.sig" + rm -f $i.sig + echo "Добавление подписи $i.sig" + gpg --detach-sign --local-user BC8B600E8DDA1F4CB77B10D2BA803A261A5EE6B8 --output "$i.sig" "$i" + fi +done + + +echo "melawy" | beep -f 200 -l 250 -d 100 -r 1 -n -s +notify-send -a "$(basename $(pwd)): Make" -t 999999999 "Make finished" "$(date '+%Y.%m.%d %H:%M:%S')" diff --git a/Design/Melawy/color-scheme/01_sign.sh b/Design/Melawy/color-scheme/01_sign.sh new file mode 100755 index 0000000..77055f1 --- /dev/null +++ b/Design/Melawy/color-scheme/01_sign.sh @@ -0,0 +1,21 @@ +#!/bin/bash + +for i in *.pkg.tar.zst; +do + if [ -f "${i}" ]; then + echo "Удаление подписи $i.sig" + rm -f $i.sig + echo "Добавление подписи $i.sig" + gpg --detach-sign --local-user BC8B600E8DDA1F4CB77B10D2BA803A261A5EE6B8 --output "$i.sig" "$i" + fi +done + +for i in *.pkg.tar.xz; +do + if [ -f "${i}" ]; then + echo "Удаление подписи $i.sig" + rm -f $i.sig + echo "Добавление подписи $i.sig" + gpg --detach-sign --local-user BC8B600E8DDA1F4CB77B10D2BA803A261A5EE6B8 --output "$i.sig" "$i" + fi +done diff --git a/Design/Melawy/color-scheme/PKGBUILD b/Design/Melawy/color-scheme/PKGBUILD new file mode 100644 index 0000000..b35c46a --- /dev/null +++ b/Design/Melawy/color-scheme/PKGBUILD @@ -0,0 +1,37 @@ +# Maintainer: Valeria Fadeeva + +_gitname="$(basename $(pwd))" +pkgname=("melawy-$_gitname") +pkgver=1.4 +pkgrel=1 +pkgdesc="$(head -n 2 README.md | tail -n 1)" +url="https://git.melawy.ru/Melawy-Linux/$_gitname" +arch=("any") +license=("AGPL3") +depends=("plasma-desktop") +optdepends=() +makedepends=("git") +backup=() +provides=("${pkgname}") +conflicts=("${pkgname}") +source=("git+$url.git") +sha256sums=("SKIP") +validpgpkeys=('BC8B600E8DDA1F4CB77B10D2BA803A261A5EE6B8') + +THEME_NAME="Melawy.colors" +THEME_PATH="/usr/share/color-schemes" + +# pkgver() { +# cd "$srcdir/$_gitname" +# printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" +# } + +pkgver() { + cd "$srcdir/$_gitname" + printf "1.%s" "$(git rev-list --count HEAD)" +} + +package() { + install -d "$pkgdir$THEME_PATH" + cp -vrf --no-dereference --preserve=links "$srcdir/$_gitname/$THEME_NAME" "$pkgdir/$THEME_PATH/" +} diff --git a/Design/Melawy/color-scheme/README.md b/Design/Melawy/color-scheme/README.md new file mode 100644 index 0000000..1ea6bbe --- /dev/null +++ b/Design/Melawy/color-scheme/README.md @@ -0,0 +1,11 @@ +# melawy-color-scheme +Color profile for KDE for Melawy Linux + +### Donate +[Tinkoff](https://www.tinkoff.ru/rm/fadeeva.valeriya96/9bLRi79066) + +[YooMoney](https://yoomoney.ru/to/4100115921160758) + +[Qiwi](https://qiwi.com/n/VALERIAFADEEVA) + +Etherium 0x981FBf878fe451BDB83BEaF68078394d4B13213f diff --git a/Design/Melawy/icon-theme/.gitignore b/Design/Melawy/icon-theme/.gitignore new file mode 100644 index 0000000..641b6d6 --- /dev/null +++ b/Design/Melawy/icon-theme/.gitignore @@ -0,0 +1,4 @@ +*.tar.* +pkg/ +src/ +/icon-theme diff --git a/Design/Melawy/icon-theme/00_make.sh b/Design/Melawy/icon-theme/00_make.sh new file mode 100755 index 0000000..02a0d1e --- /dev/null +++ b/Design/Melawy/icon-theme/00_make.sh @@ -0,0 +1,27 @@ +#!/bin/bash + +makepkg --syncdeps --asdeps --needed --noconfirm --clean --cleanbuild --force + +for i in *.pkg.tar.zst; +do + if [ -f "${i}" ]; then + echo "Удаление подписи $i.sig" + rm -f $i.sig + echo "Добавление подписи $i.sig" + gpg --detach-sign --local-user BC8B600E8DDA1F4CB77B10D2BA803A261A5EE6B8 --output "$i.sig" "$i" + fi +done + +for i in *.pkg.tar.xz; +do + if [ -f "${i}" ]; then + echo "Удаление подписи $i.sig" + rm -f $i.sig + echo "Добавление подписи $i.sig" + gpg --detach-sign --local-user BC8B600E8DDA1F4CB77B10D2BA803A261A5EE6B8 --output "$i.sig" "$i" + fi +done + + +echo "melawy" | beep -f 200 -l 250 -d 100 -r 1 -n -s +notify-send -a "$(basename $(pwd)): Make" -t 999999999 "Make finished" "$(date '+%Y.%m.%d %H:%M:%S')" diff --git a/Design/Melawy/icon-theme/01_sign.sh b/Design/Melawy/icon-theme/01_sign.sh new file mode 100755 index 0000000..77055f1 --- /dev/null +++ b/Design/Melawy/icon-theme/01_sign.sh @@ -0,0 +1,21 @@ +#!/bin/bash + +for i in *.pkg.tar.zst; +do + if [ -f "${i}" ]; then + echo "Удаление подписи $i.sig" + rm -f $i.sig + echo "Добавление подписи $i.sig" + gpg --detach-sign --local-user BC8B600E8DDA1F4CB77B10D2BA803A261A5EE6B8 --output "$i.sig" "$i" + fi +done + +for i in *.pkg.tar.xz; +do + if [ -f "${i}" ]; then + echo "Удаление подписи $i.sig" + rm -f $i.sig + echo "Добавление подписи $i.sig" + gpg --detach-sign --local-user BC8B600E8DDA1F4CB77B10D2BA803A261A5EE6B8 --output "$i.sig" "$i" + fi +done diff --git a/Design/Melawy/icon-theme/PKGBUILD b/Design/Melawy/icon-theme/PKGBUILD new file mode 100644 index 0000000..fdbaedc --- /dev/null +++ b/Design/Melawy/icon-theme/PKGBUILD @@ -0,0 +1,48 @@ +# Maintainer: Valeria Fadeeva + +_gitname="$(basename $(pwd))" +pkgname=("melawy-$_gitname") +pkgver=1.16 +pkgrel=1 +pkgdesc="$(head -n 2 README.md | tail -n 1)" +url="https://git.melawy.ru/Melawy-Linux/$_gitname" +arch=("any") +license=("AGPL3") +depends=("gtk-update-icon-cache" "hicolor-icon-theme") +optdepends=() +makedepends=("git") +options=("!strip") +backup=() +provides=("${pkgname}") +conflicts=("${pkgname}") +source=("git+$url.git") +sha256sums=("SKIP") +validpgpkeys=('BC8B600E8DDA1F4CB77B10D2BA803A261A5EE6B8') + +# pkgver() { +# cd "$srcdir/Melawy-icon-theme" +# git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g' +# } + +# pkgver() { +# cd "$srcdir/$_gitname" +# printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" +# } + +pkgver() { + cd "$srcdir/$_gitname" + printf "1.%s" "$(git rev-list --count HEAD)" +} + +prepare() { + cd "$srcdir/icon-theme" + + # Disable running gtk-update-icon-cache + sed -i '/gtk-update-icon-cache/d' install.sh +} + +package() { + cd "$srcdir/icon-theme" + install -d "$pkgdir/usr/share/icons" + ./install.sh -t all -d "$pkgdir/usr/share/icons" +} diff --git a/Design/Melawy/icon-theme/README.md b/Design/Melawy/icon-theme/README.md new file mode 100644 index 0000000..1fab4b1 --- /dev/null +++ b/Design/Melawy/icon-theme/README.md @@ -0,0 +1,11 @@ +# melawy-icon-theme +Icon theme for Melawy Linux + +### Donate +[Tinkoff](https://www.tinkoff.ru/rm/fadeeva.valeriya96/9bLRi79066) + +[YooMoney](https://yoomoney.ru/to/4100115921160758) + +[Qiwi](https://qiwi.com/n/VALERIAFADEEVA) + +Etherium 0x981FBf878fe451BDB83BEaF68078394d4B13213f diff --git a/Design/Melawy/plasma-desktop-theme/.gitignore b/Design/Melawy/plasma-desktop-theme/.gitignore new file mode 100644 index 0000000..4a92379 --- /dev/null +++ b/Design/Melawy/plasma-desktop-theme/.gitignore @@ -0,0 +1,4 @@ +*.tar.* +pkg/ +src/ +/plasma-desktop-theme diff --git a/Design/Melawy/plasma-desktop-theme/00_make.sh b/Design/Melawy/plasma-desktop-theme/00_make.sh new file mode 100755 index 0000000..02a0d1e --- /dev/null +++ b/Design/Melawy/plasma-desktop-theme/00_make.sh @@ -0,0 +1,27 @@ +#!/bin/bash + +makepkg --syncdeps --asdeps --needed --noconfirm --clean --cleanbuild --force + +for i in *.pkg.tar.zst; +do + if [ -f "${i}" ]; then + echo "Удаление подписи $i.sig" + rm -f $i.sig + echo "Добавление подписи $i.sig" + gpg --detach-sign --local-user BC8B600E8DDA1F4CB77B10D2BA803A261A5EE6B8 --output "$i.sig" "$i" + fi +done + +for i in *.pkg.tar.xz; +do + if [ -f "${i}" ]; then + echo "Удаление подписи $i.sig" + rm -f $i.sig + echo "Добавление подписи $i.sig" + gpg --detach-sign --local-user BC8B600E8DDA1F4CB77B10D2BA803A261A5EE6B8 --output "$i.sig" "$i" + fi +done + + +echo "melawy" | beep -f 200 -l 250 -d 100 -r 1 -n -s +notify-send -a "$(basename $(pwd)): Make" -t 999999999 "Make finished" "$(date '+%Y.%m.%d %H:%M:%S')" diff --git a/Design/Melawy/plasma-desktop-theme/01_sign.sh b/Design/Melawy/plasma-desktop-theme/01_sign.sh new file mode 100755 index 0000000..77055f1 --- /dev/null +++ b/Design/Melawy/plasma-desktop-theme/01_sign.sh @@ -0,0 +1,21 @@ +#!/bin/bash + +for i in *.pkg.tar.zst; +do + if [ -f "${i}" ]; then + echo "Удаление подписи $i.sig" + rm -f $i.sig + echo "Добавление подписи $i.sig" + gpg --detach-sign --local-user BC8B600E8DDA1F4CB77B10D2BA803A261A5EE6B8 --output "$i.sig" "$i" + fi +done + +for i in *.pkg.tar.xz; +do + if [ -f "${i}" ]; then + echo "Удаление подписи $i.sig" + rm -f $i.sig + echo "Добавление подписи $i.sig" + gpg --detach-sign --local-user BC8B600E8DDA1F4CB77B10D2BA803A261A5EE6B8 --output "$i.sig" "$i" + fi +done diff --git a/Design/Melawy/plasma-desktop-theme/PKGBUILD b/Design/Melawy/plasma-desktop-theme/PKGBUILD new file mode 100644 index 0000000..7526040 --- /dev/null +++ b/Design/Melawy/plasma-desktop-theme/PKGBUILD @@ -0,0 +1,45 @@ +# Maintainer: Valeria Fadeeva + +_gitname="$(basename $(pwd))" +pkgname=("melawy-$_gitname") +pkgver=1.6 +pkgrel=1 +pkgdesc="$(head -n 2 README.md | tail -n 1)" +url="https://git.melawy.ru/Melawy-Linux/$_gitname" +arch=("any") +license=("AGPL3") +depends=("plasma-desktop") +optdepends=() +makedepends=("git") +backup=() +provides=("${pkgname}") +conflicts=("${pkgname}") +source=("git+$url.git") +sha256sums=("SKIP") +validpgpkeys=('BC8B600E8DDA1F4CB77B10D2BA803A261A5EE6B8') + +THEME_NAME="Melawy" +THEME_PATH1="/usr/share/plasma/desktoptheme" +THEME_PATH2="/usr/share/aurorae/themes" +THEME_PATH3="/usr/share/Kvantum" + +# pkgver() { +# cd "$srcdir/$_gitname" +# printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" +# } + +pkgver() { + cd "$srcdir/$_gitname" + printf "1.%s" "$(git rev-list --count HEAD)" +} + +package() { + install -d "$pkgdir$THEME_PATH1" + cp -vrf --no-dereference --preserve=links "$srcdir/$_gitname/$THEME_NAME" "$pkgdir$THEME_PATH1/" + + install -d "$pkgdir$THEME_PATH2" + cp -vrf --no-dereference --preserve=links "$srcdir/$_gitname/aurorae/themes/$THEME_NAME-dark" "$pkgdir$THEME_PATH2/" + + install -d "$pkgdir$THEME_PATH3" + cp -vrf --no-dereference --preserve=links "$srcdir/$_gitname/Kvantum/$THEME_NAME-dark" "$pkgdir$THEME_PATH3/" +} diff --git a/Design/Melawy/plasma-desktop-theme/README.md b/Design/Melawy/plasma-desktop-theme/README.md new file mode 100644 index 0000000..75343e6 --- /dev/null +++ b/Design/Melawy/plasma-desktop-theme/README.md @@ -0,0 +1,11 @@ +# melawy-plasma-desktop-theme +Desktop theme for KDE for Melawy Linux + +### Donate +[Tinkoff](https://www.tinkoff.ru/rm/fadeeva.valeriya96/9bLRi79066) + +[YooMoney](https://yoomoney.ru/to/4100115921160758) + +[Qiwi](https://qiwi.com/n/VALERIAFADEEVA) + +Etherium 0x981FBf878fe451BDB83BEaF68078394d4B13213f diff --git a/Design/Melawy/purple-dark-cursors/.gitignore b/Design/Melawy/purple-dark-cursors/.gitignore new file mode 100644 index 0000000..e436138 --- /dev/null +++ b/Design/Melawy/purple-dark-cursors/.gitignore @@ -0,0 +1,4 @@ +*.tar.* +pkg/ +src/ +/purple-dark-cursors diff --git a/Design/Melawy/purple-dark-cursors/00_make.sh b/Design/Melawy/purple-dark-cursors/00_make.sh new file mode 100755 index 0000000..02a0d1e --- /dev/null +++ b/Design/Melawy/purple-dark-cursors/00_make.sh @@ -0,0 +1,27 @@ +#!/bin/bash + +makepkg --syncdeps --asdeps --needed --noconfirm --clean --cleanbuild --force + +for i in *.pkg.tar.zst; +do + if [ -f "${i}" ]; then + echo "Удаление подписи $i.sig" + rm -f $i.sig + echo "Добавление подписи $i.sig" + gpg --detach-sign --local-user BC8B600E8DDA1F4CB77B10D2BA803A261A5EE6B8 --output "$i.sig" "$i" + fi +done + +for i in *.pkg.tar.xz; +do + if [ -f "${i}" ]; then + echo "Удаление подписи $i.sig" + rm -f $i.sig + echo "Добавление подписи $i.sig" + gpg --detach-sign --local-user BC8B600E8DDA1F4CB77B10D2BA803A261A5EE6B8 --output "$i.sig" "$i" + fi +done + + +echo "melawy" | beep -f 200 -l 250 -d 100 -r 1 -n -s +notify-send -a "$(basename $(pwd)): Make" -t 999999999 "Make finished" "$(date '+%Y.%m.%d %H:%M:%S')" diff --git a/Design/Melawy/purple-dark-cursors/01_sign.sh b/Design/Melawy/purple-dark-cursors/01_sign.sh new file mode 100755 index 0000000..77055f1 --- /dev/null +++ b/Design/Melawy/purple-dark-cursors/01_sign.sh @@ -0,0 +1,21 @@ +#!/bin/bash + +for i in *.pkg.tar.zst; +do + if [ -f "${i}" ]; then + echo "Удаление подписи $i.sig" + rm -f $i.sig + echo "Добавление подписи $i.sig" + gpg --detach-sign --local-user BC8B600E8DDA1F4CB77B10D2BA803A261A5EE6B8 --output "$i.sig" "$i" + fi +done + +for i in *.pkg.tar.xz; +do + if [ -f "${i}" ]; then + echo "Удаление подписи $i.sig" + rm -f $i.sig + echo "Добавление подписи $i.sig" + gpg --detach-sign --local-user BC8B600E8DDA1F4CB77B10D2BA803A261A5EE6B8 --output "$i.sig" "$i" + fi +done diff --git a/Design/Melawy/purple-dark-cursors/PKGBUILD b/Design/Melawy/purple-dark-cursors/PKGBUILD new file mode 100644 index 0000000..46b4693 --- /dev/null +++ b/Design/Melawy/purple-dark-cursors/PKGBUILD @@ -0,0 +1,40 @@ +# Maintainer: Valeria Fadeeva + +_gitname="$(basename $(pwd))" +pkgname=("melawy-$_gitname") +pkgver=1.3 +pkgrel=1 +pkgdesc="$(head -n 2 README.md | tail -n 1)" +url="https://git.melawy.ru/Melawy-Linux/$_gitname" +arch=("any") +license=("AGPL3") +depends=() +optdepends=() +makedepends=("git") +options=("!strip") +backup=() +provides=("${pkgname}") +conflicts=("${pkgname}") +source=("git+$url.git") +sha256sums=("SKIP") +validpgpkeys=('BC8B600E8DDA1F4CB77B10D2BA803A261A5EE6B8') + +# pkgver() { +# cd "$srcdir/Melawy-icon-theme" +# git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g' +# } + +# pkgver() { +# cd "$srcdir/$_gitname" +# printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" +# } + +pkgver() { + cd "$srcdir/$_gitname" + printf "1.%s" "$(git rev-list --count HEAD)" +} + +package() { + install -d "$pkgdir/usr/share/icons" + cp -r "$srcdir/$_gitname/Melawy-$_gitname" "$pkgdir/usr/share/icons/" +} diff --git a/Design/Melawy/purple-dark-cursors/README.md b/Design/Melawy/purple-dark-cursors/README.md new file mode 100644 index 0000000..1675061 --- /dev/null +++ b/Design/Melawy/purple-dark-cursors/README.md @@ -0,0 +1,15 @@ +# melawy-purple-dark-cursors +Purple dark cursors theme for Melawy Linux + +Building the Bridge Icon set from the Inkscape SVG: + +Dependencies inkscape and xorg-xcursorgen for building. + +### Donate +[Tinkoff](https://www.tinkoff.ru/rm/fadeeva.valeriya96/9bLRi79066) + +[YooMoney](https://yoomoney.ru/to/4100115921160758) + +[Qiwi](https://qiwi.com/n/VALERIAFADEEVA) + +Etherium 0x981FBf878fe451BDB83BEaF68078394d4B13213f diff --git a/Design/Melawy/purple-dark-default-cursors/.gitignore b/Design/Melawy/purple-dark-default-cursors/.gitignore new file mode 100644 index 0000000..667862b --- /dev/null +++ b/Design/Melawy/purple-dark-default-cursors/.gitignore @@ -0,0 +1,4 @@ +*.tar.* +pkg/ +src/ +/purple-dark-default-cursors diff --git a/Design/Melawy/purple-dark-default-cursors/00_make.sh b/Design/Melawy/purple-dark-default-cursors/00_make.sh new file mode 100755 index 0000000..02a0d1e --- /dev/null +++ b/Design/Melawy/purple-dark-default-cursors/00_make.sh @@ -0,0 +1,27 @@ +#!/bin/bash + +makepkg --syncdeps --asdeps --needed --noconfirm --clean --cleanbuild --force + +for i in *.pkg.tar.zst; +do + if [ -f "${i}" ]; then + echo "Удаление подписи $i.sig" + rm -f $i.sig + echo "Добавление подписи $i.sig" + gpg --detach-sign --local-user BC8B600E8DDA1F4CB77B10D2BA803A261A5EE6B8 --output "$i.sig" "$i" + fi +done + +for i in *.pkg.tar.xz; +do + if [ -f "${i}" ]; then + echo "Удаление подписи $i.sig" + rm -f $i.sig + echo "Добавление подписи $i.sig" + gpg --detach-sign --local-user BC8B600E8DDA1F4CB77B10D2BA803A261A5EE6B8 --output "$i.sig" "$i" + fi +done + + +echo "melawy" | beep -f 200 -l 250 -d 100 -r 1 -n -s +notify-send -a "$(basename $(pwd)): Make" -t 999999999 "Make finished" "$(date '+%Y.%m.%d %H:%M:%S')" diff --git a/Design/Melawy/purple-dark-default-cursors/01_sign.sh b/Design/Melawy/purple-dark-default-cursors/01_sign.sh new file mode 100755 index 0000000..77055f1 --- /dev/null +++ b/Design/Melawy/purple-dark-default-cursors/01_sign.sh @@ -0,0 +1,21 @@ +#!/bin/bash + +for i in *.pkg.tar.zst; +do + if [ -f "${i}" ]; then + echo "Удаление подписи $i.sig" + rm -f $i.sig + echo "Добавление подписи $i.sig" + gpg --detach-sign --local-user BC8B600E8DDA1F4CB77B10D2BA803A261A5EE6B8 --output "$i.sig" "$i" + fi +done + +for i in *.pkg.tar.xz; +do + if [ -f "${i}" ]; then + echo "Удаление подписи $i.sig" + rm -f $i.sig + echo "Добавление подписи $i.sig" + gpg --detach-sign --local-user BC8B600E8DDA1F4CB77B10D2BA803A261A5EE6B8 --output "$i.sig" "$i" + fi +done diff --git a/Design/Melawy/purple-dark-default-cursors/PKGBUILD b/Design/Melawy/purple-dark-default-cursors/PKGBUILD new file mode 100644 index 0000000..aaa4bfa --- /dev/null +++ b/Design/Melawy/purple-dark-default-cursors/PKGBUILD @@ -0,0 +1,40 @@ +# Maintainer: Valeria Fadeeva + +_gitname="$(basename $(pwd))" +pkgname=("melawy-$_gitname") +pkgver=1.1 +pkgrel=1 +pkgdesc="$(head -n 2 README.md | tail -n 1)" +url="https://git.melawy.ru/Melawy-Linux/$_gitname" +arch=("any") +license=("AGPL3") +depends=() +optdepends=() +makedepends=("git") +options=("!strip") +backup=() +provides=("${pkgname}") +conflicts=("${pkgname}") +source=("git+$url.git") +sha256sums=("SKIP") +validpgpkeys=('BC8B600E8DDA1F4CB77B10D2BA803A261A5EE6B8') + +# pkgver() { +# cd "$srcdir/Melawy-icon-theme" +# git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g' +# } + +# pkgver() { +# cd "$srcdir/$_gitname" +# printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" +# } + +pkgver() { + cd "$srcdir/$_gitname" + printf "1.%s" "$(git rev-list --count HEAD)" +} + +package() { + install -d "$pkgdir/usr/share/icons" + cp -r "$srcdir/$_gitname/Melawy-$_gitname" "$pkgdir/usr/share/icons/" +} diff --git a/Design/Melawy/purple-dark-default-cursors/README.md b/Design/Melawy/purple-dark-default-cursors/README.md new file mode 100644 index 0000000..939a0e5 --- /dev/null +++ b/Design/Melawy/purple-dark-default-cursors/README.md @@ -0,0 +1,15 @@ +# melawy-purple-dark-default-cursors +Purple dark default cursors theme for Melawy Linux + +Building the Bridge Icon set from the Inkscape SVG: + +Dependencies inkscape and xorg-xcursorgen for building. + +### Donate +[Tinkoff](https://www.tinkoff.ru/rm/fadeeva.valeriya96/9bLRi79066) + +[YooMoney](https://yoomoney.ru/to/4100115921160758) + +[Qiwi](https://qiwi.com/n/VALERIAFADEEVA) + +Etherium 0x981FBf878fe451BDB83BEaF68078394d4B13213f diff --git a/Design/Melawy/purple-light-cursors/.gitignore b/Design/Melawy/purple-light-cursors/.gitignore new file mode 100644 index 0000000..b6754c4 --- /dev/null +++ b/Design/Melawy/purple-light-cursors/.gitignore @@ -0,0 +1,4 @@ +*.tar.* +pkg/ +src/ +/purple-light-cursors diff --git a/Design/Melawy/purple-light-cursors/00_make.sh b/Design/Melawy/purple-light-cursors/00_make.sh new file mode 100755 index 0000000..02a0d1e --- /dev/null +++ b/Design/Melawy/purple-light-cursors/00_make.sh @@ -0,0 +1,27 @@ +#!/bin/bash + +makepkg --syncdeps --asdeps --needed --noconfirm --clean --cleanbuild --force + +for i in *.pkg.tar.zst; +do + if [ -f "${i}" ]; then + echo "Удаление подписи $i.sig" + rm -f $i.sig + echo "Добавление подписи $i.sig" + gpg --detach-sign --local-user BC8B600E8DDA1F4CB77B10D2BA803A261A5EE6B8 --output "$i.sig" "$i" + fi +done + +for i in *.pkg.tar.xz; +do + if [ -f "${i}" ]; then + echo "Удаление подписи $i.sig" + rm -f $i.sig + echo "Добавление подписи $i.sig" + gpg --detach-sign --local-user BC8B600E8DDA1F4CB77B10D2BA803A261A5EE6B8 --output "$i.sig" "$i" + fi +done + + +echo "melawy" | beep -f 200 -l 250 -d 100 -r 1 -n -s +notify-send -a "$(basename $(pwd)): Make" -t 999999999 "Make finished" "$(date '+%Y.%m.%d %H:%M:%S')" diff --git a/Design/Melawy/purple-light-cursors/01_sign.sh b/Design/Melawy/purple-light-cursors/01_sign.sh new file mode 100755 index 0000000..77055f1 --- /dev/null +++ b/Design/Melawy/purple-light-cursors/01_sign.sh @@ -0,0 +1,21 @@ +#!/bin/bash + +for i in *.pkg.tar.zst; +do + if [ -f "${i}" ]; then + echo "Удаление подписи $i.sig" + rm -f $i.sig + echo "Добавление подписи $i.sig" + gpg --detach-sign --local-user BC8B600E8DDA1F4CB77B10D2BA803A261A5EE6B8 --output "$i.sig" "$i" + fi +done + +for i in *.pkg.tar.xz; +do + if [ -f "${i}" ]; then + echo "Удаление подписи $i.sig" + rm -f $i.sig + echo "Добавление подписи $i.sig" + gpg --detach-sign --local-user BC8B600E8DDA1F4CB77B10D2BA803A261A5EE6B8 --output "$i.sig" "$i" + fi +done diff --git a/Design/Melawy/purple-light-cursors/PKGBUILD b/Design/Melawy/purple-light-cursors/PKGBUILD new file mode 100644 index 0000000..46b4693 --- /dev/null +++ b/Design/Melawy/purple-light-cursors/PKGBUILD @@ -0,0 +1,40 @@ +# Maintainer: Valeria Fadeeva + +_gitname="$(basename $(pwd))" +pkgname=("melawy-$_gitname") +pkgver=1.3 +pkgrel=1 +pkgdesc="$(head -n 2 README.md | tail -n 1)" +url="https://git.melawy.ru/Melawy-Linux/$_gitname" +arch=("any") +license=("AGPL3") +depends=() +optdepends=() +makedepends=("git") +options=("!strip") +backup=() +provides=("${pkgname}") +conflicts=("${pkgname}") +source=("git+$url.git") +sha256sums=("SKIP") +validpgpkeys=('BC8B600E8DDA1F4CB77B10D2BA803A261A5EE6B8') + +# pkgver() { +# cd "$srcdir/Melawy-icon-theme" +# git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g' +# } + +# pkgver() { +# cd "$srcdir/$_gitname" +# printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" +# } + +pkgver() { + cd "$srcdir/$_gitname" + printf "1.%s" "$(git rev-list --count HEAD)" +} + +package() { + install -d "$pkgdir/usr/share/icons" + cp -r "$srcdir/$_gitname/Melawy-$_gitname" "$pkgdir/usr/share/icons/" +} diff --git a/Design/Melawy/purple-light-cursors/README.md b/Design/Melawy/purple-light-cursors/README.md new file mode 100644 index 0000000..57ca5d5 --- /dev/null +++ b/Design/Melawy/purple-light-cursors/README.md @@ -0,0 +1,15 @@ +# melawy-purple-light-cursors +Purple light cursors theme for Melawy Linux + +Building the Bridge Icon set from the Inkscape SVG: + +Dependencies inkscape and xorg-xcursorgen for building. + +### Donate +[Tinkoff](https://www.tinkoff.ru/rm/fadeeva.valeriya96/9bLRi79066) + +[YooMoney](https://yoomoney.ru/to/4100115921160758) + +[Qiwi](https://qiwi.com/n/VALERIAFADEEVA) + +Etherium 0x981FBf878fe451BDB83BEaF68078394d4B13213f diff --git a/Design/Melawy/purple-light-default-cursors/.gitignore b/Design/Melawy/purple-light-default-cursors/.gitignore new file mode 100644 index 0000000..dbe5336 --- /dev/null +++ b/Design/Melawy/purple-light-default-cursors/.gitignore @@ -0,0 +1,4 @@ +*.tar.* +pkg/ +src/ +/purple-light-default-cursors diff --git a/Design/Melawy/purple-light-default-cursors/00_make.sh b/Design/Melawy/purple-light-default-cursors/00_make.sh new file mode 100755 index 0000000..02a0d1e --- /dev/null +++ b/Design/Melawy/purple-light-default-cursors/00_make.sh @@ -0,0 +1,27 @@ +#!/bin/bash + +makepkg --syncdeps --asdeps --needed --noconfirm --clean --cleanbuild --force + +for i in *.pkg.tar.zst; +do + if [ -f "${i}" ]; then + echo "Удаление подписи $i.sig" + rm -f $i.sig + echo "Добавление подписи $i.sig" + gpg --detach-sign --local-user BC8B600E8DDA1F4CB77B10D2BA803A261A5EE6B8 --output "$i.sig" "$i" + fi +done + +for i in *.pkg.tar.xz; +do + if [ -f "${i}" ]; then + echo "Удаление подписи $i.sig" + rm -f $i.sig + echo "Добавление подписи $i.sig" + gpg --detach-sign --local-user BC8B600E8DDA1F4CB77B10D2BA803A261A5EE6B8 --output "$i.sig" "$i" + fi +done + + +echo "melawy" | beep -f 200 -l 250 -d 100 -r 1 -n -s +notify-send -a "$(basename $(pwd)): Make" -t 999999999 "Make finished" "$(date '+%Y.%m.%d %H:%M:%S')" diff --git a/Design/Melawy/purple-light-default-cursors/01_sign.sh b/Design/Melawy/purple-light-default-cursors/01_sign.sh new file mode 100755 index 0000000..77055f1 --- /dev/null +++ b/Design/Melawy/purple-light-default-cursors/01_sign.sh @@ -0,0 +1,21 @@ +#!/bin/bash + +for i in *.pkg.tar.zst; +do + if [ -f "${i}" ]; then + echo "Удаление подписи $i.sig" + rm -f $i.sig + echo "Добавление подписи $i.sig" + gpg --detach-sign --local-user BC8B600E8DDA1F4CB77B10D2BA803A261A5EE6B8 --output "$i.sig" "$i" + fi +done + +for i in *.pkg.tar.xz; +do + if [ -f "${i}" ]; then + echo "Удаление подписи $i.sig" + rm -f $i.sig + echo "Добавление подписи $i.sig" + gpg --detach-sign --local-user BC8B600E8DDA1F4CB77B10D2BA803A261A5EE6B8 --output "$i.sig" "$i" + fi +done diff --git a/Design/Melawy/purple-light-default-cursors/PKGBUILD b/Design/Melawy/purple-light-default-cursors/PKGBUILD new file mode 100644 index 0000000..aaa4bfa --- /dev/null +++ b/Design/Melawy/purple-light-default-cursors/PKGBUILD @@ -0,0 +1,40 @@ +# Maintainer: Valeria Fadeeva + +_gitname="$(basename $(pwd))" +pkgname=("melawy-$_gitname") +pkgver=1.1 +pkgrel=1 +pkgdesc="$(head -n 2 README.md | tail -n 1)" +url="https://git.melawy.ru/Melawy-Linux/$_gitname" +arch=("any") +license=("AGPL3") +depends=() +optdepends=() +makedepends=("git") +options=("!strip") +backup=() +provides=("${pkgname}") +conflicts=("${pkgname}") +source=("git+$url.git") +sha256sums=("SKIP") +validpgpkeys=('BC8B600E8DDA1F4CB77B10D2BA803A261A5EE6B8') + +# pkgver() { +# cd "$srcdir/Melawy-icon-theme" +# git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g' +# } + +# pkgver() { +# cd "$srcdir/$_gitname" +# printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" +# } + +pkgver() { + cd "$srcdir/$_gitname" + printf "1.%s" "$(git rev-list --count HEAD)" +} + +package() { + install -d "$pkgdir/usr/share/icons" + cp -r "$srcdir/$_gitname/Melawy-$_gitname" "$pkgdir/usr/share/icons/" +} diff --git a/Design/Melawy/purple-light-default-cursors/README.md b/Design/Melawy/purple-light-default-cursors/README.md new file mode 100644 index 0000000..12dec37 --- /dev/null +++ b/Design/Melawy/purple-light-default-cursors/README.md @@ -0,0 +1,15 @@ +# melawy-purple-light-default-cursors +Purple light default cursors theme for Melawy Linux + +Building the Bridge Icon set from the Inkscape SVG: + +Dependencies inkscape and xorg-xcursorgen for building. + +### Donate +[Tinkoff](https://www.tinkoff.ru/rm/fadeeva.valeriya96/9bLRi79066) + +[YooMoney](https://yoomoney.ru/to/4100115921160758) + +[Qiwi](https://qiwi.com/n/VALERIAFADEEVA) + +Etherium 0x981FBf878fe451BDB83BEaF68078394d4B13213f diff --git a/Design/Melawy/red-dark-cursors/.gitignore b/Design/Melawy/red-dark-cursors/.gitignore new file mode 100644 index 0000000..1828858 --- /dev/null +++ b/Design/Melawy/red-dark-cursors/.gitignore @@ -0,0 +1,4 @@ +*.tar.* +pkg/ +src/ +/red-dark-cursors diff --git a/Design/Melawy/red-dark-cursors/00_make.sh b/Design/Melawy/red-dark-cursors/00_make.sh new file mode 100755 index 0000000..02a0d1e --- /dev/null +++ b/Design/Melawy/red-dark-cursors/00_make.sh @@ -0,0 +1,27 @@ +#!/bin/bash + +makepkg --syncdeps --asdeps --needed --noconfirm --clean --cleanbuild --force + +for i in *.pkg.tar.zst; +do + if [ -f "${i}" ]; then + echo "Удаление подписи $i.sig" + rm -f $i.sig + echo "Добавление подписи $i.sig" + gpg --detach-sign --local-user BC8B600E8DDA1F4CB77B10D2BA803A261A5EE6B8 --output "$i.sig" "$i" + fi +done + +for i in *.pkg.tar.xz; +do + if [ -f "${i}" ]; then + echo "Удаление подписи $i.sig" + rm -f $i.sig + echo "Добавление подписи $i.sig" + gpg --detach-sign --local-user BC8B600E8DDA1F4CB77B10D2BA803A261A5EE6B8 --output "$i.sig" "$i" + fi +done + + +echo "melawy" | beep -f 200 -l 250 -d 100 -r 1 -n -s +notify-send -a "$(basename $(pwd)): Make" -t 999999999 "Make finished" "$(date '+%Y.%m.%d %H:%M:%S')" diff --git a/Design/Melawy/red-dark-cursors/01_sign.sh b/Design/Melawy/red-dark-cursors/01_sign.sh new file mode 100755 index 0000000..77055f1 --- /dev/null +++ b/Design/Melawy/red-dark-cursors/01_sign.sh @@ -0,0 +1,21 @@ +#!/bin/bash + +for i in *.pkg.tar.zst; +do + if [ -f "${i}" ]; then + echo "Удаление подписи $i.sig" + rm -f $i.sig + echo "Добавление подписи $i.sig" + gpg --detach-sign --local-user BC8B600E8DDA1F4CB77B10D2BA803A261A5EE6B8 --output "$i.sig" "$i" + fi +done + +for i in *.pkg.tar.xz; +do + if [ -f "${i}" ]; then + echo "Удаление подписи $i.sig" + rm -f $i.sig + echo "Добавление подписи $i.sig" + gpg --detach-sign --local-user BC8B600E8DDA1F4CB77B10D2BA803A261A5EE6B8 --output "$i.sig" "$i" + fi +done diff --git a/Design/Melawy/red-dark-cursors/PKGBUILD b/Design/Melawy/red-dark-cursors/PKGBUILD new file mode 100644 index 0000000..46b4693 --- /dev/null +++ b/Design/Melawy/red-dark-cursors/PKGBUILD @@ -0,0 +1,40 @@ +# Maintainer: Valeria Fadeeva + +_gitname="$(basename $(pwd))" +pkgname=("melawy-$_gitname") +pkgver=1.3 +pkgrel=1 +pkgdesc="$(head -n 2 README.md | tail -n 1)" +url="https://git.melawy.ru/Melawy-Linux/$_gitname" +arch=("any") +license=("AGPL3") +depends=() +optdepends=() +makedepends=("git") +options=("!strip") +backup=() +provides=("${pkgname}") +conflicts=("${pkgname}") +source=("git+$url.git") +sha256sums=("SKIP") +validpgpkeys=('BC8B600E8DDA1F4CB77B10D2BA803A261A5EE6B8') + +# pkgver() { +# cd "$srcdir/Melawy-icon-theme" +# git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g' +# } + +# pkgver() { +# cd "$srcdir/$_gitname" +# printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" +# } + +pkgver() { + cd "$srcdir/$_gitname" + printf "1.%s" "$(git rev-list --count HEAD)" +} + +package() { + install -d "$pkgdir/usr/share/icons" + cp -r "$srcdir/$_gitname/Melawy-$_gitname" "$pkgdir/usr/share/icons/" +} diff --git a/Design/Melawy/red-dark-cursors/README.md b/Design/Melawy/red-dark-cursors/README.md new file mode 100644 index 0000000..9369903 --- /dev/null +++ b/Design/Melawy/red-dark-cursors/README.md @@ -0,0 +1,15 @@ +# melawy-red-dark-cursors +Red dark cursors theme for Melawy Linux + +Building the Bridge Icon set from the Inkscape SVG: + +Dependencies inkscape and xorg-xcursorgen for building. + +### Donate +[Tinkoff](https://www.tinkoff.ru/rm/fadeeva.valeriya96/9bLRi79066) + +[YooMoney](https://yoomoney.ru/to/4100115921160758) + +[Qiwi](https://qiwi.com/n/VALERIAFADEEVA) + +Etherium 0x981FBf878fe451BDB83BEaF68078394d4B13213f diff --git a/Design/Melawy/red-dark-default-cursors/.gitignore b/Design/Melawy/red-dark-default-cursors/.gitignore new file mode 100644 index 0000000..ef7b1c6 --- /dev/null +++ b/Design/Melawy/red-dark-default-cursors/.gitignore @@ -0,0 +1,4 @@ +*.tar.* +pkg/ +src/ +/red-dark-default-cursors diff --git a/Design/Melawy/red-dark-default-cursors/00_make.sh b/Design/Melawy/red-dark-default-cursors/00_make.sh new file mode 100755 index 0000000..02a0d1e --- /dev/null +++ b/Design/Melawy/red-dark-default-cursors/00_make.sh @@ -0,0 +1,27 @@ +#!/bin/bash + +makepkg --syncdeps --asdeps --needed --noconfirm --clean --cleanbuild --force + +for i in *.pkg.tar.zst; +do + if [ -f "${i}" ]; then + echo "Удаление подписи $i.sig" + rm -f $i.sig + echo "Добавление подписи $i.sig" + gpg --detach-sign --local-user BC8B600E8DDA1F4CB77B10D2BA803A261A5EE6B8 --output "$i.sig" "$i" + fi +done + +for i in *.pkg.tar.xz; +do + if [ -f "${i}" ]; then + echo "Удаление подписи $i.sig" + rm -f $i.sig + echo "Добавление подписи $i.sig" + gpg --detach-sign --local-user BC8B600E8DDA1F4CB77B10D2BA803A261A5EE6B8 --output "$i.sig" "$i" + fi +done + + +echo "melawy" | beep -f 200 -l 250 -d 100 -r 1 -n -s +notify-send -a "$(basename $(pwd)): Make" -t 999999999 "Make finished" "$(date '+%Y.%m.%d %H:%M:%S')" diff --git a/Design/Melawy/red-dark-default-cursors/01_sign.sh b/Design/Melawy/red-dark-default-cursors/01_sign.sh new file mode 100755 index 0000000..77055f1 --- /dev/null +++ b/Design/Melawy/red-dark-default-cursors/01_sign.sh @@ -0,0 +1,21 @@ +#!/bin/bash + +for i in *.pkg.tar.zst; +do + if [ -f "${i}" ]; then + echo "Удаление подписи $i.sig" + rm -f $i.sig + echo "Добавление подписи $i.sig" + gpg --detach-sign --local-user BC8B600E8DDA1F4CB77B10D2BA803A261A5EE6B8 --output "$i.sig" "$i" + fi +done + +for i in *.pkg.tar.xz; +do + if [ -f "${i}" ]; then + echo "Удаление подписи $i.sig" + rm -f $i.sig + echo "Добавление подписи $i.sig" + gpg --detach-sign --local-user BC8B600E8DDA1F4CB77B10D2BA803A261A5EE6B8 --output "$i.sig" "$i" + fi +done diff --git a/Design/Melawy/red-dark-default-cursors/PKGBUILD b/Design/Melawy/red-dark-default-cursors/PKGBUILD new file mode 100644 index 0000000..aaa4bfa --- /dev/null +++ b/Design/Melawy/red-dark-default-cursors/PKGBUILD @@ -0,0 +1,40 @@ +# Maintainer: Valeria Fadeeva + +_gitname="$(basename $(pwd))" +pkgname=("melawy-$_gitname") +pkgver=1.1 +pkgrel=1 +pkgdesc="$(head -n 2 README.md | tail -n 1)" +url="https://git.melawy.ru/Melawy-Linux/$_gitname" +arch=("any") +license=("AGPL3") +depends=() +optdepends=() +makedepends=("git") +options=("!strip") +backup=() +provides=("${pkgname}") +conflicts=("${pkgname}") +source=("git+$url.git") +sha256sums=("SKIP") +validpgpkeys=('BC8B600E8DDA1F4CB77B10D2BA803A261A5EE6B8') + +# pkgver() { +# cd "$srcdir/Melawy-icon-theme" +# git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g' +# } + +# pkgver() { +# cd "$srcdir/$_gitname" +# printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" +# } + +pkgver() { + cd "$srcdir/$_gitname" + printf "1.%s" "$(git rev-list --count HEAD)" +} + +package() { + install -d "$pkgdir/usr/share/icons" + cp -r "$srcdir/$_gitname/Melawy-$_gitname" "$pkgdir/usr/share/icons/" +} diff --git a/Design/Melawy/red-dark-default-cursors/README.md b/Design/Melawy/red-dark-default-cursors/README.md new file mode 100644 index 0000000..d23df7c --- /dev/null +++ b/Design/Melawy/red-dark-default-cursors/README.md @@ -0,0 +1,15 @@ +# melawy-red-dark-default-cursors +Red dark default cursors theme for Melawy Linux + +Building the Bridge Icon set from the Inkscape SVG: + +Dependencies inkscape and xorg-xcursorgen for building. + +### Donate +[Tinkoff](https://www.tinkoff.ru/rm/fadeeva.valeriya96/9bLRi79066) + +[YooMoney](https://yoomoney.ru/to/4100115921160758) + +[Qiwi](https://qiwi.com/n/VALERIAFADEEVA) + +Etherium 0x981FBf878fe451BDB83BEaF68078394d4B13213f diff --git a/Design/Melawy/red-light-cursors/.gitignore b/Design/Melawy/red-light-cursors/.gitignore new file mode 100644 index 0000000..debdbe8 --- /dev/null +++ b/Design/Melawy/red-light-cursors/.gitignore @@ -0,0 +1,4 @@ +*.tar.* +pkg/ +src/ +/red-light-cursors diff --git a/Design/Melawy/red-light-cursors/00_make.sh b/Design/Melawy/red-light-cursors/00_make.sh new file mode 100755 index 0000000..02a0d1e --- /dev/null +++ b/Design/Melawy/red-light-cursors/00_make.sh @@ -0,0 +1,27 @@ +#!/bin/bash + +makepkg --syncdeps --asdeps --needed --noconfirm --clean --cleanbuild --force + +for i in *.pkg.tar.zst; +do + if [ -f "${i}" ]; then + echo "Удаление подписи $i.sig" + rm -f $i.sig + echo "Добавление подписи $i.sig" + gpg --detach-sign --local-user BC8B600E8DDA1F4CB77B10D2BA803A261A5EE6B8 --output "$i.sig" "$i" + fi +done + +for i in *.pkg.tar.xz; +do + if [ -f "${i}" ]; then + echo "Удаление подписи $i.sig" + rm -f $i.sig + echo "Добавление подписи $i.sig" + gpg --detach-sign --local-user BC8B600E8DDA1F4CB77B10D2BA803A261A5EE6B8 --output "$i.sig" "$i" + fi +done + + +echo "melawy" | beep -f 200 -l 250 -d 100 -r 1 -n -s +notify-send -a "$(basename $(pwd)): Make" -t 999999999 "Make finished" "$(date '+%Y.%m.%d %H:%M:%S')" diff --git a/Design/Melawy/red-light-cursors/01_sign.sh b/Design/Melawy/red-light-cursors/01_sign.sh new file mode 100755 index 0000000..77055f1 --- /dev/null +++ b/Design/Melawy/red-light-cursors/01_sign.sh @@ -0,0 +1,21 @@ +#!/bin/bash + +for i in *.pkg.tar.zst; +do + if [ -f "${i}" ]; then + echo "Удаление подписи $i.sig" + rm -f $i.sig + echo "Добавление подписи $i.sig" + gpg --detach-sign --local-user BC8B600E8DDA1F4CB77B10D2BA803A261A5EE6B8 --output "$i.sig" "$i" + fi +done + +for i in *.pkg.tar.xz; +do + if [ -f "${i}" ]; then + echo "Удаление подписи $i.sig" + rm -f $i.sig + echo "Добавление подписи $i.sig" + gpg --detach-sign --local-user BC8B600E8DDA1F4CB77B10D2BA803A261A5EE6B8 --output "$i.sig" "$i" + fi +done diff --git a/Design/Melawy/red-light-cursors/PKGBUILD b/Design/Melawy/red-light-cursors/PKGBUILD new file mode 100644 index 0000000..46b4693 --- /dev/null +++ b/Design/Melawy/red-light-cursors/PKGBUILD @@ -0,0 +1,40 @@ +# Maintainer: Valeria Fadeeva + +_gitname="$(basename $(pwd))" +pkgname=("melawy-$_gitname") +pkgver=1.3 +pkgrel=1 +pkgdesc="$(head -n 2 README.md | tail -n 1)" +url="https://git.melawy.ru/Melawy-Linux/$_gitname" +arch=("any") +license=("AGPL3") +depends=() +optdepends=() +makedepends=("git") +options=("!strip") +backup=() +provides=("${pkgname}") +conflicts=("${pkgname}") +source=("git+$url.git") +sha256sums=("SKIP") +validpgpkeys=('BC8B600E8DDA1F4CB77B10D2BA803A261A5EE6B8') + +# pkgver() { +# cd "$srcdir/Melawy-icon-theme" +# git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g' +# } + +# pkgver() { +# cd "$srcdir/$_gitname" +# printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" +# } + +pkgver() { + cd "$srcdir/$_gitname" + printf "1.%s" "$(git rev-list --count HEAD)" +} + +package() { + install -d "$pkgdir/usr/share/icons" + cp -r "$srcdir/$_gitname/Melawy-$_gitname" "$pkgdir/usr/share/icons/" +} diff --git a/Design/Melawy/red-light-cursors/README.md b/Design/Melawy/red-light-cursors/README.md new file mode 100644 index 0000000..00c4c4c --- /dev/null +++ b/Design/Melawy/red-light-cursors/README.md @@ -0,0 +1,15 @@ +# melawy-red-light-cursors +Red light cursors theme for Melawy Linux + +Building the Bridge Icon set from the Inkscape SVG: + +Dependencies inkscape and xorg-xcursorgen for building. + +### Donate +[Tinkoff](https://www.tinkoff.ru/rm/fadeeva.valeriya96/9bLRi79066) + +[YooMoney](https://yoomoney.ru/to/4100115921160758) + +[Qiwi](https://qiwi.com/n/VALERIAFADEEVA) + +Etherium 0x981FBf878fe451BDB83BEaF68078394d4B13213f diff --git a/Design/Melawy/red-light-default-cursors/.gitignore b/Design/Melawy/red-light-default-cursors/.gitignore new file mode 100644 index 0000000..d93bd23 --- /dev/null +++ b/Design/Melawy/red-light-default-cursors/.gitignore @@ -0,0 +1,4 @@ +*.tar.* +pkg/ +src/ +/red-light-default-cursors diff --git a/Design/Melawy/red-light-default-cursors/00_make.sh b/Design/Melawy/red-light-default-cursors/00_make.sh new file mode 100755 index 0000000..02a0d1e --- /dev/null +++ b/Design/Melawy/red-light-default-cursors/00_make.sh @@ -0,0 +1,27 @@ +#!/bin/bash + +makepkg --syncdeps --asdeps --needed --noconfirm --clean --cleanbuild --force + +for i in *.pkg.tar.zst; +do + if [ -f "${i}" ]; then + echo "Удаление подписи $i.sig" + rm -f $i.sig + echo "Добавление подписи $i.sig" + gpg --detach-sign --local-user BC8B600E8DDA1F4CB77B10D2BA803A261A5EE6B8 --output "$i.sig" "$i" + fi +done + +for i in *.pkg.tar.xz; +do + if [ -f "${i}" ]; then + echo "Удаление подписи $i.sig" + rm -f $i.sig + echo "Добавление подписи $i.sig" + gpg --detach-sign --local-user BC8B600E8DDA1F4CB77B10D2BA803A261A5EE6B8 --output "$i.sig" "$i" + fi +done + + +echo "melawy" | beep -f 200 -l 250 -d 100 -r 1 -n -s +notify-send -a "$(basename $(pwd)): Make" -t 999999999 "Make finished" "$(date '+%Y.%m.%d %H:%M:%S')" diff --git a/Design/Melawy/red-light-default-cursors/01_sign.sh b/Design/Melawy/red-light-default-cursors/01_sign.sh new file mode 100755 index 0000000..77055f1 --- /dev/null +++ b/Design/Melawy/red-light-default-cursors/01_sign.sh @@ -0,0 +1,21 @@ +#!/bin/bash + +for i in *.pkg.tar.zst; +do + if [ -f "${i}" ]; then + echo "Удаление подписи $i.sig" + rm -f $i.sig + echo "Добавление подписи $i.sig" + gpg --detach-sign --local-user BC8B600E8DDA1F4CB77B10D2BA803A261A5EE6B8 --output "$i.sig" "$i" + fi +done + +for i in *.pkg.tar.xz; +do + if [ -f "${i}" ]; then + echo "Удаление подписи $i.sig" + rm -f $i.sig + echo "Добавление подписи $i.sig" + gpg --detach-sign --local-user BC8B600E8DDA1F4CB77B10D2BA803A261A5EE6B8 --output "$i.sig" "$i" + fi +done diff --git a/Design/Melawy/red-light-default-cursors/PKGBUILD b/Design/Melawy/red-light-default-cursors/PKGBUILD new file mode 100644 index 0000000..aaa4bfa --- /dev/null +++ b/Design/Melawy/red-light-default-cursors/PKGBUILD @@ -0,0 +1,40 @@ +# Maintainer: Valeria Fadeeva + +_gitname="$(basename $(pwd))" +pkgname=("melawy-$_gitname") +pkgver=1.1 +pkgrel=1 +pkgdesc="$(head -n 2 README.md | tail -n 1)" +url="https://git.melawy.ru/Melawy-Linux/$_gitname" +arch=("any") +license=("AGPL3") +depends=() +optdepends=() +makedepends=("git") +options=("!strip") +backup=() +provides=("${pkgname}") +conflicts=("${pkgname}") +source=("git+$url.git") +sha256sums=("SKIP") +validpgpkeys=('BC8B600E8DDA1F4CB77B10D2BA803A261A5EE6B8') + +# pkgver() { +# cd "$srcdir/Melawy-icon-theme" +# git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g' +# } + +# pkgver() { +# cd "$srcdir/$_gitname" +# printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" +# } + +pkgver() { + cd "$srcdir/$_gitname" + printf "1.%s" "$(git rev-list --count HEAD)" +} + +package() { + install -d "$pkgdir/usr/share/icons" + cp -r "$srcdir/$_gitname/Melawy-$_gitname" "$pkgdir/usr/share/icons/" +} diff --git a/Design/Melawy/red-light-default-cursors/README.md b/Design/Melawy/red-light-default-cursors/README.md new file mode 100644 index 0000000..3e757be --- /dev/null +++ b/Design/Melawy/red-light-default-cursors/README.md @@ -0,0 +1,15 @@ +# melawy-red-light-default-cursors +Red light default cursors theme for Melawy Linux + +Building the Bridge Icon set from the Inkscape SVG: + +Dependencies inkscape and xorg-xcursorgen for building. + +### Donate +[Tinkoff](https://www.tinkoff.ru/rm/fadeeva.valeriya96/9bLRi79066) + +[YooMoney](https://yoomoney.ru/to/4100115921160758) + +[Qiwi](https://qiwi.com/n/VALERIAFADEEVA) + +Etherium 0x981FBf878fe451BDB83BEaF68078394d4B13213f diff --git a/Design/Nier-A2/plasma-look-and-feel-nier-a2/.gitignore b/Design/Nier-A2/plasma-look-and-feel-nier-a2/.gitignore new file mode 100644 index 0000000..be9d895 --- /dev/null +++ b/Design/Nier-A2/plasma-look-and-feel-nier-a2/.gitignore @@ -0,0 +1,4 @@ +*.tar.* +pkg/ +src/ +/plasma-look-and-feel-nier-a2 diff --git a/Design/Nier-A2/plasma-look-and-feel-nier-a2/00_make.sh b/Design/Nier-A2/plasma-look-and-feel-nier-a2/00_make.sh new file mode 100755 index 0000000..02a0d1e --- /dev/null +++ b/Design/Nier-A2/plasma-look-and-feel-nier-a2/00_make.sh @@ -0,0 +1,27 @@ +#!/bin/bash + +makepkg --syncdeps --asdeps --needed --noconfirm --clean --cleanbuild --force + +for i in *.pkg.tar.zst; +do + if [ -f "${i}" ]; then + echo "Удаление подписи $i.sig" + rm -f $i.sig + echo "Добавление подписи $i.sig" + gpg --detach-sign --local-user BC8B600E8DDA1F4CB77B10D2BA803A261A5EE6B8 --output "$i.sig" "$i" + fi +done + +for i in *.pkg.tar.xz; +do + if [ -f "${i}" ]; then + echo "Удаление подписи $i.sig" + rm -f $i.sig + echo "Добавление подписи $i.sig" + gpg --detach-sign --local-user BC8B600E8DDA1F4CB77B10D2BA803A261A5EE6B8 --output "$i.sig" "$i" + fi +done + + +echo "melawy" | beep -f 200 -l 250 -d 100 -r 1 -n -s +notify-send -a "$(basename $(pwd)): Make" -t 999999999 "Make finished" "$(date '+%Y.%m.%d %H:%M:%S')" diff --git a/Design/Nier-A2/plasma-look-and-feel-nier-a2/01_sign.sh b/Design/Nier-A2/plasma-look-and-feel-nier-a2/01_sign.sh new file mode 100755 index 0000000..77055f1 --- /dev/null +++ b/Design/Nier-A2/plasma-look-and-feel-nier-a2/01_sign.sh @@ -0,0 +1,21 @@ +#!/bin/bash + +for i in *.pkg.tar.zst; +do + if [ -f "${i}" ]; then + echo "Удаление подписи $i.sig" + rm -f $i.sig + echo "Добавление подписи $i.sig" + gpg --detach-sign --local-user BC8B600E8DDA1F4CB77B10D2BA803A261A5EE6B8 --output "$i.sig" "$i" + fi +done + +for i in *.pkg.tar.xz; +do + if [ -f "${i}" ]; then + echo "Удаление подписи $i.sig" + rm -f $i.sig + echo "Добавление подписи $i.sig" + gpg --detach-sign --local-user BC8B600E8DDA1F4CB77B10D2BA803A261A5EE6B8 --output "$i.sig" "$i" + fi +done diff --git a/Design/Nier-A2/plasma-look-and-feel-nier-a2/PKGBUILD b/Design/Nier-A2/plasma-look-and-feel-nier-a2/PKGBUILD new file mode 100644 index 0000000..c90adce --- /dev/null +++ b/Design/Nier-A2/plasma-look-and-feel-nier-a2/PKGBUILD @@ -0,0 +1,37 @@ +# Maintainer: Valeria Fadeeva + +_gitname="$(basename $(pwd))" +pkgname=("melawy-$_gitname") +pkgver=1.2 +pkgrel=1 +pkgdesc="$(head -n 2 README.md | tail -n 1)" +url="https://git.melawy.ru/Melawy-Linux/$_gitname" +arch=("any") +license=("AGPL3") +depends=("plasma-desktop") +optdepends=() +makedepends=("git") +backup=() +provides=("${pkgname}") +conflicts=("${pkgname}") +source=("git+$url.git") +sha256sums=("SKIP") +validpgpkeys=('BC8B600E8DDA1F4CB77B10D2BA803A261A5EE6B8') + +THEME_NAME="com.github.Melawy.Nier-A2.desktop" +THEME_PATH="/usr/share/plasma/look-and-feel" + +# pkgver() { +# cd "$srcdir/$_gitname" +# printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" +# } + +pkgver() { + cd "$srcdir/$_gitname" + printf "1.%s" "$(git rev-list --count HEAD)" +} + +package() { + install -d "$pkgdir$THEME_PATH" + cp -vrf --no-dereference --preserve=links "$srcdir/$_gitname/$THEME_NAME" "$pkgdir$THEME_PATH/" +} diff --git a/Design/Nier-A2/plasma-look-and-feel-nier-a2/README.md b/Design/Nier-A2/plasma-look-and-feel-nier-a2/README.md new file mode 100644 index 0000000..81532bd --- /dev/null +++ b/Design/Nier-A2/plasma-look-and-feel-nier-a2/README.md @@ -0,0 +1,11 @@ +# melawy-plasma-look-and-feel-nier-a2 +Splash screen after login for theme Nier A2 + +### Donate +[Tinkoff](https://www.tinkoff.ru/rm/fadeeva.valeriya96/9bLRi79066) + +[YooMoney](https://yoomoney.ru/to/4100115921160758) + +[Qiwi](https://qiwi.com/n/VALERIAFADEEVA) + +Etherium 0x981FBf878fe451BDB83BEaF68078394d4B13213f diff --git a/Design/Nier-A2/plymouth-theme-hard-install-nier-a2/.gitignore b/Design/Nier-A2/plymouth-theme-hard-install-nier-a2/.gitignore new file mode 100644 index 0000000..058a1cf --- /dev/null +++ b/Design/Nier-A2/plymouth-theme-hard-install-nier-a2/.gitignore @@ -0,0 +1,4 @@ +*.tar.* +pkg/ +src/ +/plymouth-theme-hard-install-nier-a2 diff --git a/Design/Nier-A2/plymouth-theme-hard-install-nier-a2/00_make.sh b/Design/Nier-A2/plymouth-theme-hard-install-nier-a2/00_make.sh new file mode 100755 index 0000000..02a0d1e --- /dev/null +++ b/Design/Nier-A2/plymouth-theme-hard-install-nier-a2/00_make.sh @@ -0,0 +1,27 @@ +#!/bin/bash + +makepkg --syncdeps --asdeps --needed --noconfirm --clean --cleanbuild --force + +for i in *.pkg.tar.zst; +do + if [ -f "${i}" ]; then + echo "Удаление подписи $i.sig" + rm -f $i.sig + echo "Добавление подписи $i.sig" + gpg --detach-sign --local-user BC8B600E8DDA1F4CB77B10D2BA803A261A5EE6B8 --output "$i.sig" "$i" + fi +done + +for i in *.pkg.tar.xz; +do + if [ -f "${i}" ]; then + echo "Удаление подписи $i.sig" + rm -f $i.sig + echo "Добавление подписи $i.sig" + gpg --detach-sign --local-user BC8B600E8DDA1F4CB77B10D2BA803A261A5EE6B8 --output "$i.sig" "$i" + fi +done + + +echo "melawy" | beep -f 200 -l 250 -d 100 -r 1 -n -s +notify-send -a "$(basename $(pwd)): Make" -t 999999999 "Make finished" "$(date '+%Y.%m.%d %H:%M:%S')" diff --git a/Design/Nier-A2/plymouth-theme-hard-install-nier-a2/01_sign.sh b/Design/Nier-A2/plymouth-theme-hard-install-nier-a2/01_sign.sh new file mode 100755 index 0000000..77055f1 --- /dev/null +++ b/Design/Nier-A2/plymouth-theme-hard-install-nier-a2/01_sign.sh @@ -0,0 +1,21 @@ +#!/bin/bash + +for i in *.pkg.tar.zst; +do + if [ -f "${i}" ]; then + echo "Удаление подписи $i.sig" + rm -f $i.sig + echo "Добавление подписи $i.sig" + gpg --detach-sign --local-user BC8B600E8DDA1F4CB77B10D2BA803A261A5EE6B8 --output "$i.sig" "$i" + fi +done + +for i in *.pkg.tar.xz; +do + if [ -f "${i}" ]; then + echo "Удаление подписи $i.sig" + rm -f $i.sig + echo "Добавление подписи $i.sig" + gpg --detach-sign --local-user BC8B600E8DDA1F4CB77B10D2BA803A261A5EE6B8 --output "$i.sig" "$i" + fi +done diff --git a/Design/Nier-A2/plymouth-theme-hard-install-nier-a2/PKGBUILD b/Design/Nier-A2/plymouth-theme-hard-install-nier-a2/PKGBUILD new file mode 100755 index 0000000..e2f9ebc --- /dev/null +++ b/Design/Nier-A2/plymouth-theme-hard-install-nier-a2/PKGBUILD @@ -0,0 +1,19 @@ +# Maintainer: Valeria Fadeeva + +pkgname='melawy-plymouth-theme-hard-install-nier-a2' +pkgver=1.0 +pkgrel=1 +pkgdesc='Liveuser specific plymouth theme hard install Nier A2 for Melawy Linux' +arch=('any') +url='https://git.melawy.ru/Melawy-Linux' +license=('AGPL3') +source=() +depends=('melawy-plymouth-theme-nier-a2') +conflict=('plymouth-theme-hard-install-lera-sugar' 'melawy-plymouth-theme-hard-install-fenek') + +install=ins.install + +package() { + echo -e "[Daemon]\nTheme=melawy-nier-a2\nDeviceScale=1\nDeviceTimeout=8\nShowDelay=0" > "${srcdir}/plymouthd.melawy-nier-a2" + install -Dm644 "${srcdir}/plymouthd.melawy-nier-a2" "${pkgdir}/usr/share/plymouth/plymouthd.melawy-nier-a2" +} diff --git a/Design/Nier-A2/plymouth-theme-hard-install-nier-a2/ins.install b/Design/Nier-A2/plymouth-theme-hard-install-nier-a2/ins.install new file mode 100644 index 0000000..b96659c --- /dev/null +++ b/Design/Nier-A2/plymouth-theme-hard-install-nier-a2/ins.install @@ -0,0 +1,6 @@ +post_install() { + plymouth-set-default-theme --reset + plymouth-set-default-theme melawy-nier-a2 + plymouth-set-default-theme --rebuild-initrd melawy-nier-a2 +} + diff --git a/Design/Nier-A2/plymouth-theme-nier-a2/.gitignore b/Design/Nier-A2/plymouth-theme-nier-a2/.gitignore new file mode 100644 index 0000000..93bf5a8 --- /dev/null +++ b/Design/Nier-A2/plymouth-theme-nier-a2/.gitignore @@ -0,0 +1,4 @@ +*.tar.* +pkg/ +src/ +/plymouth-theme-nier-a2 diff --git a/Design/Nier-A2/plymouth-theme-nier-a2/00_make.sh b/Design/Nier-A2/plymouth-theme-nier-a2/00_make.sh new file mode 100755 index 0000000..02a0d1e --- /dev/null +++ b/Design/Nier-A2/plymouth-theme-nier-a2/00_make.sh @@ -0,0 +1,27 @@ +#!/bin/bash + +makepkg --syncdeps --asdeps --needed --noconfirm --clean --cleanbuild --force + +for i in *.pkg.tar.zst; +do + if [ -f "${i}" ]; then + echo "Удаление подписи $i.sig" + rm -f $i.sig + echo "Добавление подписи $i.sig" + gpg --detach-sign --local-user BC8B600E8DDA1F4CB77B10D2BA803A261A5EE6B8 --output "$i.sig" "$i" + fi +done + +for i in *.pkg.tar.xz; +do + if [ -f "${i}" ]; then + echo "Удаление подписи $i.sig" + rm -f $i.sig + echo "Добавление подписи $i.sig" + gpg --detach-sign --local-user BC8B600E8DDA1F4CB77B10D2BA803A261A5EE6B8 --output "$i.sig" "$i" + fi +done + + +echo "melawy" | beep -f 200 -l 250 -d 100 -r 1 -n -s +notify-send -a "$(basename $(pwd)): Make" -t 999999999 "Make finished" "$(date '+%Y.%m.%d %H:%M:%S')" diff --git a/Design/Nier-A2/plymouth-theme-nier-a2/01_sign.sh b/Design/Nier-A2/plymouth-theme-nier-a2/01_sign.sh new file mode 100755 index 0000000..77055f1 --- /dev/null +++ b/Design/Nier-A2/plymouth-theme-nier-a2/01_sign.sh @@ -0,0 +1,21 @@ +#!/bin/bash + +for i in *.pkg.tar.zst; +do + if [ -f "${i}" ]; then + echo "Удаление подписи $i.sig" + rm -f $i.sig + echo "Добавление подписи $i.sig" + gpg --detach-sign --local-user BC8B600E8DDA1F4CB77B10D2BA803A261A5EE6B8 --output "$i.sig" "$i" + fi +done + +for i in *.pkg.tar.xz; +do + if [ -f "${i}" ]; then + echo "Удаление подписи $i.sig" + rm -f $i.sig + echo "Добавление подписи $i.sig" + gpg --detach-sign --local-user BC8B600E8DDA1F4CB77B10D2BA803A261A5EE6B8 --output "$i.sig" "$i" + fi +done diff --git a/Design/Nier-A2/plymouth-theme-nier-a2/PKGBUILD b/Design/Nier-A2/plymouth-theme-nier-a2/PKGBUILD new file mode 100644 index 0000000..05b420f --- /dev/null +++ b/Design/Nier-A2/plymouth-theme-nier-a2/PKGBUILD @@ -0,0 +1,37 @@ +# Maintainer: Valeria Fadeeva + +_gitname="$(basename $(pwd))" +pkgname=("melawy-$_gitname") +pkgver=1.7 +pkgrel=1 +pkgdesc="$(head -n 2 README.md | tail -n 1)" +url="https://git.melawy.ru/Melawy-Linux/$_gitname" +arch=("any") +license=("AGPL3") +depends=("plymouth") +optdepends=() +makedepends=("git") +backup=() +provides=("${pkgname}") +conflicts=("${pkgname}") +source=("git+$url.git") +sha256sums=("SKIP") +validpgpkeys=('BC8B600E8DDA1F4CB77B10D2BA803A261A5EE6B8') + +THEME_NAME="melawy-nier-a2" +THEME_PATH="/usr/share/plymouth/themes" + +# pkgver() { +# cd "$srcdir/$_gitname" +# printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" +# } + +pkgver() { + cd "$srcdir/$_gitname" + printf "1.%s" "$(git rev-list --count HEAD)" +} + +package() { + install -d "$pkgdir$THEME_PATH" + cp -vrf --no-dereference --preserve=links "$srcdir/$_gitname/$THEME_NAME" "$pkgdir$THEME_PATH/" +} diff --git a/Design/Nier-A2/plymouth-theme-nier-a2/README.md b/Design/Nier-A2/plymouth-theme-nier-a2/README.md new file mode 100644 index 0000000..6acb937 --- /dev/null +++ b/Design/Nier-A2/plymouth-theme-nier-a2/README.md @@ -0,0 +1,11 @@ +# melawy-plymouth-theme-nier-a2 +Plymouth theme for theme Nier A2 + +### Donate +[Tinkoff](https://www.tinkoff.ru/rm/fadeeva.valeriya96/9bLRi79066) + +[YooMoney](https://yoomoney.ru/to/4100115921160758) + +[Qiwi](https://qiwi.com/n/VALERIAFADEEVA) + +Etherium 0x981FBf878fe451BDB83BEaF68078394d4B13213f diff --git a/Design/Nier-A2/refind-theme-nier-a2/.gitignore b/Design/Nier-A2/refind-theme-nier-a2/.gitignore new file mode 100644 index 0000000..41aa9d0 --- /dev/null +++ b/Design/Nier-A2/refind-theme-nier-a2/.gitignore @@ -0,0 +1,4 @@ +*.tar.* +pkg/ +src/ +/refind-theme-nier-a2 diff --git a/Design/Nier-A2/refind-theme-nier-a2/00_make.sh b/Design/Nier-A2/refind-theme-nier-a2/00_make.sh new file mode 100755 index 0000000..02a0d1e --- /dev/null +++ b/Design/Nier-A2/refind-theme-nier-a2/00_make.sh @@ -0,0 +1,27 @@ +#!/bin/bash + +makepkg --syncdeps --asdeps --needed --noconfirm --clean --cleanbuild --force + +for i in *.pkg.tar.zst; +do + if [ -f "${i}" ]; then + echo "Удаление подписи $i.sig" + rm -f $i.sig + echo "Добавление подписи $i.sig" + gpg --detach-sign --local-user BC8B600E8DDA1F4CB77B10D2BA803A261A5EE6B8 --output "$i.sig" "$i" + fi +done + +for i in *.pkg.tar.xz; +do + if [ -f "${i}" ]; then + echo "Удаление подписи $i.sig" + rm -f $i.sig + echo "Добавление подписи $i.sig" + gpg --detach-sign --local-user BC8B600E8DDA1F4CB77B10D2BA803A261A5EE6B8 --output "$i.sig" "$i" + fi +done + + +echo "melawy" | beep -f 200 -l 250 -d 100 -r 1 -n -s +notify-send -a "$(basename $(pwd)): Make" -t 999999999 "Make finished" "$(date '+%Y.%m.%d %H:%M:%S')" diff --git a/Design/Nier-A2/refind-theme-nier-a2/01_sign.sh b/Design/Nier-A2/refind-theme-nier-a2/01_sign.sh new file mode 100755 index 0000000..77055f1 --- /dev/null +++ b/Design/Nier-A2/refind-theme-nier-a2/01_sign.sh @@ -0,0 +1,21 @@ +#!/bin/bash + +for i in *.pkg.tar.zst; +do + if [ -f "${i}" ]; then + echo "Удаление подписи $i.sig" + rm -f $i.sig + echo "Добавление подписи $i.sig" + gpg --detach-sign --local-user BC8B600E8DDA1F4CB77B10D2BA803A261A5EE6B8 --output "$i.sig" "$i" + fi +done + +for i in *.pkg.tar.xz; +do + if [ -f "${i}" ]; then + echo "Удаление подписи $i.sig" + rm -f $i.sig + echo "Добавление подписи $i.sig" + gpg --detach-sign --local-user BC8B600E8DDA1F4CB77B10D2BA803A261A5EE6B8 --output "$i.sig" "$i" + fi +done diff --git a/Design/Nier-A2/refind-theme-nier-a2/PKGBUILD b/Design/Nier-A2/refind-theme-nier-a2/PKGBUILD new file mode 100644 index 0000000..c25e627 --- /dev/null +++ b/Design/Nier-A2/refind-theme-nier-a2/PKGBUILD @@ -0,0 +1,39 @@ +# Maintainer: Valeria Fadeeva + +_gitname="$(basename $(pwd))" +pkgname=("melawy-$_gitname") +pkgver=1.4 +pkgrel=1 +pkgdesc="$(head -n 2 README.md | tail -n 1)" +url="https://git.melawy.ru/Melawy-Linux/$_gitname" +arch=("any") +license=("AGPL3") +depends=("refind") +optdepends=() +makedepends=("git") +backup=() +provides=("${pkgname}") +conflicts=("${pkgname}") +source=("git+$url.git") +sha256sums=("SKIP") +validpgpkeys=('BC8B600E8DDA1F4CB77B10D2BA803A261A5EE6B8') + +THEME_NAME="melawy-nier-a2" +THEME_PATH="usr/share/refind/themes" + +install=ins.install + +# pkgver() { +# cd "$srcdir/$_gitname" +# printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" +# } + +pkgver() { + cd "$srcdir/$_gitname" + printf "1.%s" "$(git rev-list --count HEAD)" +} + +package() { + install -d "$pkgdir/$THEME_PATH" + cp -vrf --no-dereference --preserve=links "$srcdir/$_gitname/$THEME_NAME" "$pkgdir/$THEME_PATH/" +} diff --git a/Design/Nier-A2/refind-theme-nier-a2/README.md b/Design/Nier-A2/refind-theme-nier-a2/README.md new file mode 100644 index 0000000..cc21643 --- /dev/null +++ b/Design/Nier-A2/refind-theme-nier-a2/README.md @@ -0,0 +1,11 @@ +# melawy-refind-theme-nier-a2 +rEFInd bootloader theme Nier A2 + +### Donate +[Tinkoff](https://www.tinkoff.ru/rm/fadeeva.valeriya96/9bLRi79066) + +[YooMoney](https://yoomoney.ru/to/4100115921160758) + +[Qiwi](https://qiwi.com/n/VALERIAFADEEVA) + +Etherium 0x981FBf878fe451BDB83BEaF68078394d4B13213f diff --git a/Design/Nier-A2/refind-theme-nier-a2/ins.install b/Design/Nier-A2/refind-theme-nier-a2/ins.install new file mode 100644 index 0000000..c441bc1 --- /dev/null +++ b/Design/Nier-A2/refind-theme-nier-a2/ins.install @@ -0,0 +1,116 @@ +post_install() { + THEME_NAME="melawy-nier-a2" + local install_dir="/usr/share/refind/themes/$THEME_NAME" + + echo "Searching rEFInd installation in EFI partition..." + if ! __has_esp__; then + echo "EFI partition not found" >&2 + exit 1 + fi + + REFIND_DIR=$(find "$ESP" -type d -iname refind) + if ! [[ -d "${REFIND_DIR}" ]]; then + echo "rEFInd not installed in $ESP" >&2 + exit 1 + fi + echo "Found rEFInd in ${REFIND_DIR}" + + echo "Installing theme in ${REFIND_DIR}/themes" + cd ${install_dir} + install -D -m0644 -t "${REFIND_DIR}/themes/$THEME_NAME/" *.conf + find . -exec install -D {} "${REFIND_DIR}/themes/$THEME_NAME/{}" \; + + cp -vrf "$install_dir" "${REFIND_DIR}/themes/$THEME_NAME/" + + REFIND_CONF_PATH="${REFIND_DIR}/refind.conf" + EFI_THEME_PATH="${REFIND_DIR}/themes" + + RESULT=$(grep "theme" $REFIND_CONF_PATH) + + if [[ "$?" = "0" ]]; then + CURRENT_THEME=$(echo $RESULT | cut -d"/" -f2) + if [[ "$?" = "0" ]]; then + sed -e "s/$CURRENT_THEME/$THEME_NAME/g" -i $REFIND_CONF_PATH + fi + else + if [[ -z "$(tail -n 1 -c 1 $REFIND_CONF_PATH)" ]];then + echo "include themes/$THEME_NAME/theme.conf" >> $REFIND_CONF_PATH + else + echo -e "\ninclude themes/$THEME_NAME/theme.conf" >> $REFIND_CONF_PATH + fi + fi +} + +post_upgrade() { + post_install +} + +post_remove() { + THEME_NAME="melawy-nier-a2" + + echo "Removal of theme from EFI partition" + + echo "Searching rEFInd installation in EFI partition..." + if ! __has_esp__; then + echo "EFI partition not found" >&2 + exit 1 + fi + + REFIND_DIR=$(find "$ESP" -type d -iname refind) + if ! [[ -d "${REFIND_DIR}" ]]; then + echo "rEFInd not installed in $ESP" >&2 + exit 1 + fi + echo "Found rEFInd in ${REFIND_DIR}" + + REFIND_CONF_PATH="${REFIND_DIR}/refind.conf" + sed -i "/$THEME_NAME/d" $REFIND_CONF_PATH + + if ! [[ -d "${REFIND_DIR}/themes/$THEME_NAME" ]]; then + echo "Theme already uninstalled" + exit 0 + fi + + rm -r "${REFIND_DIR}/themes/$THEME_NAME" + echo "Theme uninstalled from ${REFIND_DIR}/themes/$THEME_NAME" +} + +# Copied from https://raw.githubusercontent.com/jaltuna/refind-theme-nord/main/setup.sh +# Verify EFI System Partition +__has_esp__() { + __find_esp__ + + mount "$ESP" &>/dev/null + [[ -d "$ESP/EFI" ]] && return 0 || return 1 +} + +__find_esp__() { + local parttype + local fstype + local device + + while read -r device; do + read -r parttype fstype ESP <<<"$(lsblk -o "PARTTYPE,FSTYPE,MOUNTPOINT" "$device" 2>/dev/null | awk 'NR==2')" + + [[ "${parttype,,}" != "c12a7328-f81f-11d2-ba4b-00a0c93ec93b" ]] && continue + [[ "${fstype,,}" != "vfat" ]] && continue + [[ -z $(findmnt -sn "$ESP") ]] && continue + + done <<<"$(fdisk -l 2>/dev/null | grep -i efi | cut -d " " -f 1)" + + if [ -z "${ESP}" ]; then + ESP=$(grep -i "/efi" /etc/fstab | awk '{print $2}') + if [ -z "${ESP}" ]; then + ESP=$(grep -i "/boot" /etc/fstab | awk '{print $2}') + if [ -z "${ESP}" ]; then + ESP=$(bootctl --print-esp-path) + if [ -z "${ESP}" ]; then + exit 1 + fi + fi + fi + fi + + echo "Found ${ESP}" + readonly ESP +} diff --git a/Design/Nier-A2/sddm-theme-nier-a2/.gitignore b/Design/Nier-A2/sddm-theme-nier-a2/.gitignore new file mode 100644 index 0000000..aaa6a24 --- /dev/null +++ b/Design/Nier-A2/sddm-theme-nier-a2/.gitignore @@ -0,0 +1,4 @@ +*.tar.* +pkg/ +src/ +/sddm-theme-nier-a2 diff --git a/Design/Nier-A2/sddm-theme-nier-a2/00_make.sh b/Design/Nier-A2/sddm-theme-nier-a2/00_make.sh new file mode 100755 index 0000000..02a0d1e --- /dev/null +++ b/Design/Nier-A2/sddm-theme-nier-a2/00_make.sh @@ -0,0 +1,27 @@ +#!/bin/bash + +makepkg --syncdeps --asdeps --needed --noconfirm --clean --cleanbuild --force + +for i in *.pkg.tar.zst; +do + if [ -f "${i}" ]; then + echo "Удаление подписи $i.sig" + rm -f $i.sig + echo "Добавление подписи $i.sig" + gpg --detach-sign --local-user BC8B600E8DDA1F4CB77B10D2BA803A261A5EE6B8 --output "$i.sig" "$i" + fi +done + +for i in *.pkg.tar.xz; +do + if [ -f "${i}" ]; then + echo "Удаление подписи $i.sig" + rm -f $i.sig + echo "Добавление подписи $i.sig" + gpg --detach-sign --local-user BC8B600E8DDA1F4CB77B10D2BA803A261A5EE6B8 --output "$i.sig" "$i" + fi +done + + +echo "melawy" | beep -f 200 -l 250 -d 100 -r 1 -n -s +notify-send -a "$(basename $(pwd)): Make" -t 999999999 "Make finished" "$(date '+%Y.%m.%d %H:%M:%S')" diff --git a/Design/Nier-A2/sddm-theme-nier-a2/01_sign.sh b/Design/Nier-A2/sddm-theme-nier-a2/01_sign.sh new file mode 100755 index 0000000..77055f1 --- /dev/null +++ b/Design/Nier-A2/sddm-theme-nier-a2/01_sign.sh @@ -0,0 +1,21 @@ +#!/bin/bash + +for i in *.pkg.tar.zst; +do + if [ -f "${i}" ]; then + echo "Удаление подписи $i.sig" + rm -f $i.sig + echo "Добавление подписи $i.sig" + gpg --detach-sign --local-user BC8B600E8DDA1F4CB77B10D2BA803A261A5EE6B8 --output "$i.sig" "$i" + fi +done + +for i in *.pkg.tar.xz; +do + if [ -f "${i}" ]; then + echo "Удаление подписи $i.sig" + rm -f $i.sig + echo "Добавление подписи $i.sig" + gpg --detach-sign --local-user BC8B600E8DDA1F4CB77B10D2BA803A261A5EE6B8 --output "$i.sig" "$i" + fi +done diff --git a/Design/Nier-A2/sddm-theme-nier-a2/PKGBUILD b/Design/Nier-A2/sddm-theme-nier-a2/PKGBUILD new file mode 100644 index 0000000..f26ee2d --- /dev/null +++ b/Design/Nier-A2/sddm-theme-nier-a2/PKGBUILD @@ -0,0 +1,37 @@ +# Maintainer: Valeria Fadeeva + +_gitname="$(basename $(pwd))" +pkgname=("melawy-$_gitname") +pkgver=1.2 +pkgrel=1 +pkgdesc="$(head -n 2 README.md | tail -n 1)" +url="https://git.melawy.ru/Melawy-Linux/$_gitname" +arch=("any") +license=("AGPL3") +depends=("sddm" "plasma-desktop") +optdepends=() +makedepends=("git") +backup=() +provides=("${pkgname}") +conflicts=("${pkgname}") +source=("git+$url.git") +sha256sums=("SKIP") +validpgpkeys=('BC8B600E8DDA1F4CB77B10D2BA803A261A5EE6B8') + +THEME_NAME="Melawy-Nier-A2" +THEME_PATH="/usr/share/sddm/themes" + +# pkgver() { +# cd "$srcdir/$_gitname" +# printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" +# } + +pkgver() { + cd "$srcdir/$_gitname" + printf "1.%s" "$(git rev-list --count HEAD)" +} + +package() { + install -d "$pkgdir$THEME_PATH" + cp -vrf --no-dereference --preserve=links "$srcdir/$_gitname/$THEME_NAME" "$pkgdir$THEME_PATH/" +} diff --git a/Design/Nier-A2/sddm-theme-nier-a2/README.md b/Design/Nier-A2/sddm-theme-nier-a2/README.md new file mode 100644 index 0000000..a49aa25 --- /dev/null +++ b/Design/Nier-A2/sddm-theme-nier-a2/README.md @@ -0,0 +1,11 @@ +# melawy-sddm-theme-nier-a2 +SDDM theme for theme Nier A2 + +### Donate +[Tinkoff](https://www.tinkoff.ru/rm/fadeeva.valeriya96/9bLRi79066) + +[YooMoney](https://yoomoney.ru/to/4100115921160758) + +[Qiwi](https://qiwi.com/n/VALERIAFADEEVA) + +Etherium 0x981FBf878fe451BDB83BEaF68078394d4B13213f diff --git a/Design/Nier-A2/wallpaper-nier-a2/.gitignore b/Design/Nier-A2/wallpaper-nier-a2/.gitignore new file mode 100644 index 0000000..9f2f93e --- /dev/null +++ b/Design/Nier-A2/wallpaper-nier-a2/.gitignore @@ -0,0 +1,4 @@ +*.tar.* +pkg/ +src/ +/wallpaper-nier-a2 diff --git a/Design/Nier-A2/wallpaper-nier-a2/00_make.sh b/Design/Nier-A2/wallpaper-nier-a2/00_make.sh new file mode 100755 index 0000000..02a0d1e --- /dev/null +++ b/Design/Nier-A2/wallpaper-nier-a2/00_make.sh @@ -0,0 +1,27 @@ +#!/bin/bash + +makepkg --syncdeps --asdeps --needed --noconfirm --clean --cleanbuild --force + +for i in *.pkg.tar.zst; +do + if [ -f "${i}" ]; then + echo "Удаление подписи $i.sig" + rm -f $i.sig + echo "Добавление подписи $i.sig" + gpg --detach-sign --local-user BC8B600E8DDA1F4CB77B10D2BA803A261A5EE6B8 --output "$i.sig" "$i" + fi +done + +for i in *.pkg.tar.xz; +do + if [ -f "${i}" ]; then + echo "Удаление подписи $i.sig" + rm -f $i.sig + echo "Добавление подписи $i.sig" + gpg --detach-sign --local-user BC8B600E8DDA1F4CB77B10D2BA803A261A5EE6B8 --output "$i.sig" "$i" + fi +done + + +echo "melawy" | beep -f 200 -l 250 -d 100 -r 1 -n -s +notify-send -a "$(basename $(pwd)): Make" -t 999999999 "Make finished" "$(date '+%Y.%m.%d %H:%M:%S')" diff --git a/Design/Nier-A2/wallpaper-nier-a2/01_sign.sh b/Design/Nier-A2/wallpaper-nier-a2/01_sign.sh new file mode 100755 index 0000000..77055f1 --- /dev/null +++ b/Design/Nier-A2/wallpaper-nier-a2/01_sign.sh @@ -0,0 +1,21 @@ +#!/bin/bash + +for i in *.pkg.tar.zst; +do + if [ -f "${i}" ]; then + echo "Удаление подписи $i.sig" + rm -f $i.sig + echo "Добавление подписи $i.sig" + gpg --detach-sign --local-user BC8B600E8DDA1F4CB77B10D2BA803A261A5EE6B8 --output "$i.sig" "$i" + fi +done + +for i in *.pkg.tar.xz; +do + if [ -f "${i}" ]; then + echo "Удаление подписи $i.sig" + rm -f $i.sig + echo "Добавление подписи $i.sig" + gpg --detach-sign --local-user BC8B600E8DDA1F4CB77B10D2BA803A261A5EE6B8 --output "$i.sig" "$i" + fi +done diff --git a/Design/Nier-A2/wallpaper-nier-a2/PKGBUILD b/Design/Nier-A2/wallpaper-nier-a2/PKGBUILD new file mode 100644 index 0000000..4f284c9 --- /dev/null +++ b/Design/Nier-A2/wallpaper-nier-a2/PKGBUILD @@ -0,0 +1,37 @@ +# Maintainer: Valeria Fadeeva + +_gitname="$(basename $(pwd))" +pkgname=("melawy-$_gitname") +pkgver=1.7 +pkgrel=1 +pkgdesc="$(head -n 2 README.md | tail -n 1)" +url="https://git.melawy.ru/Melawy-Linux/$_gitname" +arch=("any") +license=("AGPL3") +depends=("plasma-desktop") +optdepends=() +makedepends=("git") +backup=() +provides=("${pkgname}") +conflicts=("${pkgname}") +source=("git+$url.git") +sha256sums=("SKIP") +validpgpkeys=('BC8B600E8DDA1F4CB77B10D2BA803A261A5EE6B8') + +THEME_NAME="Melawy Nier A2" +THEME_PATH="/usr/share/wallpapers" + +# pkgver() { +# cd "$srcdir/$_gitname" +# printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" +# } + +pkgver() { + cd "$srcdir/$_gitname" + printf "1.%s" "$(git rev-list --count HEAD)" +} + +package() { + install -d "$pkgdir$THEME_PATH" + cp -vrf --no-dereference --preserve=links "$srcdir/$_gitname/$THEME_NAME" "$pkgdir$THEME_PATH/" +} diff --git a/Design/Nier-A2/wallpaper-nier-a2/README.md b/Design/Nier-A2/wallpaper-nier-a2/README.md new file mode 100644 index 0000000..9c66fb8 --- /dev/null +++ b/Design/Nier-A2/wallpaper-nier-a2/README.md @@ -0,0 +1,11 @@ +# melawy-wallpaper-nier-a2 +Wallpaper for theme Nier A2 + +### Donate +[Tinkoff](https://www.tinkoff.ru/rm/fadeeva.valeriya96/9bLRi79066) + +[YooMoney](https://yoomoney.ru/to/4100115921160758) + +[Qiwi](https://qiwi.com/n/VALERIAFADEEVA) + +Etherium 0x981FBf878fe451BDB83BEaF68078394d4B13213f diff --git a/Design/make.sh b/Design/make.sh new file mode 100755 index 0000000..3b50023 --- /dev/null +++ b/Design/make.sh @@ -0,0 +1,60 @@ +#!/bin/bash + +REPO="/data/github/active/Melawy/REPO/melawy/x86_64/" + +echo -n $( dirname -- "$( readlink -f -- "$0" )" ) > pwd.txt + +CWD=$(cat pwd.txt) + +for package_dir in $(find . -mindepth 1 -maxdepth 2 -type d) +do + cd $CWD/$package_dir + makepkg --syncdeps --asdeps --needed --noconfirm --clean --cleanbuild --force + + for i in *.pkg.tar.zst; + do + if [ -f "${i}" ]; then + echo "Удаление подписи $i.sig" + rm -f $i.sig + echo "Добавление подписи $i.sig" + gpg --detach-sign --local-user BC8B600E8DDA1F4CB77B10D2BA803A261A5EE6B8 --output "$i.sig" "$i" + fi + done + + for i in *.pkg.tar.xz; + do + if [ -f "${i}" ]; then + echo "Удаление подписи $i.sig" + rm -f $i.sig + echo "Добавление подписи $i.sig" + gpg --detach-sign --local-user BC8B600E8DDA1F4CB77B10D2BA803A261A5EE6B8 --output "$i.sig" "$i" + fi + done + + package_file=$(ls -1 | grep -v "pkg.tar.zst.sig" | grep "pkg.tar.zst") + if [ -f "$CWD/$package_dir/$package_file" ]; then + mv -v $CWD/$package_dir/$package_file $REPO/ + fi + + package_file=$(ls -1 | grep -v "pkg.tar.xz.sig" | grep "pkg.tar.xz") + if [ -f "$CWD/$package_dir/$package_file" ]; then + mv -v $CWD/$package_dir/$package_file $REPO/ + fi + + package_file=$(ls -1 | grep "pkg.tar.xz.sig") + if [ -f "$CWD/$package_dir/$package_file" ]; then + + mv -v $CWD/$package_dir/$package_file $REPO/ + fi + + package_file=$(ls -1 | grep "pkg.tar.zst.sig") + if [ -f "$CWD/$package_dir/$package_file" ]; then + + mv -v $CWD/$package_dir/$package_file $REPO/ + fi + + cd $CWD +done + +echo "melawy" | beep -f 200 -l 250 -d 100 -r 1 -n -s +notify-send -a "$(basename $(pwd)): Make and Move to" -t 999999999 "$REPO" "$(date '+%Y.%m.%d %H:%M:%S')" diff --git a/Design/pwd.txt b/Design/pwd.txt new file mode 100644 index 0000000..b87b7fb --- /dev/null +++ b/Design/pwd.txt @@ -0,0 +1 @@ +/data/github/active/Melawy/PKGBUILD-git.melawy.ru/Design \ No newline at end of file diff --git a/Installer/make.sh b/Installer/make.sh new file mode 100755 index 0000000..a7a627b --- /dev/null +++ b/Installer/make.sh @@ -0,0 +1,60 @@ +#!/bin/bash + +REPO="/data/github/active/Melawy/REPO/melawy/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 + + for i in *.pkg.tar.zst; + do + if [ -f "${i}" ]; then + echo "Удаление подписи $i.sig" + rm -f $i.sig + echo "Добавление подписи $i.sig" + gpg --detach-sign --local-user BC8B600E8DDA1F4CB77B10D2BA803A261A5EE6B8 --output "$i.sig" "$i" + fi + done + + for i in *.pkg.tar.xz; + do + if [ -f "${i}" ]; then + echo "Удаление подписи $i.sig" + rm -f $i.sig + echo "Добавление подписи $i.sig" + gpg --detach-sign --local-user BC8B600E8DDA1F4CB77B10D2BA803A261A5EE6B8 --output "$i.sig" "$i" + fi + done + + package_file=$(ls -1 | grep -v "pkg.tar.zst.sig" | grep "pkg.tar.zst") + if [ -f "$CWD/$package_dir/$package_file" ]; then + mv -v $CWD/$package_dir/$package_file $REPO/ + fi + + package_file=$(ls -1 | grep -v "pkg.tar.xz.sig" | grep "pkg.tar.xz") + if [ -f "$CWD/$package_dir/$package_file" ]; then + mv -v $CWD/$package_dir/$package_file $REPO/ + fi + + package_file=$(ls -1 | grep "pkg.tar.xz.sig") + if [ -f "$CWD/$package_dir/$package_file" ]; then + + mv -v $CWD/$package_dir/$package_file $REPO/ + fi + + package_file=$(ls -1 | grep "pkg.tar.zst.sig") + if [ -f "$CWD/$package_dir/$package_file" ]; then + + mv -v $CWD/$package_dir/$package_file $REPO/ + fi + + cd $CWD +done + +echo "melawy" | beep -f 200 -l 250 -d 100 -r 1 -n -s +notify-send -a "$(basename $(pwd)): Make and Move to" -t 999999999 "$REPO" "$(date '+%Y.%m.%d %H:%M:%S')" diff --git a/Installer/melawy-calamares/.gitignore b/Installer/melawy-calamares/.gitignore new file mode 100644 index 0000000..0ee13a0 --- /dev/null +++ b/Installer/melawy-calamares/.gitignore @@ -0,0 +1,4 @@ +*.tar.* +pkg/ +src/ +/melawy-calamares diff --git a/Installer/melawy-calamares/00_make.sh b/Installer/melawy-calamares/00_make.sh new file mode 100755 index 0000000..02a0d1e --- /dev/null +++ b/Installer/melawy-calamares/00_make.sh @@ -0,0 +1,27 @@ +#!/bin/bash + +makepkg --syncdeps --asdeps --needed --noconfirm --clean --cleanbuild --force + +for i in *.pkg.tar.zst; +do + if [ -f "${i}" ]; then + echo "Удаление подписи $i.sig" + rm -f $i.sig + echo "Добавление подписи $i.sig" + gpg --detach-sign --local-user BC8B600E8DDA1F4CB77B10D2BA803A261A5EE6B8 --output "$i.sig" "$i" + fi +done + +for i in *.pkg.tar.xz; +do + if [ -f "${i}" ]; then + echo "Удаление подписи $i.sig" + rm -f $i.sig + echo "Добавление подписи $i.sig" + gpg --detach-sign --local-user BC8B600E8DDA1F4CB77B10D2BA803A261A5EE6B8 --output "$i.sig" "$i" + fi +done + + +echo "melawy" | beep -f 200 -l 250 -d 100 -r 1 -n -s +notify-send -a "$(basename $(pwd)): Make" -t 999999999 "Make finished" "$(date '+%Y.%m.%d %H:%M:%S')" diff --git a/Installer/melawy-calamares/01_sign.sh b/Installer/melawy-calamares/01_sign.sh new file mode 100755 index 0000000..77055f1 --- /dev/null +++ b/Installer/melawy-calamares/01_sign.sh @@ -0,0 +1,21 @@ +#!/bin/bash + +for i in *.pkg.tar.zst; +do + if [ -f "${i}" ]; then + echo "Удаление подписи $i.sig" + rm -f $i.sig + echo "Добавление подписи $i.sig" + gpg --detach-sign --local-user BC8B600E8DDA1F4CB77B10D2BA803A261A5EE6B8 --output "$i.sig" "$i" + fi +done + +for i in *.pkg.tar.xz; +do + if [ -f "${i}" ]; then + echo "Удаление подписи $i.sig" + rm -f $i.sig + echo "Добавление подписи $i.sig" + gpg --detach-sign --local-user BC8B600E8DDA1F4CB77B10D2BA803A261A5EE6B8 --output "$i.sig" "$i" + fi +done diff --git a/Installer/melawy-calamares/PKGBUILD b/Installer/melawy-calamares/PKGBUILD new file mode 100644 index 0000000..5425054 --- /dev/null +++ b/Installer/melawy-calamares/PKGBUILD @@ -0,0 +1,79 @@ +# Maintainer : Valeria Fadeeva +# Calamares installer (fork from EndeavourOS) configured for Melawy Linux + +_gitname="$(basename $(pwd))" +pkgname=("$_gitname") +release_name=$pkgname +pkgver=3.3.0.10996 +pkgrel=1 +pkgdesc="$(head -n 2 README.md | tail -n 1)" +arch=('any') +url="https://git.melawy.ru/Melawy-Linux/$_gitname" + +license=('GPL3') + +makedepends=('git' 'cmake' 'extra-cmake-modules' 'kpmcore' 'boost' 'python-jsonschema' 'python-pyaml' 'python-unidecode' 'gawk' 'ninja' 'qt5-tools' 'kdbusaddons') + +depends=( 'qt5-svg' 'qt5-webengine' 'yaml-cpp' 'networkmanager' 'upower' 'kcoreaddons' 'kconfig' 'ki18n' 'kservice' \ +'kwidgetsaddons' 'kpmcore' 'squashfs-tools' 'rsync' 'cryptsetup' 'qt5-xmlpatterns' 'doxygen' 'dmidecode' \ +'gptfdisk' 'hwinfo' 'kparts' 'polkit-qt5' 'python' 'solid' 'qt5-tools' 'boost-libs' 'libpwquality' 'ckbcomp' 'qt5-quickcontrols' 'qt5-quickcontrols2' 'kdbusaddons') + +provides=("calamares") +conflicts=('calamares') + +options=(!strip !emptydirs) +source=("git+https://git.melawy.ru/Melawy-Linux/$_gitname.git#branch=calamares") + +sha256sums=('SKIP') + +pkgver() { + cd "${srcdir}/${_gitname}" + printf "3.3.0.%s" "$(git rev-list --count HEAD)" +} + +prepare() { + # Update branding.desc with the proper values + replace_command=' + { + gsub(/\${version}/,version); + gsub(/\${release_name}/,release); + print + } + ' + awk -i inplace -v version="$(pkgver)" -v release="${release_name}" "$replace_command" "${srcdir}/$_gitname/src/branding/melawy/branding.desc" +} + +build() { + _cpuCount=$(grep -c -w ^processor /proc/cpuinfo) + + cmake -B build -S "${srcdir}/$_gitname" \ + -GNinja \ + -DCMAKE_BUILD_TYPE=Release \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=lib \ + -DWITH_APPSTREAM=OFF \ + -DINSTALL_CONFIG=OFF \ + -DSKIP_MODULES="dracut \ + dummycpp dummyprocess dummypython dummypythonqt \ + finishedq initcpio keyboardq license localeq notesqml oemid \ + openrcdmcryptcfg plymouthcfg plasmalnf services-openrc \ + summaryq tracking usersq webview welcomeq" + export DESTDIR="$srcdir/build" + cmake --build build --parallel $_cpuCount +} + +package() { + DESTDIR="${pkgdir}" cmake --build "${DESTDIR}" --target install + + install -dm 755 "${pkgdir}/etc" + cp -rp "${srcdir}/$_gitname/data/melawy" "${pkgdir}/etc/calamares" + + install -dm 750 "${pkgdir}/etc/polkit-1/rules.d" + install -Dm644 "${srcdir}/$_gitname/49-nopasswd-calamares.rules" "${pkgdir}/etc/polkit-1/rules.d/49-nopasswd-calamares.rules" + +# install -dm 755 "${pkgdir}/etc/xdg/autostart" +# install -Dm644 "${srcdir}/$_gitname/calamares.desktop" "${pkgdir}/etc/xdg/autostart/calamares.desktop" + + install -dm 755 "${pkgdir}/usr/bin" + install -Dm755 "${srcdir}/$_gitname/calamares_polkit" "${pkgdir}/usr/bin/calamares_polkit" +} diff --git a/Installer/melawy-calamares/README.md b/Installer/melawy-calamares/README.md new file mode 100644 index 0000000..b3f029e --- /dev/null +++ b/Installer/melawy-calamares/README.md @@ -0,0 +1,11 @@ +# calamares +Calamares installer for Melawy Linux - Development version + +### Donate +[Tinkoff](https://www.tinkoff.ru/rm/fadeeva.valeriya96/9bLRi79066) + +[YooMoney](https://yoomoney.ru/to/4100115921160758) + +[Qiwi](https://qiwi.com/n/VALERIAFADEEVA) + +Etherium 0x981FBf878fe451BDB83BEaF68078394d4B13213f diff --git a/Installer/melawy-welcome/00_make.sh b/Installer/melawy-welcome/00_make.sh new file mode 100755 index 0000000..02a0d1e --- /dev/null +++ b/Installer/melawy-welcome/00_make.sh @@ -0,0 +1,27 @@ +#!/bin/bash + +makepkg --syncdeps --asdeps --needed --noconfirm --clean --cleanbuild --force + +for i in *.pkg.tar.zst; +do + if [ -f "${i}" ]; then + echo "Удаление подписи $i.sig" + rm -f $i.sig + echo "Добавление подписи $i.sig" + gpg --detach-sign --local-user BC8B600E8DDA1F4CB77B10D2BA803A261A5EE6B8 --output "$i.sig" "$i" + fi +done + +for i in *.pkg.tar.xz; +do + if [ -f "${i}" ]; then + echo "Удаление подписи $i.sig" + rm -f $i.sig + echo "Добавление подписи $i.sig" + gpg --detach-sign --local-user BC8B600E8DDA1F4CB77B10D2BA803A261A5EE6B8 --output "$i.sig" "$i" + fi +done + + +echo "melawy" | beep -f 200 -l 250 -d 100 -r 1 -n -s +notify-send -a "$(basename $(pwd)): Make" -t 999999999 "Make finished" "$(date '+%Y.%m.%d %H:%M:%S')" diff --git a/Installer/melawy-welcome/01_sign.sh b/Installer/melawy-welcome/01_sign.sh new file mode 100755 index 0000000..77055f1 --- /dev/null +++ b/Installer/melawy-welcome/01_sign.sh @@ -0,0 +1,21 @@ +#!/bin/bash + +for i in *.pkg.tar.zst; +do + if [ -f "${i}" ]; then + echo "Удаление подписи $i.sig" + rm -f $i.sig + echo "Добавление подписи $i.sig" + gpg --detach-sign --local-user BC8B600E8DDA1F4CB77B10D2BA803A261A5EE6B8 --output "$i.sig" "$i" + fi +done + +for i in *.pkg.tar.xz; +do + if [ -f "${i}" ]; then + echo "Удаление подписи $i.sig" + rm -f $i.sig + echo "Добавление подписи $i.sig" + gpg --detach-sign --local-user BC8B600E8DDA1F4CB77B10D2BA803A261A5EE6B8 --output "$i.sig" "$i" + fi +done diff --git a/Installer/melawy-welcome/PKGBUILD b/Installer/melawy-welcome/PKGBUILD new file mode 100644 index 0000000..529c7e8 --- /dev/null +++ b/Installer/melawy-welcome/PKGBUILD @@ -0,0 +1,58 @@ +# Maintainer: Valeria Fadeeva + +_gitname="$(basename $(pwd))" +pkgname=("$_gitname") +pkgver=0.10.1.199 +pkgrel=1 +pkgdesc="$(head -n 2 README.md | tail -n 1)" +arch=('x86_64') +url="https://git.melawy.ru/Melawy-Linux/$_gitname" +groups=('melawy') + +license=('GPL3') + +makedepends=('meson' 'git' 'mold' 'rustup' 'clang') + +depends=('gtk3' 'glib2') + +provides=("$_gitname") +conflicts=("$_gitname") + +options=(strip) +source=("git+$url.git") + +sha256sums=('SKIP') + +pkgver() { + cd "${srcdir}/${_gitname}/" + printf "0.10.1.%s" "$(git rev-list --count HEAD)" +} + +build() { + cd "${srcdir}/${_gitname}/" + + if ! rustc --version | grep nightly >/dev/null 2>&1; then + echo "Installing nightly compiler…" + rustup toolchain install nightly + rustup default nightly + fi + + _cpuCount=$(grep -c -w ^processor /proc/cpuinfo) + + export RUSTFLAGS="-Cembed-bitcode -C opt-level=3 -Ccodegen-units=1 -Clinker=clang -C link-arg=-flto -Clink-arg=-fuse-ld=/usr/bin/mold" + meson setup --buildtype=release --prefix=/usr build + + meson compile -C build --jobs $_cpuCount +} + +package() { + cd "${srcdir}/${_gitname}"/build + + export RUSTFLAGS="-Cembed-bitcode -C opt-level=3 -Ccodegen-units=1 -Clinker=clang -C link-arg=-flto -Clink-arg=-fuse-ld=/usr/bin/mold" + DESTDIR="${pkgdir}" meson install + + install -Dvm644 ../${_gitname}.desktop \ + "$pkgdir/etc/skel/.config/autostart/${_gitname}.desktop" +} + +# vim:set sw=2 sts=2 et: diff --git a/Installer/melawy-welcome/README.md b/Installer/melawy-welcome/README.md new file mode 100644 index 0000000..57f9664 --- /dev/null +++ b/Installer/melawy-welcome/README.md @@ -0,0 +1,11 @@ +# melawy-welcome +Welcome screen for Melawy Linux + +### Donate +[Tinkoff](https://www.tinkoff.ru/rm/fadeeva.valeriya96/9bLRi79066) + +[YooMoney](https://yoomoney.ru/to/4100115921160758) + +[Qiwi](https://qiwi.com/n/VALERIAFADEEVA) + +Etherium 0x981FBf878fe451BDB83BEaF68078394d4B13213f diff --git a/Installer/melawy-welcome/melawy-welcome/FETCH_HEAD b/Installer/melawy-welcome/melawy-welcome/FETCH_HEAD new file mode 100644 index 0000000..34f63f7 --- /dev/null +++ b/Installer/melawy-welcome/melawy-welcome/FETCH_HEAD @@ -0,0 +1,83 @@ +fb83293f266709370cf58a173d2f0c1ebd82c7a8 not-for-merge branch 'develop' of https://git.melawy.ru/Melawy-Linux/melawy-welcome +0aef4b8275a657e36614a3b1418601b0b9c08923 not-for-merge branch 'gtk4' of https://git.melawy.ru/Melawy-Linux/melawy-welcome +4deac1c84634cc1928d461123e5717b06bce99a2 not-for-merge branch 'hello.ftl-polish' of https://git.melawy.ru/Melawy-Linux/melawy-welcome +80ea978741ea5da283e9427e490b8a0368c17751 not-for-merge 'refs/pull/1/head' of https://git.melawy.ru/Melawy-Linux/melawy-welcome +4a57717cd7ab3d8db927e7770fdf6ffdf01c5cb2 not-for-merge 'refs/pull/10/head' of https://git.melawy.ru/Melawy-Linux/melawy-welcome +5b0ef593bc68a206e90fb00a3f5696fca0ed31b1 not-for-merge 'refs/pull/11/head' of https://git.melawy.ru/Melawy-Linux/melawy-welcome +209b660d79c0f98ae421d76ecb9e09889919a27c not-for-merge 'refs/pull/12/head' of https://git.melawy.ru/Melawy-Linux/melawy-welcome +993ff8e33d81c56ad869682d1996f8f55dbebdf2 not-for-merge 'refs/pull/13/head' of https://git.melawy.ru/Melawy-Linux/melawy-welcome +0a1fbe8b4595e63542d5d04356b6cb03f813a520 not-for-merge 'refs/pull/14/head' of https://git.melawy.ru/Melawy-Linux/melawy-welcome +72f4c5659fb74684a8d8b374e7cb9292a24e1ecd not-for-merge 'refs/pull/15/head' of https://git.melawy.ru/Melawy-Linux/melawy-welcome +fa87f9834cec8b11098f42b4ff8e5d0fa678566d not-for-merge 'refs/pull/16/head' of https://git.melawy.ru/Melawy-Linux/melawy-welcome +1e41089528ff9f7e56fcdc16eb55d712c30fce79 not-for-merge 'refs/pull/17/head' of https://git.melawy.ru/Melawy-Linux/melawy-welcome +83304f10a5c1a8a7f7f3dfd5fe19ceec79c10fc9 not-for-merge 'refs/pull/18/head' of https://git.melawy.ru/Melawy-Linux/melawy-welcome +d33ec1e2b3dcf1ea5d6757c5905df2539a0f797b not-for-merge 'refs/pull/19/head' of https://git.melawy.ru/Melawy-Linux/melawy-welcome +35c4ab87ea569b4d36cb1532f8f2960d9e5f597c not-for-merge 'refs/pull/2/head' of https://git.melawy.ru/Melawy-Linux/melawy-welcome +f363f638d4c1880245f5f535adb63eafe96e78e8 not-for-merge 'refs/pull/20/head' of https://git.melawy.ru/Melawy-Linux/melawy-welcome +7252dc3a13d6ace869afd8f64a9b12a7d388204f not-for-merge 'refs/pull/21/head' of https://git.melawy.ru/Melawy-Linux/melawy-welcome +03c33456c752ae0573604e798e41f7c7fc13dcc0 not-for-merge 'refs/pull/22/head' of https://git.melawy.ru/Melawy-Linux/melawy-welcome +c47926eb8b741349d541da8867d72b24022f373f not-for-merge 'refs/pull/23/head' of https://git.melawy.ru/Melawy-Linux/melawy-welcome +9127a479a17eb1ffcd06e691ff7af4b1d3df9b57 not-for-merge 'refs/pull/24/head' of https://git.melawy.ru/Melawy-Linux/melawy-welcome +567eac4d95de6b82ad97b91bd99810136f8774d8 not-for-merge 'refs/pull/25/head' of https://git.melawy.ru/Melawy-Linux/melawy-welcome +0bca59a8af4b022d42c6f7d73badc3ca52c98657 not-for-merge 'refs/pull/26/head' of https://git.melawy.ru/Melawy-Linux/melawy-welcome +67bab48d17d15b0433e5793b4218d83a329959b9 not-for-merge 'refs/pull/27/head' of https://git.melawy.ru/Melawy-Linux/melawy-welcome +d5603bb6cb375d410643cd03e767d9e49231cdc8 not-for-merge 'refs/pull/28/head' of https://git.melawy.ru/Melawy-Linux/melawy-welcome +b5006e97d091228ac1836f8e3e704194cfd237f4 not-for-merge 'refs/pull/29/head' of https://git.melawy.ru/Melawy-Linux/melawy-welcome +8002c93ff2114c60ca476f88458d11f262774dbb not-for-merge 'refs/pull/3/head' of https://git.melawy.ru/Melawy-Linux/melawy-welcome +da1f2ab5d126aecaa593fb0c4ae5ece0a6a7c0f3 not-for-merge 'refs/pull/30/head' of https://git.melawy.ru/Melawy-Linux/melawy-welcome +eb85a297153a7adc68ab8fd879c38b68065be3d7 not-for-merge 'refs/pull/31/head' of https://git.melawy.ru/Melawy-Linux/melawy-welcome +8fde5e90cfaa90261b9a1416e5869d36ac7ea20e not-for-merge 'refs/pull/32/head' of https://git.melawy.ru/Melawy-Linux/melawy-welcome +6670bb247c954e2d663204d0e3700a18e00b13ff not-for-merge 'refs/pull/33/head' of https://git.melawy.ru/Melawy-Linux/melawy-welcome +804ee3256a72174d56a79afbc170e8622f105bfe not-for-merge 'refs/pull/34/head' of https://git.melawy.ru/Melawy-Linux/melawy-welcome +d76926d6e17b6f79c2e637fb12931081f562225a not-for-merge 'refs/pull/35/head' of https://git.melawy.ru/Melawy-Linux/melawy-welcome +cc6e626af348e09506f7d5b2afe1154637f42943 not-for-merge 'refs/pull/36/head' of https://git.melawy.ru/Melawy-Linux/melawy-welcome +14f41a38e4b0a47e349a0bd8895ea341507aab0d not-for-merge 'refs/pull/37/head' of https://git.melawy.ru/Melawy-Linux/melawy-welcome +f32f38f4ff5e0acc32c91860b9ce22eff105ebd3 not-for-merge 'refs/pull/38/head' of https://git.melawy.ru/Melawy-Linux/melawy-welcome +d0ce7cfecaad513cf393c064adda6c0cf2a677a1 not-for-merge 'refs/pull/39/head' of https://git.melawy.ru/Melawy-Linux/melawy-welcome +4b08890e77ca6f94fc9c1d7d1899c585515791ad not-for-merge 'refs/pull/4/head' of https://git.melawy.ru/Melawy-Linux/melawy-welcome +300f2715386699210fddc1bdb50e975c669b3c79 not-for-merge 'refs/pull/40/head' of https://git.melawy.ru/Melawy-Linux/melawy-welcome +df57421b9b88da9b3e78d107cb917a688902fc38 not-for-merge 'refs/pull/41/head' of https://git.melawy.ru/Melawy-Linux/melawy-welcome +f7e3e4f99f6850911b3ff517f11c82517dab1d73 not-for-merge 'refs/pull/42/head' of https://git.melawy.ru/Melawy-Linux/melawy-welcome +d51fda859dcdc525129e0d20e8fd176ccdaa251d not-for-merge 'refs/pull/43/head' of https://git.melawy.ru/Melawy-Linux/melawy-welcome +c09ce9addedb973983d0f31d7707092750d50ca1 not-for-merge 'refs/pull/44/head' of https://git.melawy.ru/Melawy-Linux/melawy-welcome +481b35bf79a6e914eadf0153668e5b43ee65673f not-for-merge 'refs/pull/45/head' of https://git.melawy.ru/Melawy-Linux/melawy-welcome +5db6500a71286dbd622ae443278c6c206f5b2f25 not-for-merge 'refs/pull/46/head' of https://git.melawy.ru/Melawy-Linux/melawy-welcome +8d7a73c7af2561a47049231abda9d750b82ddf1a not-for-merge 'refs/pull/47/head' of https://git.melawy.ru/Melawy-Linux/melawy-welcome +f522f3d170a1e4b395da0cfec610d84b1728b592 not-for-merge 'refs/pull/48/head' of https://git.melawy.ru/Melawy-Linux/melawy-welcome +12edc11fa65bfd6adb95d4dd8a8b3219d4ef9b45 not-for-merge 'refs/pull/49/head' of https://git.melawy.ru/Melawy-Linux/melawy-welcome +e6bf794d841fc060b606db9605772f2dfd71b578 not-for-merge 'refs/pull/5/head' of https://git.melawy.ru/Melawy-Linux/melawy-welcome +db4f65b17b850b0ddf87cd0f4582e1df6e025090 not-for-merge 'refs/pull/50/head' of https://git.melawy.ru/Melawy-Linux/melawy-welcome +7886403c4830a048d278c358350517da85ace234 not-for-merge 'refs/pull/51/head' of https://git.melawy.ru/Melawy-Linux/melawy-welcome +92fc56c4c86bfd6f5768146f12e5a5ca6be24b5a not-for-merge 'refs/pull/52/head' of https://git.melawy.ru/Melawy-Linux/melawy-welcome +0c5f63eb3afa5e49d425b2c0730c5851bba292dc not-for-merge 'refs/pull/53/head' of https://git.melawy.ru/Melawy-Linux/melawy-welcome +1e7532d523c6967c81438e2c03f5730c394dd69c not-for-merge 'refs/pull/54/head' of https://git.melawy.ru/Melawy-Linux/melawy-welcome +efcb83413b8152b66b5252a59589185d06e3abe6 not-for-merge 'refs/pull/55/head' of https://git.melawy.ru/Melawy-Linux/melawy-welcome +cc22d1eaff631d655aa4571bef42071a3613a96b not-for-merge 'refs/pull/56/head' of https://git.melawy.ru/Melawy-Linux/melawy-welcome +a6eeb770d4ad15d4126fc9330c0a181d02aed540 not-for-merge 'refs/pull/57/head' of https://git.melawy.ru/Melawy-Linux/melawy-welcome +4deac1c84634cc1928d461123e5717b06bce99a2 not-for-merge 'refs/pull/58/head' of https://git.melawy.ru/Melawy-Linux/melawy-welcome +d3119b132c8ad3e4437ec0bc84555c5f3d34567f not-for-merge 'refs/pull/59/head' of https://git.melawy.ru/Melawy-Linux/melawy-welcome +8e2037019e0cbc662f11ecfb4997e6d14736a06c not-for-merge 'refs/pull/6/head' of https://git.melawy.ru/Melawy-Linux/melawy-welcome +a2fc19ff6b7cb139c0ea255eb4aa5a8493c6f586 not-for-merge 'refs/pull/60/head' of https://git.melawy.ru/Melawy-Linux/melawy-welcome +3b216b85ab49913fa4caca1c5e2ffa838900b9c2 not-for-merge 'refs/pull/60/merge' of https://git.melawy.ru/Melawy-Linux/melawy-welcome +6cf3f61020763ec867bf0a2f0c181b93117a9576 not-for-merge 'refs/pull/7/head' of https://git.melawy.ru/Melawy-Linux/melawy-welcome +dd7087ac6602807bb671dde44c9bd99cc905e180 not-for-merge 'refs/pull/8/head' of https://git.melawy.ru/Melawy-Linux/melawy-welcome +b452ee56a6d1109c1d772c17e8ea071b1cdc16b1 not-for-merge 'refs/pull/9/head' of https://git.melawy.ru/Melawy-Linux/melawy-welcome +878e7953d91d87e6c7a00eff808f030273b1d9f4 not-for-merge tag 'v0.10.0' of https://git.melawy.ru/Melawy-Linux/melawy-welcome +7601d14d080a7126464a5df4b201d81f7d2f64ad not-for-merge tag 'v0.10.1' of https://git.melawy.ru/Melawy-Linux/melawy-welcome +75b89db706884f0929bda2e978eceae4219b2422 not-for-merge tag 'v0.8.0' of https://git.melawy.ru/Melawy-Linux/melawy-welcome +e41ed25c7e5323d576d8347411b8fc137bc38abb not-for-merge tag 'v0.8.5' of https://git.melawy.ru/Melawy-Linux/melawy-welcome +e1659f93e368f5ea0a496e034e407dc4a1bad7a5 not-for-merge tag 'v0.8.6' of https://git.melawy.ru/Melawy-Linux/melawy-welcome +de0a7425c70a817954b9b19025323eac53feb319 not-for-merge tag 'v0.8.7' of https://git.melawy.ru/Melawy-Linux/melawy-welcome +7d2a5dedcd340f0633c411af75ebd094c77d4803 not-for-merge tag 'v0.8.8' of https://git.melawy.ru/Melawy-Linux/melawy-welcome +50fefee7cfc5c9dc508a3edbf06040263a4ecaaa not-for-merge tag 'v0.8.9' of https://git.melawy.ru/Melawy-Linux/melawy-welcome +76e4a2d96a84abd6a81eeaec09f22035e1089f5f not-for-merge tag 'v0.9.0' of https://git.melawy.ru/Melawy-Linux/melawy-welcome +0ad270c85c68acc887db0b6a591db9a7bb04ab8e not-for-merge tag 'v0.9.1' of https://git.melawy.ru/Melawy-Linux/melawy-welcome +22d83c8721f784dfbc600f4dc12ab24f7cf2e3fb not-for-merge tag 'v0.9.10' of https://git.melawy.ru/Melawy-Linux/melawy-welcome +c590a2a916fccc0ca0ab326c2a8d8d4341c47569 not-for-merge tag 'v0.9.2' of https://git.melawy.ru/Melawy-Linux/melawy-welcome +25febeb3bffcd1c665d9f674ebaf8c1d1190c40a not-for-merge tag 'v0.9.3' of https://git.melawy.ru/Melawy-Linux/melawy-welcome +9112af76450da0fb4568d50fb986f7261e1971d7 not-for-merge tag 'v0.9.4' of https://git.melawy.ru/Melawy-Linux/melawy-welcome +6226aa48793f34c69be0f124f5d7381a38346aff not-for-merge tag 'v0.9.5' of https://git.melawy.ru/Melawy-Linux/melawy-welcome +14ad98637bdddf23257d7356d21c474caedb2c91 not-for-merge tag 'v0.9.6' of https://git.melawy.ru/Melawy-Linux/melawy-welcome +0a7f4908b6c487fc3cc669fca2029555b8035b63 not-for-merge tag 'v0.9.7' of https://git.melawy.ru/Melawy-Linux/melawy-welcome +bd7dceb7ae607510a91404915111a4c8cce6b944 not-for-merge tag 'v0.9.8' of https://git.melawy.ru/Melawy-Linux/melawy-welcome +7820fecfa3ac58cf2a8a82df14544ca7f57cde76 not-for-merge tag 'v0.9.9' of https://git.melawy.ru/Melawy-Linux/melawy-welcome diff --git a/Installer/melawy-welcome/melawy-welcome/HEAD b/Installer/melawy-welcome/melawy-welcome/HEAD new file mode 100644 index 0000000..7ee7e4f --- /dev/null +++ b/Installer/melawy-welcome/melawy-welcome/HEAD @@ -0,0 +1 @@ +ref: refs/heads/develop diff --git a/Installer/melawy-welcome/melawy-welcome/config b/Installer/melawy-welcome/melawy-welcome/config new file mode 100644 index 0000000..bea195d --- /dev/null +++ b/Installer/melawy-welcome/melawy-welcome/config @@ -0,0 +1,8 @@ +[core] + repositoryformatversion = 0 + filemode = true + bare = true +[remote "origin"] + url = https://git.melawy.ru/Melawy-Linux/melawy-welcome.git + fetch = +refs/*:refs/* + mirror = true diff --git a/Installer/melawy-welcome/melawy-welcome/description b/Installer/melawy-welcome/melawy-welcome/description new file mode 100644 index 0000000..498b267 --- /dev/null +++ b/Installer/melawy-welcome/melawy-welcome/description @@ -0,0 +1 @@ +Unnamed repository; edit this file 'description' to name the repository. diff --git a/Installer/melawy-welcome/melawy-welcome/hooks/applypatch-msg.sample b/Installer/melawy-welcome/melawy-welcome/hooks/applypatch-msg.sample new file mode 100755 index 0000000..a5d7b84 --- /dev/null +++ b/Installer/melawy-welcome/melawy-welcome/hooks/applypatch-msg.sample @@ -0,0 +1,15 @@ +#!/bin/sh +# +# An example hook script to check the commit log message taken by +# applypatch from an e-mail message. +# +# The hook should exit with non-zero status after issuing an +# appropriate message if it wants to stop the commit. The hook is +# allowed to edit the commit message file. +# +# To enable this hook, rename this file to "applypatch-msg". + +. git-sh-setup +commitmsg="$(git rev-parse --git-path hooks/commit-msg)" +test -x "$commitmsg" && exec "$commitmsg" ${1+"$@"} +: diff --git a/Installer/melawy-welcome/melawy-welcome/hooks/commit-msg.sample b/Installer/melawy-welcome/melawy-welcome/hooks/commit-msg.sample new file mode 100755 index 0000000..b58d118 --- /dev/null +++ b/Installer/melawy-welcome/melawy-welcome/hooks/commit-msg.sample @@ -0,0 +1,24 @@ +#!/bin/sh +# +# An example hook script to check the commit log message. +# Called by "git commit" with one argument, the name of the file +# that has the commit message. The hook should exit with non-zero +# status after issuing an appropriate message if it wants to stop the +# commit. The hook is allowed to edit the commit message file. +# +# To enable this hook, rename this file to "commit-msg". + +# Uncomment the below to add a Signed-off-by line to the message. +# Doing this in a hook is a bad idea in general, but the prepare-commit-msg +# hook is more suited to it. +# +# SOB=$(git var GIT_AUTHOR_IDENT | sed -n 's/^\(.*>\).*$/Signed-off-by: \1/p') +# grep -qs "^$SOB" "$1" || echo "$SOB" >> "$1" + +# This example catches duplicate Signed-off-by lines. + +test "" = "$(grep '^Signed-off-by: ' "$1" | + sort | uniq -c | sed -e '/^[ ]*1[ ]/d')" || { + echo >&2 Duplicate Signed-off-by lines. + exit 1 +} diff --git a/Installer/melawy-welcome/melawy-welcome/hooks/fsmonitor-watchman.sample b/Installer/melawy-welcome/melawy-welcome/hooks/fsmonitor-watchman.sample new file mode 100755 index 0000000..23e856f --- /dev/null +++ b/Installer/melawy-welcome/melawy-welcome/hooks/fsmonitor-watchman.sample @@ -0,0 +1,174 @@ +#!/usr/bin/perl + +use strict; +use warnings; +use IPC::Open2; + +# An example hook script to integrate Watchman +# (https://facebook.github.io/watchman/) with git to speed up detecting +# new and modified files. +# +# The hook is passed a version (currently 2) and last update token +# formatted as a string and outputs to stdout a new update token and +# all files that have been modified since the update token. Paths must +# be relative to the root of the working tree and separated by a single NUL. +# +# To enable this hook, rename this file to "query-watchman" and set +# 'git config core.fsmonitor .git/hooks/query-watchman' +# +my ($version, $last_update_token) = @ARGV; + +# Uncomment for debugging +# print STDERR "$0 $version $last_update_token\n"; + +# Check the hook interface version +if ($version ne 2) { + die "Unsupported query-fsmonitor hook version '$version'.\n" . + "Falling back to scanning...\n"; +} + +my $git_work_tree = get_working_dir(); + +my $retry = 1; + +my $json_pkg; +eval { + require JSON::XS; + $json_pkg = "JSON::XS"; + 1; +} or do { + require JSON::PP; + $json_pkg = "JSON::PP"; +}; + +launch_watchman(); + +sub launch_watchman { + my $o = watchman_query(); + if (is_work_tree_watched($o)) { + output_result($o->{clock}, @{$o->{files}}); + } +} + +sub output_result { + my ($clockid, @files) = @_; + + # Uncomment for debugging watchman output + # open (my $fh, ">", ".git/watchman-output.out"); + # binmode $fh, ":utf8"; + # print $fh "$clockid\n@files\n"; + # close $fh; + + binmode STDOUT, ":utf8"; + print $clockid; + print "\0"; + local $, = "\0"; + print @files; +} + +sub watchman_clock { + my $response = qx/watchman clock "$git_work_tree"/; + die "Failed to get clock id on '$git_work_tree'.\n" . + "Falling back to scanning...\n" if $? != 0; + + return $json_pkg->new->utf8->decode($response); +} + +sub watchman_query { + my $pid = open2(\*CHLD_OUT, \*CHLD_IN, 'watchman -j --no-pretty') + or die "open2() failed: $!\n" . + "Falling back to scanning...\n"; + + # In the query expression below we're asking for names of files that + # changed since $last_update_token but not from the .git folder. + # + # To accomplish this, we're using the "since" generator to use the + # recency index to select candidate nodes and "fields" to limit the + # output to file names only. Then we're using the "expression" term to + # further constrain the results. + my $last_update_line = ""; + if (substr($last_update_token, 0, 1) eq "c") { + $last_update_token = "\"$last_update_token\""; + $last_update_line = qq[\n"since": $last_update_token,]; + } + my $query = <<" END"; + ["query", "$git_work_tree", {$last_update_line + "fields": ["name"], + "expression": ["not", ["dirname", ".git"]] + }] + END + + # Uncomment for debugging the watchman query + # open (my $fh, ">", ".git/watchman-query.json"); + # print $fh $query; + # close $fh; + + print CHLD_IN $query; + close CHLD_IN; + my $response = do {local $/; }; + + # Uncomment for debugging the watch response + # open ($fh, ">", ".git/watchman-response.json"); + # print $fh $response; + # close $fh; + + die "Watchman: command returned no output.\n" . + "Falling back to scanning...\n" if $response eq ""; + die "Watchman: command returned invalid output: $response\n" . + "Falling back to scanning...\n" unless $response =~ /^\{/; + + return $json_pkg->new->utf8->decode($response); +} + +sub is_work_tree_watched { + my ($output) = @_; + my $error = $output->{error}; + if ($retry > 0 and $error and $error =~ m/unable to resolve root .* directory (.*) is not watched/) { + $retry--; + my $response = qx/watchman watch "$git_work_tree"/; + die "Failed to make watchman watch '$git_work_tree'.\n" . + "Falling back to scanning...\n" if $? != 0; + $output = $json_pkg->new->utf8->decode($response); + $error = $output->{error}; + die "Watchman: $error.\n" . + "Falling back to scanning...\n" if $error; + + # Uncomment for debugging watchman output + # open (my $fh, ">", ".git/watchman-output.out"); + # close $fh; + + # Watchman will always return all files on the first query so + # return the fast "everything is dirty" flag to git and do the + # Watchman query just to get it over with now so we won't pay + # the cost in git to look up each individual file. + my $o = watchman_clock(); + $error = $output->{error}; + + die "Watchman: $error.\n" . + "Falling back to scanning...\n" if $error; + + output_result($o->{clock}, ("/")); + $last_update_token = $o->{clock}; + + eval { launch_watchman() }; + return 0; + } + + die "Watchman: $error.\n" . + "Falling back to scanning...\n" if $error; + + return 1; +} + +sub get_working_dir { + my $working_dir; + if ($^O =~ 'msys' || $^O =~ 'cygwin') { + $working_dir = Win32::GetCwd(); + $working_dir =~ tr/\\/\//; + } else { + require Cwd; + $working_dir = Cwd::cwd(); + } + + return $working_dir; +} diff --git a/Installer/melawy-welcome/melawy-welcome/hooks/post-update.sample b/Installer/melawy-welcome/melawy-welcome/hooks/post-update.sample new file mode 100755 index 0000000..ec17ec1 --- /dev/null +++ b/Installer/melawy-welcome/melawy-welcome/hooks/post-update.sample @@ -0,0 +1,8 @@ +#!/bin/sh +# +# An example hook script to prepare a packed repository for use over +# dumb transports. +# +# To enable this hook, rename this file to "post-update". + +exec git update-server-info diff --git a/Installer/melawy-welcome/melawy-welcome/hooks/pre-applypatch.sample b/Installer/melawy-welcome/melawy-welcome/hooks/pre-applypatch.sample new file mode 100755 index 0000000..4142082 --- /dev/null +++ b/Installer/melawy-welcome/melawy-welcome/hooks/pre-applypatch.sample @@ -0,0 +1,14 @@ +#!/bin/sh +# +# An example hook script to verify what is about to be committed +# by applypatch from an e-mail message. +# +# The hook should exit with non-zero status after issuing an +# appropriate message if it wants to stop the commit. +# +# To enable this hook, rename this file to "pre-applypatch". + +. git-sh-setup +precommit="$(git rev-parse --git-path hooks/pre-commit)" +test -x "$precommit" && exec "$precommit" ${1+"$@"} +: diff --git a/Installer/melawy-welcome/melawy-welcome/hooks/pre-commit.sample b/Installer/melawy-welcome/melawy-welcome/hooks/pre-commit.sample new file mode 100755 index 0000000..e144712 --- /dev/null +++ b/Installer/melawy-welcome/melawy-welcome/hooks/pre-commit.sample @@ -0,0 +1,49 @@ +#!/bin/sh +# +# An example hook script to verify what is about to be committed. +# Called by "git commit" with no arguments. The hook should +# exit with non-zero status after issuing an appropriate message if +# it wants to stop the commit. +# +# To enable this hook, rename this file to "pre-commit". + +if git rev-parse --verify HEAD >/dev/null 2>&1 +then + against=HEAD +else + # Initial commit: diff against an empty tree object + against=$(git hash-object -t tree /dev/null) +fi + +# If you want to allow non-ASCII filenames set this variable to true. +allownonascii=$(git config --type=bool hooks.allownonascii) + +# Redirect output to stderr. +exec 1>&2 + +# Cross platform projects tend to avoid non-ASCII filenames; prevent +# them from being added to the repository. We exploit the fact that the +# printable range starts at the space character and ends with tilde. +if [ "$allownonascii" != "true" ] && + # Note that the use of brackets around a tr range is ok here, (it's + # even required, for portability to Solaris 10's /usr/bin/tr), since + # the square bracket bytes happen to fall in the designated range. + test $(git diff --cached --name-only --diff-filter=A -z $against | + LC_ALL=C tr -d '[ -~]\0' | wc -c) != 0 +then + cat <<\EOF +Error: Attempt to add a non-ASCII file name. + +This can cause problems if you want to work with people on other platforms. + +To be portable it is advisable to rename the file. + +If you know what you are doing you can disable this check using: + + git config hooks.allownonascii true +EOF + exit 1 +fi + +# If there are whitespace errors, print the offending file names and fail. +exec git diff-index --check --cached $against -- diff --git a/Installer/melawy-welcome/melawy-welcome/hooks/pre-merge-commit.sample b/Installer/melawy-welcome/melawy-welcome/hooks/pre-merge-commit.sample new file mode 100755 index 0000000..399eab1 --- /dev/null +++ b/Installer/melawy-welcome/melawy-welcome/hooks/pre-merge-commit.sample @@ -0,0 +1,13 @@ +#!/bin/sh +# +# An example hook script to verify what is about to be committed. +# Called by "git merge" with no arguments. The hook should +# exit with non-zero status after issuing an appropriate message to +# stderr if it wants to stop the merge commit. +# +# To enable this hook, rename this file to "pre-merge-commit". + +. git-sh-setup +test -x "$GIT_DIR/hooks/pre-commit" && + exec "$GIT_DIR/hooks/pre-commit" +: diff --git a/Installer/melawy-welcome/melawy-welcome/hooks/pre-push.sample b/Installer/melawy-welcome/melawy-welcome/hooks/pre-push.sample new file mode 100755 index 0000000..4ce688d --- /dev/null +++ b/Installer/melawy-welcome/melawy-welcome/hooks/pre-push.sample @@ -0,0 +1,53 @@ +#!/bin/sh + +# An example hook script to verify what is about to be pushed. Called by "git +# push" after it has checked the remote status, but before anything has been +# pushed. If this script exits with a non-zero status nothing will be pushed. +# +# This hook is called with the following parameters: +# +# $1 -- Name of the remote to which the push is being done +# $2 -- URL to which the push is being done +# +# If pushing without using a named remote those arguments will be equal. +# +# Information about the commits which are being pushed is supplied as lines to +# the standard input in the form: +# +# +# +# This sample shows how to prevent push of commits where the log message starts +# with "WIP" (work in progress). + +remote="$1" +url="$2" + +zero=$(git hash-object --stdin &2 "Found WIP commit in $local_ref, not pushing" + exit 1 + fi + fi +done + +exit 0 diff --git a/Installer/melawy-welcome/melawy-welcome/hooks/pre-rebase.sample b/Installer/melawy-welcome/melawy-welcome/hooks/pre-rebase.sample new file mode 100755 index 0000000..6cbef5c --- /dev/null +++ b/Installer/melawy-welcome/melawy-welcome/hooks/pre-rebase.sample @@ -0,0 +1,169 @@ +#!/bin/sh +# +# Copyright (c) 2006, 2008 Junio C Hamano +# +# The "pre-rebase" hook is run just before "git rebase" starts doing +# its job, and can prevent the command from running by exiting with +# non-zero status. +# +# The hook is called with the following parameters: +# +# $1 -- the upstream the series was forked from. +# $2 -- the branch being rebased (or empty when rebasing the current branch). +# +# This sample shows how to prevent topic branches that are already +# merged to 'next' branch from getting rebased, because allowing it +# would result in rebasing already published history. + +publish=next +basebranch="$1" +if test "$#" = 2 +then + topic="refs/heads/$2" +else + topic=`git symbolic-ref HEAD` || + exit 0 ;# we do not interrupt rebasing detached HEAD +fi + +case "$topic" in +refs/heads/??/*) + ;; +*) + exit 0 ;# we do not interrupt others. + ;; +esac + +# Now we are dealing with a topic branch being rebased +# on top of master. Is it OK to rebase it? + +# Does the topic really exist? +git show-ref -q "$topic" || { + echo >&2 "No such branch $topic" + exit 1 +} + +# Is topic fully merged to master? +not_in_master=`git rev-list --pretty=oneline ^master "$topic"` +if test -z "$not_in_master" +then + echo >&2 "$topic is fully merged to master; better remove it." + exit 1 ;# we could allow it, but there is no point. +fi + +# Is topic ever merged to next? If so you should not be rebasing it. +only_next_1=`git rev-list ^master "^$topic" ${publish} | sort` +only_next_2=`git rev-list ^master ${publish} | sort` +if test "$only_next_1" = "$only_next_2" +then + not_in_topic=`git rev-list "^$topic" master` + if test -z "$not_in_topic" + then + echo >&2 "$topic is already up to date with master" + exit 1 ;# we could allow it, but there is no point. + else + exit 0 + fi +else + not_in_next=`git rev-list --pretty=oneline ^${publish} "$topic"` + /usr/bin/perl -e ' + my $topic = $ARGV[0]; + my $msg = "* $topic has commits already merged to public branch:\n"; + my (%not_in_next) = map { + /^([0-9a-f]+) /; + ($1 => 1); + } split(/\n/, $ARGV[1]); + for my $elem (map { + /^([0-9a-f]+) (.*)$/; + [$1 => $2]; + } split(/\n/, $ARGV[2])) { + if (!exists $not_in_next{$elem->[0]}) { + if ($msg) { + print STDERR $msg; + undef $msg; + } + print STDERR " $elem->[1]\n"; + } + } + ' "$topic" "$not_in_next" "$not_in_master" + exit 1 +fi + +<<\DOC_END + +This sample hook safeguards topic branches that have been +published from being rewound. + +The workflow assumed here is: + + * Once a topic branch forks from "master", "master" is never + merged into it again (either directly or indirectly). + + * Once a topic branch is fully cooked and merged into "master", + it is deleted. If you need to build on top of it to correct + earlier mistakes, a new topic branch is created by forking at + the tip of the "master". This is not strictly necessary, but + it makes it easier to keep your history simple. + + * Whenever you need to test or publish your changes to topic + branches, merge them into "next" branch. + +The script, being an example, hardcodes the publish branch name +to be "next", but it is trivial to make it configurable via +$GIT_DIR/config mechanism. + +With this workflow, you would want to know: + +(1) ... if a topic branch has ever been merged to "next". Young + topic branches can have stupid mistakes you would rather + clean up before publishing, and things that have not been + merged into other branches can be easily rebased without + affecting other people. But once it is published, you would + not want to rewind it. + +(2) ... if a topic branch has been fully merged to "master". + Then you can delete it. More importantly, you should not + build on top of it -- other people may already want to + change things related to the topic as patches against your + "master", so if you need further changes, it is better to + fork the topic (perhaps with the same name) afresh from the + tip of "master". + +Let's look at this example: + + o---o---o---o---o---o---o---o---o---o "next" + / / / / + / a---a---b A / / + / / / / + / / c---c---c---c B / + / / / \ / + / / / b---b C \ / + / / / / \ / + ---o---o---o---o---o---o---o---o---o---o---o "master" + + +A, B and C are topic branches. + + * A has one fix since it was merged up to "next". + + * B has finished. It has been fully merged up to "master" and "next", + and is ready to be deleted. + + * C has not merged to "next" at all. + +We would want to allow C to be rebased, refuse A, and encourage +B to be deleted. + +To compute (1): + + git rev-list ^master ^topic next + git rev-list ^master next + + if these match, topic has not merged in next at all. + +To compute (2): + + git rev-list master..topic + + if this is empty, it is fully merged to "master". + +DOC_END diff --git a/Installer/melawy-welcome/melawy-welcome/hooks/pre-receive.sample b/Installer/melawy-welcome/melawy-welcome/hooks/pre-receive.sample new file mode 100755 index 0000000..a1fd29e --- /dev/null +++ b/Installer/melawy-welcome/melawy-welcome/hooks/pre-receive.sample @@ -0,0 +1,24 @@ +#!/bin/sh +# +# An example hook script to make use of push options. +# The example simply echoes all push options that start with 'echoback=' +# and rejects all pushes when the "reject" push option is used. +# +# To enable this hook, rename this file to "pre-receive". + +if test -n "$GIT_PUSH_OPTION_COUNT" +then + i=0 + while test "$i" -lt "$GIT_PUSH_OPTION_COUNT" + do + eval "value=\$GIT_PUSH_OPTION_$i" + case "$value" in + echoback=*) + echo "echo from the pre-receive-hook: ${value#*=}" >&2 + ;; + reject) + exit 1 + esac + i=$((i + 1)) + done +fi diff --git a/Installer/melawy-welcome/melawy-welcome/hooks/prepare-commit-msg.sample b/Installer/melawy-welcome/melawy-welcome/hooks/prepare-commit-msg.sample new file mode 100755 index 0000000..10fa14c --- /dev/null +++ b/Installer/melawy-welcome/melawy-welcome/hooks/prepare-commit-msg.sample @@ -0,0 +1,42 @@ +#!/bin/sh +# +# An example hook script to prepare the commit log message. +# Called by "git commit" with the name of the file that has the +# commit message, followed by the description of the commit +# message's source. The hook's purpose is to edit the commit +# message file. If the hook fails with a non-zero status, +# the commit is aborted. +# +# To enable this hook, rename this file to "prepare-commit-msg". + +# This hook includes three examples. The first one removes the +# "# Please enter the commit message..." help message. +# +# The second includes the output of "git diff --name-status -r" +# into the message, just before the "git status" output. It is +# commented because it doesn't cope with --amend or with squashed +# commits. +# +# The third example adds a Signed-off-by line to the message, that can +# still be edited. This is rarely a good idea. + +COMMIT_MSG_FILE=$1 +COMMIT_SOURCE=$2 +SHA1=$3 + +/usr/bin/perl -i.bak -ne 'print unless(m/^. Please enter the commit message/..m/^#$/)' "$COMMIT_MSG_FILE" + +# case "$COMMIT_SOURCE,$SHA1" in +# ,|template,) +# /usr/bin/perl -i.bak -pe ' +# print "\n" . `git diff --cached --name-status -r` +# if /^#/ && $first++ == 0' "$COMMIT_MSG_FILE" ;; +# *) ;; +# esac + +# SOB=$(git var GIT_COMMITTER_IDENT | sed -n 's/^\(.*>\).*$/Signed-off-by: \1/p') +# git interpret-trailers --in-place --trailer "$SOB" "$COMMIT_MSG_FILE" +# if test -z "$COMMIT_SOURCE" +# then +# /usr/bin/perl -i.bak -pe 'print "\n" if !$first_line++' "$COMMIT_MSG_FILE" +# fi diff --git a/Installer/melawy-welcome/melawy-welcome/hooks/push-to-checkout.sample b/Installer/melawy-welcome/melawy-welcome/hooks/push-to-checkout.sample new file mode 100755 index 0000000..af5a0c0 --- /dev/null +++ b/Installer/melawy-welcome/melawy-welcome/hooks/push-to-checkout.sample @@ -0,0 +1,78 @@ +#!/bin/sh + +# An example hook script to update a checked-out tree on a git push. +# +# This hook is invoked by git-receive-pack(1) when it reacts to git +# push and updates reference(s) in its repository, and when the push +# tries to update the branch that is currently checked out and the +# receive.denyCurrentBranch configuration variable is set to +# updateInstead. +# +# By default, such a push is refused if the working tree and the index +# of the remote repository has any difference from the currently +# checked out commit; when both the working tree and the index match +# the current commit, they are updated to match the newly pushed tip +# of the branch. This hook is to be used to override the default +# behaviour; however the code below reimplements the default behaviour +# as a starting point for convenient modification. +# +# The hook receives the commit with which the tip of the current +# branch is going to be updated: +commit=$1 + +# It can exit with a non-zero status to refuse the push (when it does +# so, it must not modify the index or the working tree). +die () { + echo >&2 "$*" + exit 1 +} + +# Or it can make any necessary changes to the working tree and to the +# index to bring them to the desired state when the tip of the current +# branch is updated to the new commit, and exit with a zero status. +# +# For example, the hook can simply run git read-tree -u -m HEAD "$1" +# in order to emulate git fetch that is run in the reverse direction +# with git push, as the two-tree form of git read-tree -u -m is +# essentially the same as git switch or git checkout that switches +# branches while keeping the local changes in the working tree that do +# not interfere with the difference between the branches. + +# The below is a more-or-less exact translation to shell of the C code +# for the default behaviour for git's push-to-checkout hook defined in +# the push_to_deploy() function in builtin/receive-pack.c. +# +# Note that the hook will be executed from the repository directory, +# not from the working tree, so if you want to perform operations on +# the working tree, you will have to adapt your code accordingly, e.g. +# by adding "cd .." or using relative paths. + +if ! git update-index -q --ignore-submodules --refresh +then + die "Up-to-date check failed" +fi + +if ! git diff-files --quiet --ignore-submodules -- +then + die "Working directory has unstaged changes" +fi + +# This is a rough translation of: +# +# head_has_history() ? "HEAD" : EMPTY_TREE_SHA1_HEX +if git cat-file -e HEAD 2>/dev/null +then + head=HEAD +else + head=$(git hash-object -t tree --stdin &2 + exit 1 +} + +unset GIT_DIR GIT_WORK_TREE +cd "$worktree" && + +if grep -q "^diff --git " "$1" +then + validate_patch "$1" +else + validate_cover_letter "$1" +fi && + +if test "$GIT_SENDEMAIL_FILE_COUNTER" = "$GIT_SENDEMAIL_FILE_TOTAL" +then + git config --unset-all sendemail.validateWorktree && + trap 'git worktree remove -ff "$worktree"' EXIT && + validate_series +fi diff --git a/Installer/melawy-welcome/melawy-welcome/hooks/update.sample b/Installer/melawy-welcome/melawy-welcome/hooks/update.sample new file mode 100755 index 0000000..c4d426b --- /dev/null +++ b/Installer/melawy-welcome/melawy-welcome/hooks/update.sample @@ -0,0 +1,128 @@ +#!/bin/sh +# +# An example hook script to block unannotated tags from entering. +# Called by "git receive-pack" with arguments: refname sha1-old sha1-new +# +# To enable this hook, rename this file to "update". +# +# Config +# ------ +# hooks.allowunannotated +# This boolean sets whether unannotated tags will be allowed into the +# repository. By default they won't be. +# hooks.allowdeletetag +# This boolean sets whether deleting tags will be allowed in the +# repository. By default they won't be. +# hooks.allowmodifytag +# This boolean sets whether a tag may be modified after creation. By default +# it won't be. +# hooks.allowdeletebranch +# This boolean sets whether deleting branches will be allowed in the +# repository. By default they won't be. +# hooks.denycreatebranch +# This boolean sets whether remotely creating branches will be denied +# in the repository. By default this is allowed. +# + +# --- Command line +refname="$1" +oldrev="$2" +newrev="$3" + +# --- Safety check +if [ -z "$GIT_DIR" ]; then + echo "Don't run this script from the command line." >&2 + echo " (if you want, you could supply GIT_DIR then run" >&2 + echo " $0 )" >&2 + exit 1 +fi + +if [ -z "$refname" -o -z "$oldrev" -o -z "$newrev" ]; then + echo "usage: $0 " >&2 + exit 1 +fi + +# --- Config +allowunannotated=$(git config --type=bool hooks.allowunannotated) +allowdeletebranch=$(git config --type=bool hooks.allowdeletebranch) +denycreatebranch=$(git config --type=bool hooks.denycreatebranch) +allowdeletetag=$(git config --type=bool hooks.allowdeletetag) +allowmodifytag=$(git config --type=bool hooks.allowmodifytag) + +# check for no description +projectdesc=$(sed -e '1q' "$GIT_DIR/description") +case "$projectdesc" in +"Unnamed repository"* | "") + echo "*** Project description file hasn't been set" >&2 + exit 1 + ;; +esac + +# --- Check types +# if $newrev is 0000...0000, it's a commit to delete a ref. +zero=$(git hash-object --stdin &2 + echo "*** Use 'git tag [ -a | -s ]' for tags you want to propagate." >&2 + exit 1 + fi + ;; + refs/tags/*,delete) + # delete tag + if [ "$allowdeletetag" != "true" ]; then + echo "*** Deleting a tag is not allowed in this repository" >&2 + exit 1 + fi + ;; + refs/tags/*,tag) + # annotated tag + if [ "$allowmodifytag" != "true" ] && git rev-parse $refname > /dev/null 2>&1 + then + echo "*** Tag '$refname' already exists." >&2 + echo "*** Modifying a tag is not allowed in this repository." >&2 + exit 1 + fi + ;; + refs/heads/*,commit) + # branch + if [ "$oldrev" = "$zero" -a "$denycreatebranch" = "true" ]; then + echo "*** Creating a branch is not allowed in this repository" >&2 + exit 1 + fi + ;; + refs/heads/*,delete) + # delete branch + if [ "$allowdeletebranch" != "true" ]; then + echo "*** Deleting a branch is not allowed in this repository" >&2 + exit 1 + fi + ;; + refs/remotes/*,commit) + # tracking branch + ;; + refs/remotes/*,delete) + # delete tracking branch + if [ "$allowdeletebranch" != "true" ]; then + echo "*** Deleting a tracking branch is not allowed in this repository" >&2 + exit 1 + fi + ;; + *) + # Anything else (is there anything else?) + echo "*** Update hook: unknown type of update to ref $refname of type $newrev_type" >&2 + exit 1 + ;; +esac + +# --- Finished +exit 0 diff --git a/Installer/melawy-welcome/melawy-welcome/info/exclude b/Installer/melawy-welcome/melawy-welcome/info/exclude new file mode 100644 index 0000000..a5196d1 --- /dev/null +++ b/Installer/melawy-welcome/melawy-welcome/info/exclude @@ -0,0 +1,6 @@ +# git ls-files --others --exclude-from=.git/info/exclude +# Lines that start with '#' are comments. +# For a project mostly in C, the following would be a good set of +# exclude patterns (uncomment them if you want to use them): +# *.[oa] +# *~ diff --git a/Installer/melawy-welcome/melawy-welcome/objects/05/0ec226f9d982f51f94ec871aa0c6403219740d b/Installer/melawy-welcome/melawy-welcome/objects/05/0ec226f9d982f51f94ec871aa0c6403219740d new file mode 100644 index 0000000..74326bc --- /dev/null +++ b/Installer/melawy-welcome/melawy-welcome/objects/05/0ec226f9d982f51f94ec871aa0c6403219740d @@ -0,0 +1,2 @@ +xM +0@a9EB_3 d&Zhl #Z.So2Zp 8% f$%Vl1>0fJK y<%]b'&w$ e;`( o<^A[yVRb%X ;OO \ No newline at end of file diff --git a/Installer/melawy-welcome/melawy-welcome/objects/30/9d47787df8c23df76408a4cddc5cf2ae8a44a7 b/Installer/melawy-welcome/melawy-welcome/objects/30/9d47787df8c23df76408a4cddc5cf2ae8a44a7 new file mode 100644 index 0000000..c2618db Binary files /dev/null and b/Installer/melawy-welcome/melawy-welcome/objects/30/9d47787df8c23df76408a4cddc5cf2ae8a44a7 differ diff --git a/Installer/melawy-welcome/melawy-welcome/objects/5c/425872746eb6d6c5dcb84a695e0c1b592edae6 b/Installer/melawy-welcome/melawy-welcome/objects/5c/425872746eb6d6c5dcb84a695e0c1b592edae6 new file mode 100644 index 0000000..946dd95 Binary files /dev/null and b/Installer/melawy-welcome/melawy-welcome/objects/5c/425872746eb6d6c5dcb84a695e0c1b592edae6 differ diff --git a/Installer/melawy-welcome/melawy-welcome/objects/64/d1be41e6e3f96cd87738627aa722a0b3f76a6b b/Installer/melawy-welcome/melawy-welcome/objects/64/d1be41e6e3f96cd87738627aa722a0b3f76a6b new file mode 100644 index 0000000..69235cf Binary files /dev/null and b/Installer/melawy-welcome/melawy-welcome/objects/64/d1be41e6e3f96cd87738627aa722a0b3f76a6b differ diff --git a/Installer/melawy-welcome/melawy-welcome/objects/66/bfdf37c7a60f8a3b8c888cf39449a001687969 b/Installer/melawy-welcome/melawy-welcome/objects/66/bfdf37c7a60f8a3b8c888cf39449a001687969 new file mode 100644 index 0000000..7976e4f Binary files /dev/null and b/Installer/melawy-welcome/melawy-welcome/objects/66/bfdf37c7a60f8a3b8c888cf39449a001687969 differ diff --git a/Installer/melawy-welcome/melawy-welcome/objects/82/cfd2f49fd4ce0b88b0594805edb3505fcb718f b/Installer/melawy-welcome/melawy-welcome/objects/82/cfd2f49fd4ce0b88b0594805edb3505fcb718f new file mode 100644 index 0000000..c4eb1c7 Binary files /dev/null and b/Installer/melawy-welcome/melawy-welcome/objects/82/cfd2f49fd4ce0b88b0594805edb3505fcb718f differ diff --git a/Installer/melawy-welcome/melawy-welcome/objects/83/e5a479970f0b2191ede397551cf21398874396 b/Installer/melawy-welcome/melawy-welcome/objects/83/e5a479970f0b2191ede397551cf21398874396 new file mode 100644 index 0000000..5892535 Binary files /dev/null and b/Installer/melawy-welcome/melawy-welcome/objects/83/e5a479970f0b2191ede397551cf21398874396 differ diff --git a/Installer/melawy-welcome/melawy-welcome/objects/8a/704874509b9235cf98737a15b43b845b5b7343 b/Installer/melawy-welcome/melawy-welcome/objects/8a/704874509b9235cf98737a15b43b845b5b7343 new file mode 100644 index 0000000..5b51048 --- /dev/null +++ b/Installer/melawy-welcome/melawy-welcome/objects/8a/704874509b9235cf98737a15b43b845b5b7343 @@ -0,0 +1,3 @@ +xM +0a9EBLAĕ74h%ĞBYߗZ.So̒ƀJH5"RlMt&z+5t 8!s X*p +^Ar4 dA^|m"y̼l 倡UiԫT.z58#]/ǚN \ No newline at end of file diff --git a/Installer/melawy-welcome/melawy-welcome/objects/93/746ab43d6e7274ddf8e3ddb192dd09eb01ead0 b/Installer/melawy-welcome/melawy-welcome/objects/93/746ab43d6e7274ddf8e3ddb192dd09eb01ead0 new file mode 100644 index 0000000..f95cc5b Binary files /dev/null and b/Installer/melawy-welcome/melawy-welcome/objects/93/746ab43d6e7274ddf8e3ddb192dd09eb01ead0 differ diff --git a/Installer/melawy-welcome/melawy-welcome/objects/ab/82135c68ba2c0418732229ff1abe54964da27e b/Installer/melawy-welcome/melawy-welcome/objects/ab/82135c68ba2c0418732229ff1abe54964da27e new file mode 100644 index 0000000..ee08679 Binary files /dev/null and b/Installer/melawy-welcome/melawy-welcome/objects/ab/82135c68ba2c0418732229ff1abe54964da27e differ diff --git a/Installer/melawy-welcome/melawy-welcome/objects/b1/2deb4bdd5cbb3e8688dbabdbaa061afa7642c2 b/Installer/melawy-welcome/melawy-welcome/objects/b1/2deb4bdd5cbb3e8688dbabdbaa061afa7642c2 new file mode 100644 index 0000000..b788076 Binary files /dev/null and b/Installer/melawy-welcome/melawy-welcome/objects/b1/2deb4bdd5cbb3e8688dbabdbaa061afa7642c2 differ diff --git a/Installer/melawy-welcome/melawy-welcome/objects/fb/83293f266709370cf58a173d2f0c1ebd82c7a8 b/Installer/melawy-welcome/melawy-welcome/objects/fb/83293f266709370cf58a173d2f0c1ebd82c7a8 new file mode 100644 index 0000000..5a6ed0c Binary files /dev/null and b/Installer/melawy-welcome/melawy-welcome/objects/fb/83293f266709370cf58a173d2f0c1ebd82c7a8 differ diff --git a/Installer/melawy-welcome/melawy-welcome/objects/pack/pack-580461a408c145e325dfc6ab8fda7d9e5311d87d.idx b/Installer/melawy-welcome/melawy-welcome/objects/pack/pack-580461a408c145e325dfc6ab8fda7d9e5311d87d.idx new file mode 100644 index 0000000..c6c94a1 Binary files /dev/null and b/Installer/melawy-welcome/melawy-welcome/objects/pack/pack-580461a408c145e325dfc6ab8fda7d9e5311d87d.idx differ diff --git a/Installer/melawy-welcome/melawy-welcome/objects/pack/pack-580461a408c145e325dfc6ab8fda7d9e5311d87d.pack b/Installer/melawy-welcome/melawy-welcome/objects/pack/pack-580461a408c145e325dfc6ab8fda7d9e5311d87d.pack new file mode 100644 index 0000000..78a130d Binary files /dev/null and b/Installer/melawy-welcome/melawy-welcome/objects/pack/pack-580461a408c145e325dfc6ab8fda7d9e5311d87d.pack differ diff --git a/Installer/melawy-welcome/melawy-welcome/objects/pack/pack-580461a408c145e325dfc6ab8fda7d9e5311d87d.rev b/Installer/melawy-welcome/melawy-welcome/objects/pack/pack-580461a408c145e325dfc6ab8fda7d9e5311d87d.rev new file mode 100644 index 0000000..8235ab8 Binary files /dev/null and b/Installer/melawy-welcome/melawy-welcome/objects/pack/pack-580461a408c145e325dfc6ab8fda7d9e5311d87d.rev differ diff --git a/Installer/melawy-welcome/melawy-welcome/packed-refs b/Installer/melawy-welcome/melawy-welcome/packed-refs new file mode 100644 index 0000000..8ba6ea4 --- /dev/null +++ b/Installer/melawy-welcome/melawy-welcome/packed-refs @@ -0,0 +1,84 @@ +# pack-refs with: peeled fully-peeled sorted +78226c985cdba6ff87ea94d6546e9c76e43d1f9b refs/heads/develop +0aef4b8275a657e36614a3b1418601b0b9c08923 refs/heads/gtk4 +4deac1c84634cc1928d461123e5717b06bce99a2 refs/heads/hello.ftl-polish +80ea978741ea5da283e9427e490b8a0368c17751 refs/pull/1/head +4a57717cd7ab3d8db927e7770fdf6ffdf01c5cb2 refs/pull/10/head +5b0ef593bc68a206e90fb00a3f5696fca0ed31b1 refs/pull/11/head +209b660d79c0f98ae421d76ecb9e09889919a27c refs/pull/12/head +993ff8e33d81c56ad869682d1996f8f55dbebdf2 refs/pull/13/head +0a1fbe8b4595e63542d5d04356b6cb03f813a520 refs/pull/14/head +72f4c5659fb74684a8d8b374e7cb9292a24e1ecd refs/pull/15/head +fa87f9834cec8b11098f42b4ff8e5d0fa678566d refs/pull/16/head +1e41089528ff9f7e56fcdc16eb55d712c30fce79 refs/pull/17/head +83304f10a5c1a8a7f7f3dfd5fe19ceec79c10fc9 refs/pull/18/head +d33ec1e2b3dcf1ea5d6757c5905df2539a0f797b refs/pull/19/head +35c4ab87ea569b4d36cb1532f8f2960d9e5f597c refs/pull/2/head +f363f638d4c1880245f5f535adb63eafe96e78e8 refs/pull/20/head +7252dc3a13d6ace869afd8f64a9b12a7d388204f refs/pull/21/head +03c33456c752ae0573604e798e41f7c7fc13dcc0 refs/pull/22/head +c47926eb8b741349d541da8867d72b24022f373f refs/pull/23/head +9127a479a17eb1ffcd06e691ff7af4b1d3df9b57 refs/pull/24/head +567eac4d95de6b82ad97b91bd99810136f8774d8 refs/pull/25/head +0bca59a8af4b022d42c6f7d73badc3ca52c98657 refs/pull/26/head +67bab48d17d15b0433e5793b4218d83a329959b9 refs/pull/27/head +d5603bb6cb375d410643cd03e767d9e49231cdc8 refs/pull/28/head +b5006e97d091228ac1836f8e3e704194cfd237f4 refs/pull/29/head +8002c93ff2114c60ca476f88458d11f262774dbb refs/pull/3/head +da1f2ab5d126aecaa593fb0c4ae5ece0a6a7c0f3 refs/pull/30/head +eb85a297153a7adc68ab8fd879c38b68065be3d7 refs/pull/31/head +8fde5e90cfaa90261b9a1416e5869d36ac7ea20e refs/pull/32/head +6670bb247c954e2d663204d0e3700a18e00b13ff refs/pull/33/head +804ee3256a72174d56a79afbc170e8622f105bfe refs/pull/34/head +d76926d6e17b6f79c2e637fb12931081f562225a refs/pull/35/head +cc6e626af348e09506f7d5b2afe1154637f42943 refs/pull/36/head +14f41a38e4b0a47e349a0bd8895ea341507aab0d refs/pull/37/head +f32f38f4ff5e0acc32c91860b9ce22eff105ebd3 refs/pull/38/head +d0ce7cfecaad513cf393c064adda6c0cf2a677a1 refs/pull/39/head +4b08890e77ca6f94fc9c1d7d1899c585515791ad refs/pull/4/head +300f2715386699210fddc1bdb50e975c669b3c79 refs/pull/40/head +df57421b9b88da9b3e78d107cb917a688902fc38 refs/pull/41/head +f7e3e4f99f6850911b3ff517f11c82517dab1d73 refs/pull/42/head +d51fda859dcdc525129e0d20e8fd176ccdaa251d refs/pull/43/head +c09ce9addedb973983d0f31d7707092750d50ca1 refs/pull/44/head +481b35bf79a6e914eadf0153668e5b43ee65673f refs/pull/45/head +5db6500a71286dbd622ae443278c6c206f5b2f25 refs/pull/46/head +8d7a73c7af2561a47049231abda9d750b82ddf1a refs/pull/47/head +f522f3d170a1e4b395da0cfec610d84b1728b592 refs/pull/48/head +12edc11fa65bfd6adb95d4dd8a8b3219d4ef9b45 refs/pull/49/head +e6bf794d841fc060b606db9605772f2dfd71b578 refs/pull/5/head +db4f65b17b850b0ddf87cd0f4582e1df6e025090 refs/pull/50/head +7886403c4830a048d278c358350517da85ace234 refs/pull/51/head +92fc56c4c86bfd6f5768146f12e5a5ca6be24b5a refs/pull/52/head +0c5f63eb3afa5e49d425b2c0730c5851bba292dc refs/pull/53/head +1e7532d523c6967c81438e2c03f5730c394dd69c refs/pull/54/head +efcb83413b8152b66b5252a59589185d06e3abe6 refs/pull/55/head +cc22d1eaff631d655aa4571bef42071a3613a96b refs/pull/56/head +a6eeb770d4ad15d4126fc9330c0a181d02aed540 refs/pull/57/head +4deac1c84634cc1928d461123e5717b06bce99a2 refs/pull/58/head +d3119b132c8ad3e4437ec0bc84555c5f3d34567f refs/pull/59/head +8e2037019e0cbc662f11ecfb4997e6d14736a06c refs/pull/6/head +a2fc19ff6b7cb139c0ea255eb4aa5a8493c6f586 refs/pull/60/head +3b216b85ab49913fa4caca1c5e2ffa838900b9c2 refs/pull/60/merge +6cf3f61020763ec867bf0a2f0c181b93117a9576 refs/pull/7/head +dd7087ac6602807bb671dde44c9bd99cc905e180 refs/pull/8/head +b452ee56a6d1109c1d772c17e8ea071b1cdc16b1 refs/pull/9/head +878e7953d91d87e6c7a00eff808f030273b1d9f4 refs/tags/v0.10.0 +7601d14d080a7126464a5df4b201d81f7d2f64ad refs/tags/v0.10.1 +75b89db706884f0929bda2e978eceae4219b2422 refs/tags/v0.8.0 +e41ed25c7e5323d576d8347411b8fc137bc38abb refs/tags/v0.8.5 +e1659f93e368f5ea0a496e034e407dc4a1bad7a5 refs/tags/v0.8.6 +de0a7425c70a817954b9b19025323eac53feb319 refs/tags/v0.8.7 +7d2a5dedcd340f0633c411af75ebd094c77d4803 refs/tags/v0.8.8 +50fefee7cfc5c9dc508a3edbf06040263a4ecaaa refs/tags/v0.8.9 +76e4a2d96a84abd6a81eeaec09f22035e1089f5f refs/tags/v0.9.0 +0ad270c85c68acc887db0b6a591db9a7bb04ab8e refs/tags/v0.9.1 +22d83c8721f784dfbc600f4dc12ab24f7cf2e3fb refs/tags/v0.9.10 +c590a2a916fccc0ca0ab326c2a8d8d4341c47569 refs/tags/v0.9.2 +25febeb3bffcd1c665d9f674ebaf8c1d1190c40a refs/tags/v0.9.3 +9112af76450da0fb4568d50fb986f7261e1971d7 refs/tags/v0.9.4 +6226aa48793f34c69be0f124f5d7381a38346aff refs/tags/v0.9.5 +14ad98637bdddf23257d7356d21c474caedb2c91 refs/tags/v0.9.6 +0a7f4908b6c487fc3cc669fca2029555b8035b63 refs/tags/v0.9.7 +bd7dceb7ae607510a91404915111a4c8cce6b944 refs/tags/v0.9.8 +7820fecfa3ac58cf2a8a82df14544ca7f57cde76 refs/tags/v0.9.9 diff --git a/Installer/melawy-welcome/melawy-welcome/refs/heads/develop b/Installer/melawy-welcome/melawy-welcome/refs/heads/develop new file mode 100644 index 0000000..d220938 --- /dev/null +++ b/Installer/melawy-welcome/melawy-welcome/refs/heads/develop @@ -0,0 +1 @@ +fb83293f266709370cf58a173d2f0c1ebd82c7a8 diff --git a/Installer/pwd.txt b/Installer/pwd.txt new file mode 100644 index 0000000..5e2b793 --- /dev/null +++ b/Installer/pwd.txt @@ -0,0 +1 @@ +/data/github/active/Melawy/PKGBUILD-git.melawy.ru/Installer \ No newline at end of file diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..0ad25db --- /dev/null +++ b/LICENSE @@ -0,0 +1,661 @@ + GNU AFFERO GENERAL PUBLIC LICENSE + Version 3, 19 November 2007 + + Copyright (C) 2007 Free Software Foundation, Inc. + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The GNU Affero General Public License is a free, copyleft license for +software and other kinds of works, specifically designed to ensure +cooperation with the community in the case of network server software. + + The licenses for most software and other practical works are designed +to take away your freedom to share and change the works. By contrast, +our General Public Licenses are intended to guarantee your freedom to +share and change all versions of a program--to make sure it remains free +software for all its users. + + When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +them if you wish), that you receive source code or can get it if you +want it, that you can change the software or use pieces of it in new +free programs, and that you know you can do these things. + + Developers that use our General Public Licenses protect your rights +with two steps: (1) assert copyright on the software, and (2) offer +you this License which gives you legal permission to copy, distribute +and/or modify the software. + + A secondary benefit of defending all users' freedom is that +improvements made in alternate versions of the program, if they +receive widespread use, become available for other developers to +incorporate. Many developers of free software are heartened and +encouraged by the resulting cooperation. However, in the case of +software used on network servers, this result may fail to come about. +The GNU General Public License permits making a modified version and +letting the public access it on a server without ever releasing its +source code to the public. + + The GNU Affero General Public License is designed specifically to +ensure that, in such cases, the modified source code becomes available +to the community. It requires the operator of a network server to +provide the source code of the modified version running there to the +users of that server. Therefore, public use of a modified version, on +a publicly accessible server, gives the public access to the source +code of the modified version. + + An older license, called the Affero General Public License and +published by Affero, was designed to accomplish similar goals. This is +a different license, not a version of the Affero GPL, but Affero has +released a new version of the Affero GPL which permits relicensing under +this license. + + The precise terms and conditions for copying, distribution and +modification follow. + + TERMS AND CONDITIONS + + 0. Definitions. + + "This License" refers to version 3 of the GNU Affero General Public License. + + "Copyright" also means copyright-like laws that apply to other kinds of +works, such as semiconductor masks. + + "The Program" refers to any copyrightable work licensed under this +License. Each licensee is addressed as "you". "Licensees" and +"recipients" may be individuals or organizations. + + To "modify" a work means to copy from or adapt all or part of the work +in a fashion requiring copyright permission, other than the making of an +exact copy. The resulting work is called a "modified version" of the +earlier work or a work "based on" the earlier work. + + A "covered work" means either the unmodified Program or a work based +on the Program. + + To "propagate" a work means to do anything with it that, without +permission, would make you directly or secondarily liable for +infringement under applicable copyright law, except executing it on a +computer or modifying a private copy. Propagation includes copying, +distribution (with or without modification), making available to the +public, and in some countries other activities as well. + + To "convey" a work means any kind of propagation that enables other +parties to make or receive copies. Mere interaction with a user through +a computer network, with no transfer of a copy, is not conveying. + + An interactive user interface displays "Appropriate Legal Notices" +to the extent that it includes a convenient and prominently visible +feature that (1) displays an appropriate copyright notice, and (2) +tells the user that there is no warranty for the work (except to the +extent that warranties are provided), that licensees may convey the +work under this License, and how to view a copy of this License. If +the interface presents a list of user commands or options, such as a +menu, a prominent item in the list meets this criterion. + + 1. Source Code. + + The "source code" for a work means the preferred form of the work +for making modifications to it. "Object code" means any non-source +form of a work. + + A "Standard Interface" means an interface that either is an official +standard defined by a recognized standards body, or, in the case of +interfaces specified for a particular programming language, one that +is widely used among developers working in that language. + + The "System Libraries" of an executable work include anything, other +than the work as a whole, that (a) is included in the normal form of +packaging a Major Component, but which is not part of that Major +Component, and (b) serves only to enable use of the work with that +Major Component, or to implement a Standard Interface for which an +implementation is available to the public in source code form. A +"Major Component", in this context, means a major essential component +(kernel, window system, and so on) of the specific operating system +(if any) on which the executable work runs, or a compiler used to +produce the work, or an object code interpreter used to run it. + + The "Corresponding Source" for a work in object code form means all +the source code needed to generate, install, and (for an executable +work) run the object code and to modify the work, including scripts to +control those activities. However, it does not include the work's +System Libraries, or general-purpose tools or generally available free +programs which are used unmodified in performing those activities but +which are not part of the work. For example, Corresponding Source +includes interface definition files associated with source files for +the work, and the source code for shared libraries and dynamically +linked subprograms that the work is specifically designed to require, +such as by intimate data communication or control flow between those +subprograms and other parts of the work. + + The Corresponding Source need not include anything that users +can regenerate automatically from other parts of the Corresponding +Source. + + The Corresponding Source for a work in source code form is that +same work. + + 2. Basic Permissions. + + All rights granted under this License are granted for the term of +copyright on the Program, and are irrevocable provided the stated +conditions are met. This License explicitly affirms your unlimited +permission to run the unmodified Program. The output from running a +covered work is covered by this License only if the output, given its +content, constitutes a covered work. This License acknowledges your +rights of fair use or other equivalent, as provided by copyright law. + + You may make, run and propagate covered works that you do not +convey, without conditions so long as your license otherwise remains +in force. You may convey covered works to others for the sole purpose +of having them make modifications exclusively for you, or provide you +with facilities for running those works, provided that you comply with +the terms of this License in conveying all material for which you do +not control copyright. Those thus making or running the covered works +for you must do so exclusively on your behalf, under your direction +and control, on terms that prohibit them from making any copies of +your copyrighted material outside their relationship with you. + + Conveying under any other circumstances is permitted solely under +the conditions stated below. Sublicensing is not allowed; section 10 +makes it unnecessary. + + 3. Protecting Users' Legal Rights From Anti-Circumvention Law. + + No covered work shall be deemed part of an effective technological +measure under any applicable law fulfilling obligations under article +11 of the WIPO copyright treaty adopted on 20 December 1996, or +similar laws prohibiting or restricting circumvention of such +measures. + + When you convey a covered work, you waive any legal power to forbid +circumvention of technological measures to the extent such circumvention +is effected by exercising rights under this License with respect to +the covered work, and you disclaim any intention to limit operation or +modification of the work as a means of enforcing, against the work's +users, your or third parties' legal rights to forbid circumvention of +technological measures. + + 4. Conveying Verbatim Copies. + + You may convey verbatim copies of the Program's source code as you +receive it, in any medium, provided that you conspicuously and +appropriately publish on each copy an appropriate copyright notice; +keep intact all notices stating that this License and any +non-permissive terms added in accord with section 7 apply to the code; +keep intact all notices of the absence of any warranty; and give all +recipients a copy of this License along with the Program. + + You may charge any price or no price for each copy that you convey, +and you may offer support or warranty protection for a fee. + + 5. Conveying Modified Source Versions. + + You may convey a work based on the Program, or the modifications to +produce it from the Program, in the form of source code under the +terms of section 4, provided that you also meet all of these conditions: + + a) The work must carry prominent notices stating that you modified + it, and giving a relevant date. + + b) The work must carry prominent notices stating that it is + released under this License and any conditions added under section + 7. This requirement modifies the requirement in section 4 to + "keep intact all notices". + + c) You must license the entire work, as a whole, under this + License to anyone who comes into possession of a copy. This + License will therefore apply, along with any applicable section 7 + additional terms, to the whole of the work, and all its parts, + regardless of how they are packaged. This License gives no + permission to license the work in any other way, but it does not + invalidate such permission if you have separately received it. + + d) If the work has interactive user interfaces, each must display + Appropriate Legal Notices; however, if the Program has interactive + interfaces that do not display Appropriate Legal Notices, your + work need not make them do so. + + A compilation of a covered work with other separate and independent +works, which are not by their nature extensions of the covered work, +and which are not combined with it such as to form a larger program, +in or on a volume of a storage or distribution medium, is called an +"aggregate" if the compilation and its resulting copyright are not +used to limit the access or legal rights of the compilation's users +beyond what the individual works permit. Inclusion of a covered work +in an aggregate does not cause this License to apply to the other +parts of the aggregate. + + 6. Conveying Non-Source Forms. + + You may convey a covered work in object code form under the terms +of sections 4 and 5, provided that you also convey the +machine-readable Corresponding Source under the terms of this License, +in one of these ways: + + a) Convey the object code in, or embodied in, a physical product + (including a physical distribution medium), accompanied by the + Corresponding Source fixed on a durable physical medium + customarily used for software interchange. + + b) Convey the object code in, or embodied in, a physical product + (including a physical distribution medium), accompanied by a + written offer, valid for at least three years and valid for as + long as you offer spare parts or customer support for that product + model, to give anyone who possesses the object code either (1) a + copy of the Corresponding Source for all the software in the + product that is covered by this License, on a durable physical + medium customarily used for software interchange, for a price no + more than your reasonable cost of physically performing this + conveying of source, or (2) access to copy the + Corresponding Source from a network server at no charge. + + c) Convey individual copies of the object code with a copy of the + written offer to provide the Corresponding Source. This + alternative is allowed only occasionally and noncommercially, and + only if you received the object code with such an offer, in accord + with subsection 6b. + + d) Convey the object code by offering access from a designated + place (gratis or for a charge), and offer equivalent access to the + Corresponding Source in the same way through the same place at no + further charge. You need not require recipients to copy the + Corresponding Source along with the object code. If the place to + copy the object code is a network server, the Corresponding Source + may be on a different server (operated by you or a third party) + that supports equivalent copying facilities, provided you maintain + clear directions next to the object code saying where to find the + Corresponding Source. Regardless of what server hosts the + Corresponding Source, you remain obligated to ensure that it is + available for as long as needed to satisfy these requirements. + + e) Convey the object code using peer-to-peer transmission, provided + you inform other peers where the object code and Corresponding + Source of the work are being offered to the general public at no + charge under subsection 6d. + + A separable portion of the object code, whose source code is excluded +from the Corresponding Source as a System Library, need not be +included in conveying the object code work. + + A "User Product" is either (1) a "consumer product", which means any +tangible personal property which is normally used for personal, family, +or household purposes, or (2) anything designed or sold for incorporation +into a dwelling. In determining whether a product is a consumer product, +doubtful cases shall be resolved in favor of coverage. For a particular +product received by a particular user, "normally used" refers to a +typical or common use of that class of product, regardless of the status +of the particular user or of the way in which the particular user +actually uses, or expects or is expected to use, the product. A product +is a consumer product regardless of whether the product has substantial +commercial, industrial or non-consumer uses, unless such uses represent +the only significant mode of use of the product. + + "Installation Information" for a User Product means any methods, +procedures, authorization keys, or other information required to install +and execute modified versions of a covered work in that User Product from +a modified version of its Corresponding Source. The information must +suffice to ensure that the continued functioning of the modified object +code is in no case prevented or interfered with solely because +modification has been made. + + If you convey an object code work under this section in, or with, or +specifically for use in, a User Product, and the conveying occurs as +part of a transaction in which the right of possession and use of the +User Product is transferred to the recipient in perpetuity or for a +fixed term (regardless of how the transaction is characterized), the +Corresponding Source conveyed under this section must be accompanied +by the Installation Information. But this requirement does not apply +if neither you nor any third party retains the ability to install +modified object code on the User Product (for example, the work has +been installed in ROM). + + The requirement to provide Installation Information does not include a +requirement to continue to provide support service, warranty, or updates +for a work that has been modified or installed by the recipient, or for +the User Product in which it has been modified or installed. Access to a +network may be denied when the modification itself materially and +adversely affects the operation of the network or violates the rules and +protocols for communication across the network. + + Corresponding Source conveyed, and Installation Information provided, +in accord with this section must be in a format that is publicly +documented (and with an implementation available to the public in +source code form), and must require no special password or key for +unpacking, reading or copying. + + 7. Additional Terms. + + "Additional permissions" are terms that supplement the terms of this +License by making exceptions from one or more of its conditions. +Additional permissions that are applicable to the entire Program shall +be treated as though they were included in this License, to the extent +that they are valid under applicable law. If additional permissions +apply only to part of the Program, that part may be used separately +under those permissions, but the entire Program remains governed by +this License without regard to the additional permissions. + + When you convey a copy of a covered work, you may at your option +remove any additional permissions from that copy, or from any part of +it. (Additional permissions may be written to require their own +removal in certain cases when you modify the work.) You may place +additional permissions on material, added by you to a covered work, +for which you have or can give appropriate copyright permission. + + Notwithstanding any other provision of this License, for material you +add to a covered work, you may (if authorized by the copyright holders of +that material) supplement the terms of this License with terms: + + a) Disclaiming warranty or limiting liability differently from the + terms of sections 15 and 16 of this License; or + + b) Requiring preservation of specified reasonable legal notices or + author attributions in that material or in the Appropriate Legal + Notices displayed by works containing it; or + + c) Prohibiting misrepresentation of the origin of that material, or + requiring that modified versions of such material be marked in + reasonable ways as different from the original version; or + + d) Limiting the use for publicity purposes of names of licensors or + authors of the material; or + + e) Declining to grant rights under trademark law for use of some + trade names, trademarks, or service marks; or + + f) Requiring indemnification of licensors and authors of that + material by anyone who conveys the material (or modified versions of + it) with contractual assumptions of liability to the recipient, for + any liability that these contractual assumptions directly impose on + those licensors and authors. + + All other non-permissive additional terms are considered "further +restrictions" within the meaning of section 10. If the Program as you +received it, or any part of it, contains a notice stating that it is +governed by this License along with a term that is a further +restriction, you may remove that term. If a license document contains +a further restriction but permits relicensing or conveying under this +License, you may add to a covered work material governed by the terms +of that license document, provided that the further restriction does +not survive such relicensing or conveying. + + If you add terms to a covered work in accord with this section, you +must place, in the relevant source files, a statement of the +additional terms that apply to those files, or a notice indicating +where to find the applicable terms. + + Additional terms, permissive or non-permissive, may be stated in the +form of a separately written license, or stated as exceptions; +the above requirements apply either way. + + 8. Termination. + + You may not propagate or modify a covered work except as expressly +provided under this License. Any attempt otherwise to propagate or +modify it is void, and will automatically terminate your rights under +this License (including any patent licenses granted under the third +paragraph of section 11). + + However, if you cease all violation of this License, then your +license from a particular copyright holder is reinstated (a) +provisionally, unless and until the copyright holder explicitly and +finally terminates your license, and (b) permanently, if the copyright +holder fails to notify you of the violation by some reasonable means +prior to 60 days after the cessation. + + Moreover, your license from a particular copyright holder is +reinstated permanently if the copyright holder notifies you of the +violation by some reasonable means, this is the first time you have +received notice of violation of this License (for any work) from that +copyright holder, and you cure the violation prior to 30 days after +your receipt of the notice. + + Termination of your rights under this section does not terminate the +licenses of parties who have received copies or rights from you under +this License. If your rights have been terminated and not permanently +reinstated, you do not qualify to receive new licenses for the same +material under section 10. + + 9. Acceptance Not Required for Having Copies. + + You are not required to accept this License in order to receive or +run a copy of the Program. Ancillary propagation of a covered work +occurring solely as a consequence of using peer-to-peer transmission +to receive a copy likewise does not require acceptance. However, +nothing other than this License grants you permission to propagate or +modify any covered work. These actions infringe copyright if you do +not accept this License. Therefore, by modifying or propagating a +covered work, you indicate your acceptance of this License to do so. + + 10. Automatic Licensing of Downstream Recipients. + + Each time you convey a covered work, the recipient automatically +receives a license from the original licensors, to run, modify and +propagate that work, subject to this License. You are not responsible +for enforcing compliance by third parties with this License. + + An "entity transaction" is a transaction transferring control of an +organization, or substantially all assets of one, or subdividing an +organization, or merging organizations. If propagation of a covered +work results from an entity transaction, each party to that +transaction who receives a copy of the work also receives whatever +licenses to the work the party's predecessor in interest had or could +give under the previous paragraph, plus a right to possession of the +Corresponding Source of the work from the predecessor in interest, if +the predecessor has it or can get it with reasonable efforts. + + You may not impose any further restrictions on the exercise of the +rights granted or affirmed under this License. For example, you may +not impose a license fee, royalty, or other charge for exercise of +rights granted under this License, and you may not initiate litigation +(including a cross-claim or counterclaim in a lawsuit) alleging that +any patent claim is infringed by making, using, selling, offering for +sale, or importing the Program or any portion of it. + + 11. Patents. + + A "contributor" is a copyright holder who authorizes use under this +License of the Program or a work on which the Program is based. The +work thus licensed is called the contributor's "contributor version". + + A contributor's "essential patent claims" are all patent claims +owned or controlled by the contributor, whether already acquired or +hereafter acquired, that would be infringed by some manner, permitted +by this License, of making, using, or selling its contributor version, +but do not include claims that would be infringed only as a +consequence of further modification of the contributor version. For +purposes of this definition, "control" includes the right to grant +patent sublicenses in a manner consistent with the requirements of +this License. + + Each contributor grants you a non-exclusive, worldwide, royalty-free +patent license under the contributor's essential patent claims, to +make, use, sell, offer for sale, import and otherwise run, modify and +propagate the contents of its contributor version. + + In the following three paragraphs, a "patent license" is any express +agreement or commitment, however denominated, not to enforce a patent +(such as an express permission to practice a patent or covenant not to +sue for patent infringement). To "grant" such a patent license to a +party means to make such an agreement or commitment not to enforce a +patent against the party. + + If you convey a covered work, knowingly relying on a patent license, +and the Corresponding Source of the work is not available for anyone +to copy, free of charge and under the terms of this License, through a +publicly available network server or other readily accessible means, +then you must either (1) cause the Corresponding Source to be so +available, or (2) arrange to deprive yourself of the benefit of the +patent license for this particular work, or (3) arrange, in a manner +consistent with the requirements of this License, to extend the patent +license to downstream recipients. "Knowingly relying" means you have +actual knowledge that, but for the patent license, your conveying the +covered work in a country, or your recipient's use of the covered work +in a country, would infringe one or more identifiable patents in that +country that you have reason to believe are valid. + + If, pursuant to or in connection with a single transaction or +arrangement, you convey, or propagate by procuring conveyance of, a +covered work, and grant a patent license to some of the parties +receiving the covered work authorizing them to use, propagate, modify +or convey a specific copy of the covered work, then the patent license +you grant is automatically extended to all recipients of the covered +work and works based on it. + + A patent license is "discriminatory" if it does not include within +the scope of its coverage, prohibits the exercise of, or is +conditioned on the non-exercise of one or more of the rights that are +specifically granted under this License. You may not convey a covered +work if you are a party to an arrangement with a third party that is +in the business of distributing software, under which you make payment +to the third party based on the extent of your activity of conveying +the work, and under which the third party grants, to any of the +parties who would receive the covered work from you, a discriminatory +patent license (a) in connection with copies of the covered work +conveyed by you (or copies made from those copies), or (b) primarily +for and in connection with specific products or compilations that +contain the covered work, unless you entered into that arrangement, +or that patent license was granted, prior to 28 March 2007. + + Nothing in this License shall be construed as excluding or limiting +any implied license or other defenses to infringement that may +otherwise be available to you under applicable patent law. + + 12. No Surrender of Others' Freedom. + + If conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot convey a +covered work so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you may +not convey it at all. For example, if you agree to terms that obligate you +to collect a royalty for further conveying from those to whom you convey +the Program, the only way you could satisfy both those terms and this +License would be to refrain entirely from conveying the Program. + + 13. Remote Network Interaction; Use with the GNU General Public License. + + Notwithstanding any other provision of this License, if you modify the +Program, your modified version must prominently offer all users +interacting with it remotely through a computer network (if your version +supports such interaction) an opportunity to receive the Corresponding +Source of your version by providing access to the Corresponding Source +from a network server at no charge, through some standard or customary +means of facilitating copying of software. This Corresponding Source +shall include the Corresponding Source for any work covered by version 3 +of the GNU General Public License that is incorporated pursuant to the +following paragraph. + + Notwithstanding any other provision of this License, you have +permission to link or combine any covered work with a work licensed +under version 3 of the GNU General Public License into a single +combined work, and to convey the resulting work. The terms of this +License will continue to apply to the part which is the covered work, +but the work with which it is combined will remain governed by version +3 of the GNU General Public License. + + 14. Revised Versions of this License. + + The Free Software Foundation may publish revised and/or new versions of +the GNU Affero General Public License from time to time. Such new versions +will be similar in spirit to the present version, but may differ in detail to +address new problems or concerns. + + Each version is given a distinguishing version number. If the +Program specifies that a certain numbered version of the GNU Affero General +Public License "or any later version" applies to it, you have the +option of following the terms and conditions either of that numbered +version or of any later version published by the Free Software +Foundation. If the Program does not specify a version number of the +GNU Affero General Public License, you may choose any version ever published +by the Free Software Foundation. + + If the Program specifies that a proxy can decide which future +versions of the GNU Affero General Public License can be used, that proxy's +public statement of acceptance of a version permanently authorizes you +to choose that version for the Program. + + Later license versions may give you additional or different +permissions. However, no additional obligations are imposed on any +author or copyright holder as a result of your choosing to follow a +later version. + + 15. Disclaimer of Warranty. + + THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY +APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT +HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY +OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM +IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF +ALL NECESSARY SERVICING, REPAIR OR CORRECTION. + + 16. Limitation of Liability. + + IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS +THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY +GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE +USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF +DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD +PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), +EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF +SUCH DAMAGES. + + 17. Interpretation of Sections 15 and 16. + + If the disclaimer of warranty and limitation of liability provided +above cannot be given local legal effect according to their terms, +reviewing courts shall apply local law that most closely approximates +an absolute waiver of all civil liability in connection with the +Program, unless a warranty or assumption of liability accompanies a +copy of the Program in return for a fee. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Programs + + If you develop a new program, and you want it to be of the greatest +possible use to the public, the best way to achieve this is to make it +free software which everyone can redistribute and change under these terms. + + To do so, attach the following notices to the program. It is safest +to attach them to the start of each source file to most effectively +state the exclusion of warranty; and each file should have at least +the "copyright" line and a pointer to where the full notice is found. + + + Copyright (C) + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU Affero General Public License as published + by the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Affero General Public License for more details. + + You should have received a copy of the GNU Affero General Public License + along with this program. If not, see . + +Also add information on how to contact you by electronic and paper mail. + + If your software can interact with users remotely through a computer +network, you should also make sure that it provides a way for users to +get its source. For example, if your program is a web application, its +interface could display a "Source" link that leads users to an archive +of the code. There are many ways you could offer source, and different +solutions will be better for different programs; see section 13 for the +specific requirements. + + You should also get your employer (if you work as a programmer) or school, +if any, to sign a "copyright disclaimer" for the program, if necessary. +For more information on this, and how to apply and follow the GNU AGPL, see +. diff --git a/Menu/make.sh b/Menu/make.sh new file mode 100755 index 0000000..a7a627b --- /dev/null +++ b/Menu/make.sh @@ -0,0 +1,60 @@ +#!/bin/bash + +REPO="/data/github/active/Melawy/REPO/melawy/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 + + for i in *.pkg.tar.zst; + do + if [ -f "${i}" ]; then + echo "Удаление подписи $i.sig" + rm -f $i.sig + echo "Добавление подписи $i.sig" + gpg --detach-sign --local-user BC8B600E8DDA1F4CB77B10D2BA803A261A5EE6B8 --output "$i.sig" "$i" + fi + done + + for i in *.pkg.tar.xz; + do + if [ -f "${i}" ]; then + echo "Удаление подписи $i.sig" + rm -f $i.sig + echo "Добавление подписи $i.sig" + gpg --detach-sign --local-user BC8B600E8DDA1F4CB77B10D2BA803A261A5EE6B8 --output "$i.sig" "$i" + fi + done + + package_file=$(ls -1 | grep -v "pkg.tar.zst.sig" | grep "pkg.tar.zst") + if [ -f "$CWD/$package_dir/$package_file" ]; then + mv -v $CWD/$package_dir/$package_file $REPO/ + fi + + package_file=$(ls -1 | grep -v "pkg.tar.xz.sig" | grep "pkg.tar.xz") + if [ -f "$CWD/$package_dir/$package_file" ]; then + mv -v $CWD/$package_dir/$package_file $REPO/ + fi + + package_file=$(ls -1 | grep "pkg.tar.xz.sig") + if [ -f "$CWD/$package_dir/$package_file" ]; then + + mv -v $CWD/$package_dir/$package_file $REPO/ + fi + + package_file=$(ls -1 | grep "pkg.tar.zst.sig") + if [ -f "$CWD/$package_dir/$package_file" ]; then + + mv -v $CWD/$package_dir/$package_file $REPO/ + fi + + cd $CWD +done + +echo "melawy" | beep -f 200 -l 250 -d 100 -r 1 -n -s +notify-send -a "$(basename $(pwd)): Make and Move to" -t 999999999 "$REPO" "$(date '+%Y.%m.%d %H:%M:%S')" diff --git a/Menu/plasma-plasmoid-DittoMenu/.gitignore b/Menu/plasma-plasmoid-DittoMenu/.gitignore new file mode 100644 index 0000000..ff51a2e --- /dev/null +++ b/Menu/plasma-plasmoid-DittoMenu/.gitignore @@ -0,0 +1,4 @@ +*.tar.* +pkg/ +src/ +/plasma-plasmoid-DittoMenu diff --git a/Menu/plasma-plasmoid-DittoMenu/00_make.sh b/Menu/plasma-plasmoid-DittoMenu/00_make.sh new file mode 100755 index 0000000..02a0d1e --- /dev/null +++ b/Menu/plasma-plasmoid-DittoMenu/00_make.sh @@ -0,0 +1,27 @@ +#!/bin/bash + +makepkg --syncdeps --asdeps --needed --noconfirm --clean --cleanbuild --force + +for i in *.pkg.tar.zst; +do + if [ -f "${i}" ]; then + echo "Удаление подписи $i.sig" + rm -f $i.sig + echo "Добавление подписи $i.sig" + gpg --detach-sign --local-user BC8B600E8DDA1F4CB77B10D2BA803A261A5EE6B8 --output "$i.sig" "$i" + fi +done + +for i in *.pkg.tar.xz; +do + if [ -f "${i}" ]; then + echo "Удаление подписи $i.sig" + rm -f $i.sig + echo "Добавление подписи $i.sig" + gpg --detach-sign --local-user BC8B600E8DDA1F4CB77B10D2BA803A261A5EE6B8 --output "$i.sig" "$i" + fi +done + + +echo "melawy" | beep -f 200 -l 250 -d 100 -r 1 -n -s +notify-send -a "$(basename $(pwd)): Make" -t 999999999 "Make finished" "$(date '+%Y.%m.%d %H:%M:%S')" diff --git a/Menu/plasma-plasmoid-DittoMenu/01_sign.sh b/Menu/plasma-plasmoid-DittoMenu/01_sign.sh new file mode 100755 index 0000000..77055f1 --- /dev/null +++ b/Menu/plasma-plasmoid-DittoMenu/01_sign.sh @@ -0,0 +1,21 @@ +#!/bin/bash + +for i in *.pkg.tar.zst; +do + if [ -f "${i}" ]; then + echo "Удаление подписи $i.sig" + rm -f $i.sig + echo "Добавление подписи $i.sig" + gpg --detach-sign --local-user BC8B600E8DDA1F4CB77B10D2BA803A261A5EE6B8 --output "$i.sig" "$i" + fi +done + +for i in *.pkg.tar.xz; +do + if [ -f "${i}" ]; then + echo "Удаление подписи $i.sig" + rm -f $i.sig + echo "Добавление подписи $i.sig" + gpg --detach-sign --local-user BC8B600E8DDA1F4CB77B10D2BA803A261A5EE6B8 --output "$i.sig" "$i" + fi +done diff --git a/Menu/plasma-plasmoid-DittoMenu/PKGBUILD b/Menu/plasma-plasmoid-DittoMenu/PKGBUILD new file mode 100644 index 0000000..35a9760 --- /dev/null +++ b/Menu/plasma-plasmoid-DittoMenu/PKGBUILD @@ -0,0 +1,37 @@ +# Maintainer: Valeria Fadeeva + +_gitname="$(basename $(pwd))" +pkgname=("melawy-$_gitname") +pkgver=1.7 +pkgrel=1 +pkgdesc="$(head -n 2 README.md | tail -n 1)" +url="https://git.melawy.ru/Melawy-Linux/$_gitname" +arch=("any") +license=("AGPL3") +depends=("plasma-desktop") +optdepends=() +makedepends=("git") +backup=() +provides=("${pkgname}") +conflicts=("${pkgname}") +source=("git+$url.git") +sha256sums=("SKIP") +validpgpkeys=('BC8B600E8DDA1F4CB77B10D2BA803A261A5EE6B8') + +THEME_NAME="com.github.adhec.DittoMenu" +THEME_PATH="/usr/share/plasma/plasmoids" + +# pkgver() { +# cd "$srcdir/$_gitname" +# printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" +# } + +pkgver() { + cd "$srcdir/$_gitname" + printf "1.%s" "$(git rev-list --count HEAD)" +} + +package() { + install -d "$pkgdir$THEME_PATH" + cp -vrf --no-dereference --preserve=links "$srcdir/$_gitname/$THEME_NAME" "$pkgdir$THEME_PATH/" +} diff --git a/Menu/plasma-plasmoid-DittoMenu/README.md b/Menu/plasma-plasmoid-DittoMenu/README.md new file mode 100644 index 0000000..f2311a5 --- /dev/null +++ b/Menu/plasma-plasmoid-DittoMenu/README.md @@ -0,0 +1,11 @@ +# melawy-plasma-plasmoid-DittoMenu +DittoMenu plasmoid + +### Donate +[Tinkoff](https://www.tinkoff.ru/rm/fadeeva.valeriya96/9bLRi79066) + +[YooMoney](https://yoomoney.ru/to/4100115921160758) + +[Qiwi](https://qiwi.com/n/VALERIAFADEEVA) + +Etherium 0x981FBf878fe451BDB83BEaF68078394d4B13213f diff --git a/Menu/plasma-plasmoid-Menu11/.gitignore b/Menu/plasma-plasmoid-Menu11/.gitignore new file mode 100644 index 0000000..1916a15 --- /dev/null +++ b/Menu/plasma-plasmoid-Menu11/.gitignore @@ -0,0 +1,4 @@ +*.tar.* +pkg/ +src/ +/plasma-plasmoid-Menu11 diff --git a/Menu/plasma-plasmoid-Menu11/00_make.sh b/Menu/plasma-plasmoid-Menu11/00_make.sh new file mode 100755 index 0000000..02a0d1e --- /dev/null +++ b/Menu/plasma-plasmoid-Menu11/00_make.sh @@ -0,0 +1,27 @@ +#!/bin/bash + +makepkg --syncdeps --asdeps --needed --noconfirm --clean --cleanbuild --force + +for i in *.pkg.tar.zst; +do + if [ -f "${i}" ]; then + echo "Удаление подписи $i.sig" + rm -f $i.sig + echo "Добавление подписи $i.sig" + gpg --detach-sign --local-user BC8B600E8DDA1F4CB77B10D2BA803A261A5EE6B8 --output "$i.sig" "$i" + fi +done + +for i in *.pkg.tar.xz; +do + if [ -f "${i}" ]; then + echo "Удаление подписи $i.sig" + rm -f $i.sig + echo "Добавление подписи $i.sig" + gpg --detach-sign --local-user BC8B600E8DDA1F4CB77B10D2BA803A261A5EE6B8 --output "$i.sig" "$i" + fi +done + + +echo "melawy" | beep -f 200 -l 250 -d 100 -r 1 -n -s +notify-send -a "$(basename $(pwd)): Make" -t 999999999 "Make finished" "$(date '+%Y.%m.%d %H:%M:%S')" diff --git a/Menu/plasma-plasmoid-Menu11/01_sign.sh b/Menu/plasma-plasmoid-Menu11/01_sign.sh new file mode 100755 index 0000000..77055f1 --- /dev/null +++ b/Menu/plasma-plasmoid-Menu11/01_sign.sh @@ -0,0 +1,21 @@ +#!/bin/bash + +for i in *.pkg.tar.zst; +do + if [ -f "${i}" ]; then + echo "Удаление подписи $i.sig" + rm -f $i.sig + echo "Добавление подписи $i.sig" + gpg --detach-sign --local-user BC8B600E8DDA1F4CB77B10D2BA803A261A5EE6B8 --output "$i.sig" "$i" + fi +done + +for i in *.pkg.tar.xz; +do + if [ -f "${i}" ]; then + echo "Удаление подписи $i.sig" + rm -f $i.sig + echo "Добавление подписи $i.sig" + gpg --detach-sign --local-user BC8B600E8DDA1F4CB77B10D2BA803A261A5EE6B8 --output "$i.sig" "$i" + fi +done diff --git a/Menu/plasma-plasmoid-Menu11/PKGBUILD b/Menu/plasma-plasmoid-Menu11/PKGBUILD new file mode 100644 index 0000000..b1b3b7b --- /dev/null +++ b/Menu/plasma-plasmoid-Menu11/PKGBUILD @@ -0,0 +1,37 @@ +# Maintainer: Valeria Fadeeva + +_gitname="$(basename $(pwd))" +pkgname=("melawy-$_gitname") +pkgver=1.5 +pkgrel=1 +pkgdesc="$(head -n 2 README.md | tail -n 1)" +url="https://git.melawy.ru/Melawy-Linux/$_gitname" +arch=("any") +license=("AGPL3") +depends=("plasma-desktop") +optdepends=() +makedepends=("git") +backup=() +provides=("${pkgname}") +conflicts=("${pkgname}") +source=("git+$url.git") +sha256sums=("SKIP") +validpgpkeys=('BC8B600E8DDA1F4CB77B10D2BA803A261A5EE6B8') + +THEME_NAME="com.github.adhec.Menu11" +THEME_PATH="/usr/share/plasma/plasmoids" + +# pkgver() { +# cd "$srcdir/$_gitname" +# printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" +# } + +pkgver() { + cd "$srcdir/$_gitname" + printf "1.%s" "$(git rev-list --count HEAD)" +} + +package() { + install -d "$pkgdir$THEME_PATH" + cp -vrf --no-dereference --preserve=links "$srcdir/$_gitname/$THEME_NAME" "$pkgdir$THEME_PATH/" +} diff --git a/Menu/plasma-plasmoid-Menu11/README.md b/Menu/plasma-plasmoid-Menu11/README.md new file mode 100644 index 0000000..38446e3 --- /dev/null +++ b/Menu/plasma-plasmoid-Menu11/README.md @@ -0,0 +1,11 @@ +# melawy-plasma-plasmoid-Menu11 +Menu11 plasmoid + +### Donate +[Tinkoff](https://www.tinkoff.ru/rm/fadeeva.valeriya96/9bLRi79066) + +[YooMoney](https://yoomoney.ru/to/4100115921160758) + +[Qiwi](https://qiwi.com/n/VALERIAFADEEVA) + +Etherium 0x981FBf878fe451BDB83BEaF68078394d4B13213f diff --git a/Menu/plasma-plasmoid-OnzeMenuKDE/.gitignore b/Menu/plasma-plasmoid-OnzeMenuKDE/.gitignore new file mode 100644 index 0000000..5361151 --- /dev/null +++ b/Menu/plasma-plasmoid-OnzeMenuKDE/.gitignore @@ -0,0 +1,4 @@ +*.tar.* +pkg/ +src/ +/plasma-plasmoid-OnzeMenuKDE diff --git a/Menu/plasma-plasmoid-OnzeMenuKDE/00_make.sh b/Menu/plasma-plasmoid-OnzeMenuKDE/00_make.sh new file mode 100755 index 0000000..02a0d1e --- /dev/null +++ b/Menu/plasma-plasmoid-OnzeMenuKDE/00_make.sh @@ -0,0 +1,27 @@ +#!/bin/bash + +makepkg --syncdeps --asdeps --needed --noconfirm --clean --cleanbuild --force + +for i in *.pkg.tar.zst; +do + if [ -f "${i}" ]; then + echo "Удаление подписи $i.sig" + rm -f $i.sig + echo "Добавление подписи $i.sig" + gpg --detach-sign --local-user BC8B600E8DDA1F4CB77B10D2BA803A261A5EE6B8 --output "$i.sig" "$i" + fi +done + +for i in *.pkg.tar.xz; +do + if [ -f "${i}" ]; then + echo "Удаление подписи $i.sig" + rm -f $i.sig + echo "Добавление подписи $i.sig" + gpg --detach-sign --local-user BC8B600E8DDA1F4CB77B10D2BA803A261A5EE6B8 --output "$i.sig" "$i" + fi +done + + +echo "melawy" | beep -f 200 -l 250 -d 100 -r 1 -n -s +notify-send -a "$(basename $(pwd)): Make" -t 999999999 "Make finished" "$(date '+%Y.%m.%d %H:%M:%S')" diff --git a/Menu/plasma-plasmoid-OnzeMenuKDE/01_sign.sh b/Menu/plasma-plasmoid-OnzeMenuKDE/01_sign.sh new file mode 100755 index 0000000..77055f1 --- /dev/null +++ b/Menu/plasma-plasmoid-OnzeMenuKDE/01_sign.sh @@ -0,0 +1,21 @@ +#!/bin/bash + +for i in *.pkg.tar.zst; +do + if [ -f "${i}" ]; then + echo "Удаление подписи $i.sig" + rm -f $i.sig + echo "Добавление подписи $i.sig" + gpg --detach-sign --local-user BC8B600E8DDA1F4CB77B10D2BA803A261A5EE6B8 --output "$i.sig" "$i" + fi +done + +for i in *.pkg.tar.xz; +do + if [ -f "${i}" ]; then + echo "Удаление подписи $i.sig" + rm -f $i.sig + echo "Добавление подписи $i.sig" + gpg --detach-sign --local-user BC8B600E8DDA1F4CB77B10D2BA803A261A5EE6B8 --output "$i.sig" "$i" + fi +done diff --git a/Menu/plasma-plasmoid-OnzeMenuKDE/PKGBUILD b/Menu/plasma-plasmoid-OnzeMenuKDE/PKGBUILD new file mode 100644 index 0000000..2f84a8e --- /dev/null +++ b/Menu/plasma-plasmoid-OnzeMenuKDE/PKGBUILD @@ -0,0 +1,37 @@ +# Maintainer: Valeria Fadeeva + +_gitname="$(basename $(pwd))" +pkgname=("melawy-$_gitname") +pkgver=1.5 +pkgrel=1 +pkgdesc="$(head -n 2 README.md | tail -n 1)" +url="https://git.melawy.ru/Melawy-Linux/$_gitname" +arch=("any") +license=("AGPL3") +depends=("plasma-desktop") +optdepends=() +makedepends=("git") +backup=() +provides=("${pkgname}") +conflicts=("${pkgname}") +source=("git+$url.git") +sha256sums=("SKIP") +validpgpkeys=('BC8B600E8DDA1F4CB77B10D2BA803A261A5EE6B8') + +THEME_NAME="com.github.adhec.OnzeMenuKDE" +THEME_PATH="/usr/share/plasma/plasmoids" + +# pkgver() { +# cd "$srcdir/$_gitname" +# printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" +# } + +pkgver() { + cd "$srcdir/$_gitname" + printf "1.%s" "$(git rev-list --count HEAD)" +} + +package() { + install -d "$pkgdir$THEME_PATH" + cp -vrf --no-dereference --preserve=links "$srcdir/$_gitname/$THEME_NAME" "$pkgdir$THEME_PATH/" +} diff --git a/Menu/plasma-plasmoid-OnzeMenuKDE/README.md b/Menu/plasma-plasmoid-OnzeMenuKDE/README.md new file mode 100644 index 0000000..50d1b12 --- /dev/null +++ b/Menu/plasma-plasmoid-OnzeMenuKDE/README.md @@ -0,0 +1,11 @@ +# melawy-plasma-plasmoid-OnzeMenuKDE +OnzeMenuKDE plasmoid + +### Donate +[Tinkoff](https://www.tinkoff.ru/rm/fadeeva.valeriya96/9bLRi79066) + +[YooMoney](https://yoomoney.ru/to/4100115921160758) + +[Qiwi](https://qiwi.com/n/VALERIAFADEEVA) + +Etherium 0x981FBf878fe451BDB83BEaF68078394d4B13213f diff --git a/Menu/pwd.txt b/Menu/pwd.txt new file mode 100644 index 0000000..961ce15 --- /dev/null +++ b/Menu/pwd.txt @@ -0,0 +1 @@ +/data/github/active/Melawy/PKGBUILD-git.melawy.ru/Menu \ No newline at end of file diff --git a/README.md b/README.md new file mode 100644 index 0000000..6ce8bab --- /dev/null +++ b/README.md @@ -0,0 +1,11 @@ +# PKGBUILD +PKGBUILD files from Melawy Linux + +### Donate +[Tinkoff](https://www.tinkoff.ru/rm/fadeeva.valeriya96/9bLRi79066) + +[YooMoney](https://yoomoney.ru/to/4100115921160758) + +[Qiwi](https://qiwi.com/n/VALERIAFADEEVA) + +Etherium 0x981FBf878fe451BDB83BEaF68078394d4B13213f diff --git a/Updater/arch-linux-updater/.gitignore b/Updater/arch-linux-updater/.gitignore new file mode 100644 index 0000000..dcd5733 --- /dev/null +++ b/Updater/arch-linux-updater/.gitignore @@ -0,0 +1,4 @@ +*.tar.* +pkg/ +src/ +/arch-linux-updater diff --git a/Updater/arch-linux-updater/00_make.sh b/Updater/arch-linux-updater/00_make.sh new file mode 100755 index 0000000..02a0d1e --- /dev/null +++ b/Updater/arch-linux-updater/00_make.sh @@ -0,0 +1,27 @@ +#!/bin/bash + +makepkg --syncdeps --asdeps --needed --noconfirm --clean --cleanbuild --force + +for i in *.pkg.tar.zst; +do + if [ -f "${i}" ]; then + echo "Удаление подписи $i.sig" + rm -f $i.sig + echo "Добавление подписи $i.sig" + gpg --detach-sign --local-user BC8B600E8DDA1F4CB77B10D2BA803A261A5EE6B8 --output "$i.sig" "$i" + fi +done + +for i in *.pkg.tar.xz; +do + if [ -f "${i}" ]; then + echo "Удаление подписи $i.sig" + rm -f $i.sig + echo "Добавление подписи $i.sig" + gpg --detach-sign --local-user BC8B600E8DDA1F4CB77B10D2BA803A261A5EE6B8 --output "$i.sig" "$i" + fi +done + + +echo "melawy" | beep -f 200 -l 250 -d 100 -r 1 -n -s +notify-send -a "$(basename $(pwd)): Make" -t 999999999 "Make finished" "$(date '+%Y.%m.%d %H:%M:%S')" diff --git a/Updater/arch-linux-updater/01_sign.sh b/Updater/arch-linux-updater/01_sign.sh new file mode 100755 index 0000000..77055f1 --- /dev/null +++ b/Updater/arch-linux-updater/01_sign.sh @@ -0,0 +1,21 @@ +#!/bin/bash + +for i in *.pkg.tar.zst; +do + if [ -f "${i}" ]; then + echo "Удаление подписи $i.sig" + rm -f $i.sig + echo "Добавление подписи $i.sig" + gpg --detach-sign --local-user BC8B600E8DDA1F4CB77B10D2BA803A261A5EE6B8 --output "$i.sig" "$i" + fi +done + +for i in *.pkg.tar.xz; +do + if [ -f "${i}" ]; then + echo "Удаление подписи $i.sig" + rm -f $i.sig + echo "Добавление подписи $i.sig" + gpg --detach-sign --local-user BC8B600E8DDA1F4CB77B10D2BA803A261A5EE6B8 --output "$i.sig" "$i" + fi +done diff --git a/Updater/arch-linux-updater/PKGBUILD b/Updater/arch-linux-updater/PKGBUILD new file mode 100644 index 0000000..bbe0c87 --- /dev/null +++ b/Updater/arch-linux-updater/PKGBUILD @@ -0,0 +1,48 @@ +# Maintainer: Valeria Fadeeva + +_gitname="$(basename $(pwd))" +pkgname=("melawy-$_gitname") +pkgver=1.14 +pkgrel=1 +pkgdesc="$(head -n 2 README.md | tail -n 1)" +arch=('any') +url="https://git.melawy.ru/Melawy-Linux/$_gitname" +license=('AGPL') +depends=("pacman" "gnupg") +optdepends=() +makedepends=("git") +backup=() +provides=("${pkgname}") +conflicts=("${pkgname}") +source=("git+$url.git") +sha256sums=("SKIP") +validpgpkeys=('BC8B600E8DDA1F4CB77B10D2BA803A261A5EE6B8') + +# pkgver() { +# cd "$srcdir/$_gitname" +# printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" +# } + +pkgver() { + cd "$srcdir/$_gitname" + printf "1.%s" "$(git rev-list --count HEAD)" +} + +build() { + cd "$_gitname" + cargo build --release +} + +package() { + install -dm755 "${pkgdir}/etc/arch-linux-updater/" + install -m644 "${srcdir}/$_gitname/.env" "${pkgdir}/etc/arch-linux-updater/" + + install -dm755 "${pkgdir}/usr/bin/" + install -m755 "${srcdir}/$_gitname/target/release/arch-linux-updater" "${pkgdir}/usr/bin/" + + install -dm755 "${pkgdir}/usr/share/arch-linux-updater/" + cp -rf "${srcdir}/$_gitname/assets" "${pkgdir}/usr/share/arch-linux-updater/" + + install -dm750 "${pkgdir}/etc/sudoers.d/" + install -m644 "${srcdir}/$_gitname/melawy-arch-linux-updater" "${pkgdir}/etc/sudoers.d/" +} diff --git a/Updater/arch-linux-updater/README.md b/Updater/arch-linux-updater/README.md new file mode 100644 index 0000000..765c998 --- /dev/null +++ b/Updater/arch-linux-updater/README.md @@ -0,0 +1,11 @@ +# melawy-arch-linux-updater +Arch linux updater for Melawy Linux + +### Donate +[Tinkoff](https://www.tinkoff.ru/rm/fadeeva.valeriya96/9bLRi79066) + +[YooMoney](https://yoomoney.ru/to/4100115921160758) + +[Qiwi](https://qiwi.com/n/VALERIAFADEEVA) + +Etherium 0x981FBf878fe451BDB83BEaF68078394d4B13213f diff --git a/Updater/make.sh b/Updater/make.sh new file mode 100755 index 0000000..a7a627b --- /dev/null +++ b/Updater/make.sh @@ -0,0 +1,60 @@ +#!/bin/bash + +REPO="/data/github/active/Melawy/REPO/melawy/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 + + for i in *.pkg.tar.zst; + do + if [ -f "${i}" ]; then + echo "Удаление подписи $i.sig" + rm -f $i.sig + echo "Добавление подписи $i.sig" + gpg --detach-sign --local-user BC8B600E8DDA1F4CB77B10D2BA803A261A5EE6B8 --output "$i.sig" "$i" + fi + done + + for i in *.pkg.tar.xz; + do + if [ -f "${i}" ]; then + echo "Удаление подписи $i.sig" + rm -f $i.sig + echo "Добавление подписи $i.sig" + gpg --detach-sign --local-user BC8B600E8DDA1F4CB77B10D2BA803A261A5EE6B8 --output "$i.sig" "$i" + fi + done + + package_file=$(ls -1 | grep -v "pkg.tar.zst.sig" | grep "pkg.tar.zst") + if [ -f "$CWD/$package_dir/$package_file" ]; then + mv -v $CWD/$package_dir/$package_file $REPO/ + fi + + package_file=$(ls -1 | grep -v "pkg.tar.xz.sig" | grep "pkg.tar.xz") + if [ -f "$CWD/$package_dir/$package_file" ]; then + mv -v $CWD/$package_dir/$package_file $REPO/ + fi + + package_file=$(ls -1 | grep "pkg.tar.xz.sig") + if [ -f "$CWD/$package_dir/$package_file" ]; then + + mv -v $CWD/$package_dir/$package_file $REPO/ + fi + + package_file=$(ls -1 | grep "pkg.tar.zst.sig") + if [ -f "$CWD/$package_dir/$package_file" ]; then + + mv -v $CWD/$package_dir/$package_file $REPO/ + fi + + cd $CWD +done + +echo "melawy" | beep -f 200 -l 250 -d 100 -r 1 -n -s +notify-send -a "$(basename $(pwd)): Make and Move to" -t 999999999 "$REPO" "$(date '+%Y.%m.%d %H:%M:%S')" diff --git a/Updater/plasma-plasmoid-archupdate/.gitignore b/Updater/plasma-plasmoid-archupdate/.gitignore new file mode 100644 index 0000000..63d9231 --- /dev/null +++ b/Updater/plasma-plasmoid-archupdate/.gitignore @@ -0,0 +1,4 @@ +*.tar.* +pkg/ +src/ +/plasma-plasmoid-archupdate diff --git a/Updater/plasma-plasmoid-archupdate/00_make.sh b/Updater/plasma-plasmoid-archupdate/00_make.sh new file mode 100755 index 0000000..02a0d1e --- /dev/null +++ b/Updater/plasma-plasmoid-archupdate/00_make.sh @@ -0,0 +1,27 @@ +#!/bin/bash + +makepkg --syncdeps --asdeps --needed --noconfirm --clean --cleanbuild --force + +for i in *.pkg.tar.zst; +do + if [ -f "${i}" ]; then + echo "Удаление подписи $i.sig" + rm -f $i.sig + echo "Добавление подписи $i.sig" + gpg --detach-sign --local-user BC8B600E8DDA1F4CB77B10D2BA803A261A5EE6B8 --output "$i.sig" "$i" + fi +done + +for i in *.pkg.tar.xz; +do + if [ -f "${i}" ]; then + echo "Удаление подписи $i.sig" + rm -f $i.sig + echo "Добавление подписи $i.sig" + gpg --detach-sign --local-user BC8B600E8DDA1F4CB77B10D2BA803A261A5EE6B8 --output "$i.sig" "$i" + fi +done + + +echo "melawy" | beep -f 200 -l 250 -d 100 -r 1 -n -s +notify-send -a "$(basename $(pwd)): Make" -t 999999999 "Make finished" "$(date '+%Y.%m.%d %H:%M:%S')" diff --git a/Updater/plasma-plasmoid-archupdate/01_sign.sh b/Updater/plasma-plasmoid-archupdate/01_sign.sh new file mode 100755 index 0000000..77055f1 --- /dev/null +++ b/Updater/plasma-plasmoid-archupdate/01_sign.sh @@ -0,0 +1,21 @@ +#!/bin/bash + +for i in *.pkg.tar.zst; +do + if [ -f "${i}" ]; then + echo "Удаление подписи $i.sig" + rm -f $i.sig + echo "Добавление подписи $i.sig" + gpg --detach-sign --local-user BC8B600E8DDA1F4CB77B10D2BA803A261A5EE6B8 --output "$i.sig" "$i" + fi +done + +for i in *.pkg.tar.xz; +do + if [ -f "${i}" ]; then + echo "Удаление подписи $i.sig" + rm -f $i.sig + echo "Добавление подписи $i.sig" + gpg --detach-sign --local-user BC8B600E8DDA1F4CB77B10D2BA803A261A5EE6B8 --output "$i.sig" "$i" + fi +done diff --git a/Updater/plasma-plasmoid-archupdate/PKGBUILD b/Updater/plasma-plasmoid-archupdate/PKGBUILD new file mode 100644 index 0000000..064e9ee --- /dev/null +++ b/Updater/plasma-plasmoid-archupdate/PKGBUILD @@ -0,0 +1,37 @@ +# Maintainer: Valeria Fadeeva + +_gitname="$(basename $(pwd))" +pkgname=("melawy-$_gitname") +pkgver=1.15 +pkgrel=1 +pkgdesc="$(head -n 2 README.md | tail -n 1)" +url="https://git.melawy.ru/Melawy-Linux/$_gitname" +arch=("any") +license=("AGPL3") +depends=("plasma-desktop") +optdepends=() +makedepends=("git") +backup=() +provides=("${pkgname}") +conflicts=("${pkgname}") +source=("git+$url.git") +sha256sums=("SKIP") +validpgpkeys=('BC8B600E8DDA1F4CB77B10D2BA803A261A5EE6B8') + +THEME_NAME="com.github.Melawy.ArchUpdate" +THEME_PATH="/usr/share/plasma/plasmoids" + +# pkgver() { +# cd "$srcdir/$_gitname" +# printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" +# } + +pkgver() { + cd "$srcdir/$_gitname" + printf "1.%s" "$(git rev-list --count HEAD)" +} + +package() { + install -d "$pkgdir$THEME_PATH" + cp -vrf --no-dereference --preserve=links "$srcdir/$_gitname/$THEME_NAME" "$pkgdir$THEME_PATH/" +} diff --git a/Updater/plasma-plasmoid-archupdate/README.md b/Updater/plasma-plasmoid-archupdate/README.md new file mode 100644 index 0000000..f5cc733 --- /dev/null +++ b/Updater/plasma-plasmoid-archupdate/README.md @@ -0,0 +1,11 @@ +# melawy-plasma-plasmoid-archupdate +Arch update plasmoid + +### Donate +[Tinkoff](https://www.tinkoff.ru/rm/fadeeva.valeriya96/9bLRi79066) + +[YooMoney](https://yoomoney.ru/to/4100115921160758) + +[Qiwi](https://qiwi.com/n/VALERIAFADEEVA) + +Etherium 0x981FBf878fe451BDB83BEaF68078394d4B13213f diff --git a/Updater/pwd.txt b/Updater/pwd.txt new file mode 100644 index 0000000..b804adb --- /dev/null +++ b/Updater/pwd.txt @@ -0,0 +1 @@ +/data/github/active/Melawy/PKGBUILD-git.melawy.ru/Updater \ No newline at end of file diff --git a/cleanup.sh b/cleanup.sh new file mode 100755 index 0000000..cb4c124 --- /dev/null +++ b/cleanup.sh @@ -0,0 +1,19 @@ +#!/bin/bash + +mv .git/config config + +rm -rf .git + +git init -b main + +mv config .git/config + +git add --all . + +git commit -m "cleanup" + +git push origin main --force + +echo "################################################################" +echo "################### cleanup Done ######################" +echo "################################################################" diff --git a/push.sh b/push.sh new file mode 100755 index 0000000..5840a9b --- /dev/null +++ b/push.sh @@ -0,0 +1,6 @@ +#!/bin/bash + +git add . && git commit -m "Update" && git push + +echo "melawy" | beep -f 200 -l 250 -d 100 -r 1 -n -s +notify-send -a "$(basename $(pwd)): Push" -t 999999999 "Update finished" "$(date '+%Y.%m.%d %H:%M:%S')"