Felix Yan pushed to branch main at Arch Linux / Packaging / Packages / 
deepin-editor


Commits:
41e4d5cb by Felix Yan at 2023-08-10T03:28:17+03:00
upgpkg: 6.0.10-1

- - - - -


1 changed file:

- PKGBUILD


Changes:

=====================================
PKGBUILD
=====================================
@@ -1,32 +1,33 @@
 # Maintainer: Felix Yan <[email protected]>
 
 pkgname=deepin-editor
-pkgver=6.0.3
-_commit=0b1867ecafb4da3bd9b41819f7ff49095ed2bc73
+pkgver=6.0.10
 pkgrel=1
 pkgdesc='Simple editor for Deepin'
 arch=('x86_64')
 url="https://github.com/linuxdeepin/deepin-editor";
 license=('GPL3')
-depends=('deepin-qt5integration' 'deepin-qt-dbus-factory' 'kcodecs' 
'polkit-qt5'
-         'syntax-highlighting' 'libchardet' 'uchardet')
+depends=('deepin-qt5integration' 'dtkcore' 'dtkgui' 'dtkwidget' 
'deepin-qt-dbus-factory'
+         'gcc-libs' 'icu' 'qt5-base' 'qt5-svg'
+         'kcodecs' 'syntax-highlighting' 'libchardet' 'uchardet')
 makedepends=('git' 'cmake' 'gmock' 'gtest' 'ninja' 'qt5-tools')
 groups=('deepin-extra')
-source=("git+https://github.com/linuxdeepin/deepin-editor.git#commit=$_commit";)
-sha512sums=('SKIP')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/linuxdeepin/deepin-editor/archive/refs/tags/$pkgver.tar.gz";)
+sha512sums=('f3d41a69cc800c07de0efb243b3d72fa9cb38b71853bfc347e88180c9651c0b097c686835097f688df7f0b383bfad53cc723b667bc07ac89c313a6df07976fa4')
 
 build() {
-  cd deepin-editor
-  cmake -GNinja -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release .
+  cd deepin-editor-$pkgver
+  cmake -GNinja -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release 
-DVERSION=$pkgver .
   ninja
 }
 
 check() {
-  cd deepin-editor
-  ninja test || echo "Tests failed"
+  cd deepin-editor-$pkgver
+  # Tests not available unless in debug mode
+  #ninja test || echo "Tests failed"
 }
 
 package() {
-  cd deepin-editor
+  cd deepin-editor-$pkgver
   DESTDIR="$pkgdir" ninja install
 }



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/deepin-editor/-/commit/41e4d5cb881e893db44fade48953b142991e447f

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/deepin-editor/-/commit/41e4d5cb881e893db44fade48953b142991e447f
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to