- https://github.com/yt-dlp/yt-dlp - third-party download - fix missing directory creation - formatting - remove unused examples/cleanup commands
59 lines
3.4 KiB
Makefile
59 lines
3.4 KiB
Makefile
#!/usr/bin/make
|
|
WGET=wget --continue --no-verbose --show-progress --directory-prefix=cache/downloads/
|
|
|
|
all: download_extra
|
|
|
|
clean:
|
|
rm -rf config/includes.chroot/usr/share/xfce4/terminal/colorschemes cache/downloads/xfce4-terminal-colorschemes-1.0
|
|
rm -rf config/includes.chroot/etc/skel/.nano cache/downloads/nanorc-master.zip
|
|
rm -rf config/includes.chroot/usr/share/bleachbit/cleaners cache/downloads/cleanerml-master
|
|
rm -rf config/includes.chroot/etc/firefox-esr/firefox-esr.js cache/downloads/user.js-0.1
|
|
rm -f config/includes.chroot/usr/local/bin/yt-dlp
|
|
rm -rf config/includes.chroot/usr/lib/mozilla/extensions/{ec8030f7-c20a-464f-9b0e-13a3a9e97384}
|
|
rm -f cache/downloads/pidgin-opensteamworks_1.7-buster0-1_amd64.deb
|
|
rm -f cache/downloads/cleanerml-master.zip
|
|
rm -f cache/downloads/user.js-0.1.zip
|
|
rm -f cache/downloads/xfce4-terminal-colorschemes-1.0.zip
|
|
|
|
|
|
download_extra: clean
|
|
# Download unpackaged/third-party software
|
|
# TODO file ITPs on bugs.debian.org, package for Debian
|
|
mkdir -p cache/downloads/
|
|
|
|
# EXTRA https://github.com/scopatz/nanorc
|
|
$(WGET) https://github.com/scopatz/nanorc/archive/master.zip -O cache/downloads/nanorc-master.zip
|
|
unzip -q cache/downloads/nanorc-master.zip -d cache/downloads/
|
|
mv cache/downloads/nanorc-master config/includes.chroot/etc/skel/.nano
|
|
|
|
# EXTRA https://github.com/az0/cleanerml
|
|
$(WGET) https://github.com/az0/cleanerml/archive/master.zip -O cache/downloads/cleanerml-master.zip
|
|
unzip -q cache/downloads/cleanerml-master.zip -d cache/downloads/
|
|
mkdir -p config/includes.chroot/usr/share/bleachbit/cleaners
|
|
mv cache/downloads/cleanerml-master/release/* config/includes.chroot/usr/share/bleachbit/cleaners/
|
|
|
|
# EXTRA https://github.com/nodiscc/user.js
|
|
$(WGET) https://github.com/nodiscc/user.js/archive/0.1.zip -O cache/downloads/user.js-0.1.zip
|
|
unzip -q cache/downloads/user.js-0.1.zip -d cache/downloads/
|
|
mkdir -p config/includes.chroot/etc/firefox-esr
|
|
cd cache/downloads/user.js-0.1/ && make systemwide_user.js
|
|
mv cache/downloads/user.js-0.1/systemwide_user.js config/includes.chroot/etc/firefox-esr/firefox-esr.js
|
|
# https://github.com/EionRobb/pidgin-opensteamworks/
|
|
-mkdir -p config/packages.chroot
|
|
$(WGET) https://gitlab.com/nodiscc/pidgin-opensteamworks/-/jobs/471942010/artifacts/raw/pidgin-opensteamworks_1.7-buster0-1_amd64.deb
|
|
|
|
# EXTRA https://github.com/yt-dlp/yt-dlp
|
|
$(WGET) https://github.com/yt-dlp/yt-dlp/releases/download/2021.09.25/yt-dlp
|
|
chmod a+x config/packages.chroot
|
|
mkdir -p config/includes.chroot/usr/local/bin/
|
|
mv cache/downloads/yt-dlp config/includes.chroot/usr/local/bin/
|
|
|
|
# EXTRA https://addons.mozilla.org/en-US/firefox/addon/keepassxc-browser/
|
|
# EXTRA https://addons.mozilla.org/en-US/firefox/addon/cookie-autodelete/
|
|
mkdir -p config/includes.chroot/usr/lib/mozilla/extensions/{ec8030f7-c20a-464f-9b0e-13a3a9e97384}
|
|
$(WGET) https://addons.mozilla.org/firefox/downloads/file/3465157/keepassxc_browser-latest-fx.xpi -O config/includes.chroot/usr/lib/mozilla/extensions/{ec8030f7-c20a-464f-9b0e-13a3a9e97384}/keepassxc-browser@keepassxc.org.xpi
|
|
$(WGET) https://addons.mozilla.org/firefox/downloads/file/3530747/cookie_autodelete-3.1.1-an+fx.xpi -O config/includes.chroot/usr/lib/mozilla/extensions/{ec8030f7-c20a-464f-9b0e-13a3a9e97384}/CookieAutoDelete@kennydo.com.xpi
|
|
|
|
# EXTRA (DISABLED) https://github.com/ars3niy/tdlib-purple
|
|
#$(WGET) https://download.opensuse.org/repositories/home:/ars3n1y/Debian_10/amd64/libpurple-telegram-tdlib_0.7.1-1_amd64.deb
|