[arch-commits] Commit in deepin-editor/repos (2 files)

Felix Yan felixonmars at archlinux.org
Wed Apr 7 22:19:12 UTC 2021


    Date: Wednesday, April 7, 2021 @ 22:19:12
  Author: felixonmars
Revision: 912898

archrelease: copy trunk to community-testing-x86_64

Added:
  deepin-editor/repos/community-testing-x86_64/
  deepin-editor/repos/community-testing-x86_64/PKGBUILD
    (from rev 912897, deepin-editor/trunk/PKGBUILD)

----------+
 PKGBUILD |   30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)

Copied: deepin-editor/repos/community-testing-x86_64/PKGBUILD (from rev 912897, deepin-editor/trunk/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD	                        (rev 0)
+++ community-testing-x86_64/PKGBUILD	2021-04-07 22:19:12 UTC (rev 912898)
@@ -0,0 +1,30 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=deepin-editor
+pkgver=5.9.0.49
+pkgrel=1
+pkgdesc='Simple editor for Deepin'
+arch=('x86_64')
+url="https://github.com/linuxdeepin/deepin-editor"
+license=('GPL3')
+depends=('deepin-qt5integration' 'syntax-highlighting' 'kcodecs' 'polkit-qt5')
+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=('6263fea2a796af9a9966fdae1409591376788914a87d49b009d1a292244e09360ada0a92449e3e2e706fcc93ad6d99c0c6dc73c1251b6487a3ab763d04dc2d41')
+
+build(){
+  cd deepin-editor-$pkgver
+  cmake -GNinja -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release .
+  ninja
+}
+
+check() {
+  cd deepin-editor-$pkgver
+  ninja test
+}
+
+package() {
+  cd deepin-editor-$pkgver
+  DESTDIR="$pkgdir" ninja install
+}



More information about the arch-commits mailing list