diff --git a/PKGBUILD b/PKGBUILD index accc9b1..8607228 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -4,9 +4,9 @@ pkgname=kdeplasma-applets-pytextmonitor _pkgname=py-text-monitor pkgver=1.3.4 -pkgrel=3 +pkgrel=4 _dtengine=ext-sysmon -_dtver=1.1 +_dtver=1.2 pkgdesc="Minimalistic Plasmoid script written on Python2. It looks like widgets in awesome-wm" arch=(any) url="https://github.com/arcan1s/pytextmonitor" @@ -16,10 +16,11 @@ optdepends=('hddtemp: for HDD temperature monitor' 'catalyst: for GPU monitor' 'nvidia-utils: for GPU monitor') makedepends=('unzip' 'cmake' 'automoc4') -source=(https://github.com/arcan1s/pytextmonitor/releases/download/V.1.3.4/${_pkgname}-${pkgver}.plasmoid - https://github.com/arcan1s/pytextmonitor/releases/download/V.1.3.4/${_dtengine}-${_dtver}.zip) +source=(https://github.com/arcan1s/pytextmonitor/releases/download/V.${pkgver}/${_pkgname}-${pkgver}.plasmoid + https://github.com/arcan1s/pytextmonitor/releases/download/V.${pkgver}/${_dtengine}-${_dtver}.zip) +install=${pkgname}.install md5sums=('cdc55960177a07b52ab0a2713f5df212' - '0c5580c99d70221cf58d600e0a0db5de') + 'eab8d084bad5bd6791005ccc93a46676') build () { diff --git a/ext-sysmon-1.1.zip b/ext-sysmon-1.1.zip deleted file mode 100644 index 5a6d550..0000000 Binary files a/ext-sysmon-1.1.zip and /dev/null differ diff --git a/ext-sysmon-1.2.zip b/ext-sysmon-1.2.zip new file mode 100644 index 0000000..6950fd2 Binary files /dev/null and b/ext-sysmon-1.2.zip differ diff --git a/ext-sysmon/extsysmon.cpp b/ext-sysmon/extsysmon.cpp index a8a9b24..d79c5be 100644 --- a/ext-sysmon/extsysmon.cpp +++ b/ext-sysmon/extsysmon.cpp @@ -10,7 +10,7 @@ ExtendedSysMon::ExtendedSysMon(QObject* parent, const QVariantList& args) { Q_UNUSED(args) - QLocale::setDefault(QLocale::C); +// QLocale::setDefault(QLocale::C); setlocale (LC_ALL, "C"); setMinimumPollingInterval(333); diff --git a/ext-sysmon/plasma-engine-extsysmon.desktop b/ext-sysmon/plasma-engine-extsysmon.desktop index c57609e..31f1d64 100644 --- a/ext-sysmon/plasma-engine-extsysmon.desktop +++ b/ext-sysmon/plasma-engine-extsysmon.desktop @@ -12,7 +12,7 @@ X-Plasma-EngineName=ext-sysmon X-KDE-PluginInfo-Author=Evgeniy Alexeev aka arcanis X-KDE-PluginInfo-Email=esalexeev@gmail.com X-KDE-PluginInfo-Name=ext-sysmon -X-KDE-PluginInfo-Version=1.1 +X-KDE-PluginInfo-Version=1.2 X-KDE-PluginInfo-Category=System Information X-KDE-PluginInfo-Depends= X-KDE-PluginInfo-License=GPL diff --git a/kdeplasma-applets-pytextmonitor.install b/kdeplasma-applets-pytextmonitor.install new file mode 100644 index 0000000..d7ee1f1 --- /dev/null +++ b/kdeplasma-applets-pytextmonitor.install @@ -0,0 +1,23 @@ +post_install() +{ + cat << EOF +Update plasmoids... +EOF + kbuildsycoca4 > /dev/null 2>&1 +} + +post_upgrade() +{ + cat << EOF +Update plasmoids... +EOF + kbuildsycoca4 > /dev/null 2>&1 +} + +post_remove() +{ + cat << EOF +Update plasmoids... +EOF + kbuildsycoca4 > /dev/null 2>&1 +}