Date: Monday, February 13, 2023 @ 02:52:03
  Author: felixonmars
Revision: 1400313

upgpkg: dtkgui 1:5.6.5-1

Modified:
  dtkgui/trunk/PKGBUILD

----------+
 PKGBUILD |   15 ++++++++-------
 1 file changed, 8 insertions(+), 7 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2023-02-13 02:50:58 UTC (rev 1400312)
+++ PKGBUILD    2023-02-13 02:52:03 UTC (rev 1400313)
@@ -1,7 +1,8 @@
 # Maintainer: Felix Yan <[email protected]>
 
 pkgname=dtkgui
-pkgver=5.6.4
+pkgver=5.6.5
+_commit=78cb5939ea2f5838aacf49c23387b4acbdbb8844
 pkgrel=1
 epoch=1
 pkgdesc='Deepin Toolkit, gui module for DDE look and feel'
@@ -8,13 +9,13 @@
 arch=('x86_64')
 url="https://github.com/linuxdeepin/dtkgui";
 license=('LGPL3')
-depends=('dtkcore' 'freeimage' 'libqtxdg' 'librsvg')
-makedepends=('cmake' 'ninja' 'qt5-tools' 'gtest' 'doxygen')
-source=("https://github.com/linuxdeepin/dtkgui/archive/$pkgver/$pkgname-$pkgver.tar.gz";)
-sha512sums=('831203b90561a384b33d438bf6d7c35d04fde354510709a429f34b6277fbeb22f05b1902a3b259209f375fccf7d965aa7ae9f5d9f40837b217bf12cc21c9ae6c')
+depends=('dtkcore' 'freeimage' 'libraw' 'libqtxdg' 'librsvg')
+makedepends=('git' 'cmake' 'ninja' 'qt5-tools' 'gtest' 'doxygen')
+source=("git+https://github.com/linuxdeepin/dtkgui.git#commit=$_commit";)
+sha512sums=('SKIP')
 
 build() {
-  cd dtkgui-$pkgver
+  cd dtkgui
   cmake . -GNinja \
     -DMKSPECS_INSTALL_DIR=lib/qt/mkspecs/modules/ \
     -DBUILD_DOCS=ON \
@@ -26,6 +27,6 @@
 }
 
 package() {
-  cd dtkgui-$pkgver
+  cd dtkgui
   DESTDIR="$pkgdir" ninja install
 }

Reply via email to