[arch-commits] Commit in deepin-calendar/repos (2 files)
Felix Yan
felixonmars at archlinux.org
Wed Jun 10 09:11:59 UTC 2020
Date: Wednesday, June 10, 2020 @ 09:11:58
Author: felixonmars
Revision: 641243
archrelease: copy trunk to community-testing-x86_64
Added:
deepin-calendar/repos/community-testing-x86_64/
deepin-calendar/repos/community-testing-x86_64/PKGBUILD
(from rev 641242, deepin-calendar/trunk/PKGBUILD)
----------+
PKGBUILD | 36 ++++++++++++++++++++++++++++++++++++
1 file changed, 36 insertions(+)
Copied: deepin-calendar/repos/community-testing-x86_64/PKGBUILD (from rev 641242, deepin-calendar/trunk/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD (rev 0)
+++ community-testing-x86_64/PKGBUILD 2020-06-10 09:11:58 UTC (rev 641243)
@@ -0,0 +1,36 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Josip Ponjavic <josipponjavic at gmail dot com>
+# Contributor: Xu Fasheng <fasheng.xu[AT]gmail.com>
+
+pkgname=deepin-calendar
+pkgver=5.6.6
+pkgrel=1
+pkgdesc='Calendar for Deepin Desktop Environment'
+arch=('x86_64')
+url="https://github.com/linuxdeepin/dde-calendar"
+license=('GPL3')
+depends=('deepin-qt5integration')
+makedepends=('deepin-gettext-tools' 'qt5-tools')
+groups=('deepin')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/linuxdeepin/dde-calendar/archive/$pkgver.tar.gz")
+sha512sums=('bb5dd33774cc6cc8b06705edeb674370eac912b635d86840526ac6f60c46d5aa6bef57706f9c1a23d1a59abac87bf77f54638ff816dacb26568bb2ff9b94074a')
+
+prepare() {
+ cd dde-calendar-$pkgver
+ sed -i '/QMenuBar/a #include <QMouseEvent>' src/yearwindow.cpp
+ sed -i '/<QQueue>/a #include <QMouseEvent>' src/daymonthview.cpp
+ sed -i '/<QStylePainter>/a #include <QMouseEvent>' src/schcedulesearchview.cpp
+ sed -i '/include <QJsonObject>/a #include <QMouseEvent>' src/draginfographicsview.cpp
+ sed -i '/include <QPainter>/a #include <QPainterPath>' src/schcedulesearchview.cpp src/daymonthview.cpp src/weekheadview.cpp src/customframe.cpp
+}
+
+build() {
+ cd dde-calendar-$pkgver
+ qmake-qt5 PREFIX=/usr
+ make
+}
+
+package() {
+ cd dde-calendar-$pkgver
+ make INSTALL_ROOT="$pkgdir" install
+}
More information about the arch-commits
mailing list