Package Details: conky-colors-git 20160428.r157.df2bb4b-2

Git Clone URL: https://aur.archlinux.org/conky-colors-git.git (read-only)
Package Base: conky-colors-git
Description: An easier way to configure Conky
Upstream URL: https://github.com/helmuthdu/conky_colors
Licenses: GPL3
Conflicts: conky-colors
Provides: conky-colors
Submitter: prurigro
Maintainer: prurigro
Last Packager: prurigro
Votes: 17
Popularity: 1.278806
First Submitted: 2015-09-10 22:24
Last Updated: 2017-03-30 21:57

Latest Comments

A.Shukaev commented on 2017-04-02 21:09

Thank you, Sir! GJ!

prurigro commented on 2017-03-30 21:58

@A.Shukaev: Sorry about that, I hadn't noticed your original comment- I've pulled in your patch and added you to the contributor list. Thanks!

A.Shukaev commented on 2017-03-30 21:49

The last change you did is not sufficient. Please, incorporate the complete patch below.

A.Shukaev commented on 2017-03-19 21:48

There was actually one more issue with symbolic links, so the latest patch looks as follows:

diff --git a/PKGBUILD b/PKGBUILD
index 95983aa..04f0439 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,13 +2,13 @@

_pkgname=conky-colors
pkgname=$_pkgname-git
-pkgver=20150806.r148.3980575
+pkgver=20160428.r157.df2bb4b
pkgrel=1
pkgdesc='An easier way to configure Conky'
url='https://github.com/helmuthdu/conky_colors'
license=('GPL3')
arch=('armv6h' 'armv7h' 'arm' 'i686' 'x86_64')
-depends=('python' 'conky' 'pystatgrab' 'python2-keyring' 'ttf-ubuntu-font-family' 'hddtemp' 'curl' 'lm_sensors')
+depends=('python' 'conky' 'pystatgrab' 'python2-keyring' 'ttf-liberation' 'ttf-ubuntu-font-family' 'hddtemp' 'curl' 'lm_sensors')
provides=("$_pkgname")
conflicts=("$_pkgname")
source=("git+$url.git")
@@ -22,17 +22,17 @@ pkgver() {

prepare() {
cd ${_pkgname/-/_}
- sed -i 's|\(ln -[^ ]* \)\$(DESTDIR)|\1/usr|;s|\$(DESTDIR)/bin|\$(DESTDIR)/usr/bin|' Makefile
+ sed -i 's|\(ln\s\+-\S\+\s\+\)\$(DESTDIR)|\1|' Makefile
+ sed -i 's|\(PREFIX\s*\):\?=|\1?=|' Makefile
}

build() {
cd ${_pkgname/-/_}
- make
+ make PREFIX='/usr'
}

package() {
cd ${_pkgname/-/_}
install -dm755 "$pkgdir"/usr/bin
- make DESTDIR="$pkgdir" install
+ make DESTDIR="$pkgdir" PREFIX='/usr' install
}
-

A.Shukaev commented on 2017-03-19 18:02

Please, apply the following patch:

diff --git a/PKGBUILD b/PKGBUILD
index 95983aa..b74a9cb 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,13 +2,13 @@

_pkgname=conky-colors
pkgname=$_pkgname-git
-pkgver=20150806.r148.3980575
+pkgver=20160428.r157.df2bb4b
pkgrel=1
pkgdesc='An easier way to configure Conky'
url='https://github.com/helmuthdu/conky_colors'
license=('GPL3')
arch=('armv6h' 'armv7h' 'arm' 'i686' 'x86_64')
-depends=('python' 'conky' 'pystatgrab' 'python2-keyring' 'ttf-ubuntu-font-family' 'hddtemp' 'curl' 'lm_sensors')
+depends=('python' 'conky' 'pystatgrab' 'python2-keyring' 'ttf-liberation' 'ttf-ubuntu-font-family' 'hddtemp' 'curl' 'lm_sensors')
provides=("$_pkgname")
conflicts=("$_pkgname")
source=("git+$url.git")
@@ -33,6 +33,5 @@ build() {
package() {
cd ${_pkgname/-/_}
install -dm755 "$pkgdir"/usr/bin
- make DESTDIR="$pkgdir" install
+ make DESTDIR="$pkgdir" PREFIX='/usr' install
}
-

1. Liberation fonts are explicitly used in generated configurations;
2. Unless 'ConkyColors*' fonts are installed under '/usr/share/fonts/conkycolors/' (rather than '/usr/local/share/fonts/conkycolors/'), they won't be found by font cache and therefore will not function properly. That is either more configuration is required to make fonts under '/usr/local/share/fonts/' visible to font cache or install prefix should be set to '/usr'. Keep in mind, in general, packages coming from either Arch Linux official repositories or AUR should NOT install anything to '/usr/local' anyway.

sad270 commented on 2015-10-14 13:20

Hi,
need conkyforecast (AUR package) for weather
need python2-dbus for the media-player and edit ~/.conkycolors/templates/conkyPlayer.template replace ${if_running clementine} by ${if_match "${exec pidof clementine}" != ""}