summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn A Ginis2016-09-21 19:45:35 +0300
committerJohn A Ginis2016-09-21 19:45:35 +0300
commitb13680ea3a87dad97edcf5a7ca44741f89ee82f9 (patch)
treec60454816913a6e811341e23ea63bf871f269ac2
parent57fcbbaa39aebf3b951ab07ed3fce263b9dfded4 (diff)
downloadaur-b13680ea3a87dad97edcf5a7ca44741f89ee82f9.tar.gz
per user cronorc
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD5
-rw-r--r--cronograph-conky.install11
3 files changed, 11 insertions, 7 deletions
diff --git a/.SRCINFO b/.SRCINFO
index df4055ee1495..2b1cc3ca7ecf 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = cronograph-conky
pkgdesc = A free, conky clock widget for X which displays date, time and weather information
- pkgver = 285.0df290c
+ pkgver = 292.771fdd1
pkgrel = 1
url = https://github.com/drxspace/cronoconky
install = cronograph-conky.install
diff --git a/PKGBUILD b/PKGBUILD
index 9526a234b46c..0f649b1fc1e6 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
pkgname=cronograph-conky
_prjname=cronoconky
-pkgver=285.0df290c
+pkgver=292.771fdd1
pkgrel=1
pkgdesc="A free, conky clock widget for X which displays date, time and weather information"
arch=('any')
@@ -37,6 +37,9 @@ package() {
ln -fs /opt/cronograph_blk/restart_crono.sh "${pkgdir}"/usr/local/bin/restart_crono
ln -fs /opt/cronograph_blk/stop_crono.sh "${pkgdir}"/usr/local/bin/stop_crono
+ install -dm 755 "${pkgdir}"/usr/share/applications
+ cp "${srcdir}/${_prjname}"/cronograph_conky.desktop "${pkgdir}"/usr/share/applications
+
install -dm 755 "${pkgdir}"/etc/xdg/autostart
cp "${srcdir}/${_prjname}"/cronograph_conky.desktop "${pkgdir}"/etc/xdg/autostart
diff --git a/cronograph-conky.install b/cronograph-conky.install
index 6e28ba70b225..87628ec8e3cd 100644
--- a/cronograph-conky.install
+++ b/cronograph-conky.install
@@ -1,6 +1,6 @@
post_install() {
echo "Building font information cache files. Please wait...";
- fc-cache -f;
+ fc-cache "${pkgdir}"/usr/share/fonts/TTF/ttf-cronograph;
echo ;
echo -e "\e[37;46m┌────────────────────────────────────────────────────────────────────────┐\e[0m";
echo -e "\e[37;46m│\e[30m From now on, due to brevity, I'll call this project as “crono” \e[37m│\e[0m";
@@ -22,10 +22,9 @@ post_install() {
echo -e "\e[37;41m│ \e[30;48;5;196m Instruction - TEMPERATURE UNIT \e[37;41m │\e[0m";
echo -e "\e[37;41m│ \e[97m· At first, visit: \e[1mhttps://www.yahoo.com/news/weather\e[21m and click on \e[37m │\e[0m";
echo -e "\e[37;41m│ \e[97m the link \e[1;7mChange location\e[21;27m to detect yours. The \e[1mWOEID\e[21m is the number \e[37m │\e[0m";
- echo -e "\e[37;41m│ \e[97m appears at the right of the URL, next to the dash. Next, type the \e[37m │\e[0m";
- echo -e "\e[37;41m│ \e[97m command: \e[37m │\e[0m";
- echo -e "\e[37;41m│ \e[97m ‑ $ \e[1msudo sed -i 's/WOEID=.*/WOEID=<WOEID-code-of-yours>/'\e[21m \e[37m │\e[0m";
- echo -e "\e[37;41m│ \e[97m \e[1m/opt/cronograph_blk/yahooweather/forecasts.sh\e[21m \e[37m │\e[0m";
+ echo -e "\e[37;41m│ \e[97m appears at the right of the URL, next to the dash. Next, after the \e[37m │\e[0m";
+ echo -e "\e[37;41m│ \e[97m “crono” application has run once, use your favorite editor to edit \e[37m │\e[0m";
+ echo -e "\e[37;41m│ \e[97m the file \e[1m~/.config/cronograph_blk/cronorc\e[21m and change it properly. \e[37m │\e[0m";
echo -e "\e[37;41m│ \e[97m· If you live in a country that uses the imperial system of units then\e[37m │\e[0m";
echo -e "\e[37;41m│ \e[97m you have to enter the following two commands in the terminal so you \e[37m │\e[0m";
echo -e "\e[37;41m│ \e[97m can see, all objects display a temperature, in “fahrenheit” degree \e[37m │\e[0m";
@@ -65,6 +64,8 @@ post_upgrade() {
echo -e "\e[30;107m│ \e[47m I N S T R U C T I O N \e[30;107m │\e[0m";
echo -e "\e[30;107m│ · You can now run (if you want) in terminal the command: │\e[0m";
echo -e "\e[30;107m│ ‑ $ \e[1mstart_crono\e[21m │\e[0m";
+ echo -e "\e[30;107m│ · Use your favorite editor to edit the file: │\e[0m";
+ echo -e "\e[30;107m│ \e[1m~/.config/cronograph_blk/cronorc\e[21m and change it properly. │\e[0m";
echo -e "\e[30;107m└────────────────────────────────────────────────────────────────────────┘\e[0m";
echo ;
}