This commit is contained in:
Ward Nakchbandi 2023-03-28 17:42:02 +03:00
parent 4600a71382
commit 368d773023
4 changed files with 10 additions and 1 deletions

View File

@ -5,6 +5,7 @@ install:
cp --no-preserve=mode,ownership -r \ cp --no-preserve=mode,ownership -r \
wallpapers/* \ wallpapers/* \
$(DESTDIR)/usr/share/backgrounds/pika/ $(DESTDIR)/usr/share/backgrounds/pika/
pika-wallpapers.xml usr/share/gnome-background-properties/
uninstall: uninstall:
-rm -rf $(DESTDIR)/usr/share/backgrounds/pika -rm -rf $(DESTDIR)/usr/share/backgrounds/pika

2
debian/changelog vendored
View File

@ -1,4 +1,4 @@
pika-wallpapers (1.0.0) kinetic; urgency=medium pika-wallpapers (1.2.0) kinetic; urgency=medium
* First release * First release

7
gen-xml.sh Executable file
View File

@ -0,0 +1,7 @@
#! /bin/bash
echo -e "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!DOCTYPE wallpapers SYSTEM \"gnome-wp-list.dtd\">\n<wallpapers>" > pika-wallpapers.xml
for i in $(ls wallpapers)
do
echo -e "\t<wallpaper>\n\t\t<name>$i</name>\n\t\t<filename>/usr/share/backgrounds/pika/$i</filename>\n\t\t<options>zoom</options>\n\t\t<pcolor>#000000</pcolor>\n\t\t<scolor>#000000</scolor>\n\t\t<shade_type>solid</shade_type>\n\t</wallpaper>" >> pika-wallpapers.xml
done
echo -e "</wallpapers>" >> pika-wallpapers.xml

View File

@ -6,6 +6,7 @@ add-apt-repository https://ppa.pika-os.com
add-apt-repository ppa:pikaos/pika add-apt-repository ppa:pikaos/pika
add-apt-repository ppa:kubuntu-ppa/backports add-apt-repository ppa:kubuntu-ppa/backports
# Clone Upstream # Clone Upstream
gen-xml.sh
mkdir -p ./pika-wallpapers mkdir -p ./pika-wallpapers
cp -rvf ./* ./pika-wallpapers || echo cp -rvf ./* ./pika-wallpapers || echo
cd ./pika-wallpapers cd ./pika-wallpapers