Date: Wednesday, March 1, 2023 @ 10:38:11
Author: felixonmars
Revision: 1405891
archrelease: copy trunk to community-x86_64
Added:
deepin-editor/repos/community-x86_64/PKGBUILD
(from rev 1405890, deepin-editor/trunk/PKGBUILD)
Deleted:
deepin-editor/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 62 +++++++++++++++++++++++++++++++------------------------------
1 file changed, 32 insertions(+), 30 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2023-03-01 10:37:58 UTC (rev 1405890)
+++ PKGBUILD 2023-03-01 10:38:11 UTC (rev 1405891)
@@ -1,30 +0,0 @@
-# Maintainer: Felix Yan <[email protected]>
-
-pkgname=deepin-editor
-pkgver=5.10.42
-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')
-groups=('deepin-extra')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/linuxdeepin/deepin-editor/archive/$pkgver.tar.gz")
-sha512sums=('23330f2f7ae9e6809adb464b6e0a58de4be369cb07cf962c1e36ab346aa3282dc69e0dd1009952f7196ad6177d94dc5db5188e308865e5bbbc8bf28a0f5d96ba')
-
-build() {
- cd deepin-editor-$pkgver
- cmake -GNinja -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release .
- ninja
-}
-
-check() {
- cd deepin-editor-$pkgver
- ninja test || echo "Tests failed"
-}
-
-package() {
- cd deepin-editor-$pkgver
- DESTDIR="$pkgdir" ninja install
-}
Copied: deepin-editor/repos/community-x86_64/PKGBUILD (from rev 1405890,
deepin-editor/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2023-03-01 10:38:11 UTC (rev 1405891)
@@ -0,0 +1,32 @@
+# Maintainer: Felix Yan <[email protected]>
+
+pkgname=deepin-editor
+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' 'deepin-qt-dbus-factory' 'kcodecs'
'polkit-qt5'
+ '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')
+
+build() {
+ cd deepin-editor
+ cmake -GNinja -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release .
+ ninja
+}
+
+check() {
+ cd deepin-editor
+ ninja test || echo "Tests failed"
+}
+
+package() {
+ cd deepin-editor
+ DESTDIR="$pkgdir" ninja install
+}