This repository has been archived by the owner on Jun 30, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathupdate_aur.sh
executable file
·86 lines (81 loc) · 3.05 KB
/
update_aur.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
#!/bin/bash
# This file is part of the Namib GNU/Linux distribution
# Copyright (c) 2017 Meerkat Software
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, version 3.
#
# 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
# General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
function cleanup() {
rm -Rrf -- */
}
function cloneall() {
git clone https://aur.archlinux.org/trizen.git
git clone https://aur.archlinux.org/pamac-aur.git
git clone https://aur.archlinux.org/mkinitcpio-openswap.git
git clone https://aur.archlinux.org/package-query.git
git clone https://aur.archlinux.org/rhythmbox-plugin-tray-icon-git.git
git clone https://aur.archlinux.org/brisk-menu.git
git clone https://aur.archlinux.org/pamac-tray-appindicator.git
git clone https://aur.archlinux.org/b43-firmware.git
git clone https://aur.archlinux.org/timeshift.git
git clone https://aur.archlinux.org/xcursor-breeze.git
git clone https://aur.archlinux.org/gnome-shell-extension-dash-to-panel.git
git clone https://aur.archlinux.org/gnome-shell-extension-arc-menu-git.git
git clone https://aur.archlinux.org/pix.git
git clone https://aur.archlinux.org/xed.git
git clone https://aur.archlinux.org/xviewer.git
git clone https://aur.archlinux.org/xviewer-plugins.git
git clone https://aur.archlinux.org/xplayer.git
git clone https://aur.archlinux.org/vivaldi.git
git clone https://aur.archlinux.org/whalebird-bin.git
git clone https://aur.archlinux.org/skypeforlinux-stable-bin.git
git clone https://aur.archlinux.org/spotify.git
git clone https://aur.archlinux.org/gyazo.git
git clone https://aur.archlinux.org/google-chrome.git
git clone https://aur.archlinux.org/dropbox.git
git clone https://aur.archlinux.org/bitwarden-bin.git
git clone https://aur.archlinux.org/discord.git
git clone https://aur.archlinux.org/libc++.git
git clone https://aur.archlinux.org/slack-desktop.git
git clone https://aur.archlinux.org/rambox-bin.git
git clone https://aur.archlinux.org/xplayer-plparser.git
git clone https://aur.archlinux.org/wine-stable.git
git clone https://aur.archlinux.org/yay.git
}
function get_package() {
package=$1
pkbuild_url=$2
install_url=$3
mkdir $package
cd $package
wget $pkbuild_url
if [ -n "$install_url" ]; then
wget $install_url
fi
cd ..
}
function delete_dotgit_dirs() {
for dir in */ ;
do
dir=${dir%*/}
if [ "$dir" == "." ] || [ "$dir" == ".." ]; then
continue;
fi
cd $dir
rm -rf .git
echo "delete .git from folder "$dir
cd ..
done
}
cleanup
cloneall
delete_dotgit_dirs