[arch-commits] Commit in deepin-draw/repos (2 files)
Antonio Rojas
arojas at archlinux.org
Tue May 26 18:54:50 UTC 2020
Date: Tuesday, May 26, 2020 @ 18:54:49
Author: arojas
Revision: 635159
archrelease: copy trunk to community-staging-x86_64
Added:
deepin-draw/repos/community-staging-x86_64/
deepin-draw/repos/community-staging-x86_64/PKGBUILD
(from rev 635158, deepin-draw/trunk/PKGBUILD)
----------+
PKGBUILD | 32 ++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)
Copied: deepin-draw/repos/community-staging-x86_64/PKGBUILD (from rev 635158, deepin-draw/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2020-05-26 18:54:49 UTC (rev 635159)
@@ -0,0 +1,32 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=deepin-draw
+pkgver=5.8.0.19
+pkgrel=2
+pkgdesc="A lightweight drawing tool for Linux Deepin"
+arch=('x86_64')
+url="https://github.com/linuxdeepin/deepin-draw"
+license=('GPL3')
+depends=('deepin-picker' 'deepin-qt5integration' 'freeimage' 'libexif' 'qt5-imageformats')
+makedepends=('qt5-tools')
+groups=('deepin-extra')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/linuxdeepin/deepin-draw/archive/$pkgver.tar.gz")
+sha512sums=('eed4b6935227dea466eb73e6e52756cfc01969f2947f5fb0de481c7049dfda427abcbc4e620df05dcba699b08c21a5e958b8435299859637405d498976f71d5e')
+
+prepare() {
+ cd deepin-draw-$pkgver
+ sed -i '/include <DGraphicsView>/i #include <QFileDevice>' frame/cgraphicsview.h
+ sed -i '/include <QPainter>/a #include <QMouseEvent>' widgets/ciconbutton.cpp
+}
+
+build() {
+ cd deepin-draw-$pkgver
+
+ qmake-qt5
+ make
+}
+
+package() {
+ cd deepin-draw-$pkgver
+ make INSTALL_ROOT="$pkgdir" install
+}
More information about the arch-commits
mailing list