diff options
author | chenjunyu19 | 2019-01-31 10:33:33 +0800 |
---|---|---|
committer | chenjunyu19 | 2019-01-31 10:33:33 +0800 |
commit | b7aa3ce70d97199c8f6eb942a60f798c53682a49 (patch) | |
tree | 3507862592d5ad783a8e08613a7770c4319ccaff | |
parent | 2d62672c916a7981344b5a582127ebd944b00c3f (diff) | |
download | aur-b7aa3ce70d97199c8f6eb942a60f798c53682a49.tar.gz |
update to r29.6043fd3-1
-rw-r--r-- | .SRCINFO | 6 | ||||
-rw-r--r-- | PKGBUILD | 7 | ||||
-rw-r--r-- | cmdu.pro.patch | 20 |
3 files changed, 28 insertions, 5 deletions
@@ -1,6 +1,6 @@ pkgbase = deepin-dock-plugin-cmdu-git pkgdesc = A plugin for deepin dock, display uptime, CPU usage, RAM usage and netspeed. - pkgver = r27.9cf01c0 + pkgver = r29.6043fd3 pkgrel = 1 url = https://github.com/sonichy/CMDU_DDE_DOCK arch = x86_64 @@ -8,8 +8,10 @@ pkgbase = deepin-dock-plugin-cmdu-git makedepends = qt5-base makedepends = qt5-svg depends = deepin-dock - source = git+https://github.com/sonichy/CMDU_DDE_DOCK.git#commit=9cf01c037ba29706bcdfeeced7ffa88d37d24af0 + source = git+https://github.com/sonichy/CMDU_DDE_DOCK.git#commit=6043fd37a3bd37accc22f68c3c967e6542ab8b1a + source = cmdu.pro.patch md5sums = SKIP + md5sums = a502d38d22dea27046f8dc0f380a22d5 pkgname = deepin-dock-plugin-cmdu-git @@ -1,15 +1,15 @@ # Maintainer: chenjunyu19 <1335546814@qq.com> pkgname=deepin-dock-plugin-cmdu-git -pkgver=r27.9cf01c0 +pkgver=r29.6043fd3 pkgrel=1 pkgdesc="A plugin for deepin dock, display uptime, CPU usage, RAM usage and netspeed." arch=('x86_64') url="https://github.com/sonichy/CMDU_DDE_DOCK" depends=('deepin-dock') makedepends=('git' 'qt5-base' 'qt5-svg') -source=("git+https://github.com/sonichy/CMDU_DDE_DOCK.git#commit=9cf01c037ba29706bcdfeeced7ffa88d37d24af0") -md5sums=('SKIP') +source=('git+https://github.com/sonichy/CMDU_DDE_DOCK.git#commit=6043fd37a3bd37accc22f68c3c967e6542ab8b1a' 'cmdu.pro.patch') +md5sums=('SKIP' 'a502d38d22dea27046f8dc0f380a22d5') _gitname=CMDU_DDE_DOCK pkgver() { @@ -18,6 +18,7 @@ pkgver() { } build() { + patch "$srcdir/$_gitname/cmdu.pro" cmdu.pro.patch qmake "$srcdir/$_gitname" make ${MAKEFLAGS} } diff --git a/cmdu.pro.patch b/cmdu.pro.patch new file mode 100644 index 000000000000..147c4d87389b --- /dev/null +++ b/cmdu.pro.patch @@ -0,0 +1,20 @@ +diff --git a/cmdu.pro b/cmdu.pro +index 061097d..aadf0d0 100644 +--- a/cmdu.pro ++++ b/cmdu.pro +@@ -1,4 +1,4 @@ +-QT += widgets ++QT += widgets svg + TEMPLATE = lib + CONFIG += plugin c++11 + +@@ -13,4 +13,7 @@ SOURCES += \ + cmduplugin.cpp \ + cmduwidget.cpp + +-RESOURCES += res.qrc +\ No newline at end of file ++RESOURCES += res.qrc ++ ++target.path = $${PREFIX}/lib/dde-dock/plugins/ ++INSTALLS += target |