Browse Source

Add some more submodules and refactor makepkg scripts

master
Dor dicke Gind 2 years ago
parent
commit
4f856b99ee
  1. 9
      .gitmodules
  2. 1
      gind-ubo-icons-alpha
  3. 1
      gind-xfce-notify-theme
  4. 27
      makepkg-and-update-db.sh
  5. 1
      wine-staging-opt-3.21

9
.gitmodules vendored

@ -55,3 +55,12 @@
[submodule "cairo-dock-git-patched"]
path = cairo-dock-git-patched
url = https://gindserver.duckdns.org/gitea/drdickgind/cairo-dock-git-patched.git
[submodule "gind-ubo-icons-alpha"]
path = gind-ubo-icons-alpha
url = https://gindserver.duckdns.org/gitea/drdickgind/gind-ubo-icons-alpha.git
[submodule "gind-xfce-notify-theme"]
path = gind-xfce-notify-theme
url = https://gindserver.duckdns.org/gitea/drdickgind/gind-xfce-notify-theme.git
[submodule "wine-staging-opt-3.21"]
path = wine-staging-opt-3.21
url = https://gindserver.duckdns.org/gitea/drdickgind/wine-staging-opt-3.21.git

1
gind-ubo-icons-alpha

@ -0,0 +1 @@
Subproject commit 9a2df119bd086f508335087d89f7183865610cf0

1
gind-xfce-notify-theme

@ -0,0 +1 @@
Subproject commit 481cb4f01d5bff9379359841bd57a356bba72ef5

27
makepkg-and-update-db.sh

@ -0,0 +1,27 @@
#!/bin/bash
expireTimeNotifyOSD=10000
currentId=1
tmpFile=/tmp/currentNotifyId
# gets the current notify id from our tmp file
if [ -s $tmpFile ]; then
currentId=$(cat $tmpFile)
fi
makepkg_bash_func() {
notify-send "Start makepkg for $name" -p -t $expireTimeNotifyOSD -r $currentId -i software-update-available > $tmpFile
#fixes issue with makepkg ... git repo is not a clone of ...
unset GIT_DIR
makepkg
repo-add /mnt/pi-usb-ssd/gind-repo/x86_64/gind-repo.db.tar.gz $name*.pkg.tar.zst
cp -n $name*.pkg.tar.zst /mnt/pi-usb-ssd/gind-repo/x86_64/
}
if [ $# -gt 0 ]; then
if [ "$1" == "$name" ]; then
makepkg_bash_func
fi
else
makepkg_bash_func
fi

1
wine-staging-opt-3.21

@ -0,0 +1 @@
Subproject commit e35b7feb2fb38a7bf36ac398c091cfa054a76636
Loading…
Cancel
Save