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

Felix Yan felixonmars at archlinux.org
Mon Jun 15 06:24:13 UTC 2020


    Date: Monday, June 15, 2020 @ 06:24:13
  Author: felixonmars
Revision: 644769

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 644768, deepin-calendar/trunk/PKGBUILD)

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

Copied: deepin-calendar/repos/community-testing-x86_64/PKGBUILD (from rev 644768, deepin-calendar/trunk/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD	                        (rev 0)
+++ community-testing-x86_64/PKGBUILD	2020-06-15 06:24:13 UTC (rev 644769)
@@ -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.7
+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=('1cb587892ec079f60b666c1655ac5d3c30548d9e008cddfa51b5efdeb5ebf57514f9b70778d6c1e224e8e52a8db7065dcd7e01876a990897b6d28f09d90ae578')
+
+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