Date: Wednesday, March 1, 2023 @ 10:37:58
  Author: felixonmars
Revision: 1405890

upgpkg: deepin-editor 6.0.0-1

Modified:
  deepin-editor/trunk/PKGBUILD

----------+
 PKGBUILD |   18 ++++++++++--------
 1 file changed, 10 insertions(+), 8 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2023-03-01 10:37:45 UTC (rev 1405889)
+++ PKGBUILD    2023-03-01 10:37:58 UTC (rev 1405890)
@@ -1,30 +1,32 @@
 # Maintainer: Felix Yan <felixonm...@archlinux.org>
 
 pkgname=deepin-editor
-pkgver=5.10.42
+pkgver=6.0.0
+_commit=f62dcb6a33c489bd8a9e577e4aa683bcbebf4cc8
 pkgrel=1
 pkgdesc='Simple editor for Deepin'
 arch=('x86_64')
 url="https://github.com/linuxdeepin/deepin-editor";
 license=('GPL3')
-depends=('deepin-qt5integration' 'kcodecs' 'polkit-qt5' 'syntax-highlighting' 
'libchardet' 'uchardet')
-makedepends=('cmake' 'gmock' 'gtest' 'ninja' 'qt5-tools')
+depends=('deepin-qt5integration' 'deepin-qt-dbus-factory' 'kcodecs' 
'polkit-qt5'
+         'syntax-highlighting' 'libchardet' 'uchardet')
+makedepends=('git' 'cmake' 'gmock' 'gtest' 'ninja' 'qt5-tools')
 groups=('deepin-extra')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/linuxdeepin/deepin-editor/archive/$pkgver.tar.gz";)
-sha512sums=('23330f2f7ae9e6809adb464b6e0a58de4be369cb07cf962c1e36ab346aa3282dc69e0dd1009952f7196ad6177d94dc5db5188e308865e5bbbc8bf28a0f5d96ba')
+source=("git+https://github.com/linuxdeepin/deepin-editor.git#commit=$_commit";)
+sha512sums=('SKIP')
 
 build() {
-  cd deepin-editor-$pkgver
+  cd deepin-editor
   cmake -GNinja -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release .
   ninja
 }
 
 check() {
-  cd deepin-editor-$pkgver
+  cd deepin-editor
   ninja test || echo "Tests failed"
 }
 
 package() {
-  cd deepin-editor-$pkgver
+  cd deepin-editor
   DESTDIR="$pkgdir" ninja install
 }

Reply via email to