[arch-commits] Commit in deepin-calendar/repos/community-x86_64 (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Tue Jul 28 19:23:47 UTC 2020
Date: Tuesday, July 28, 2020 @ 19:23:46
Author: felixonmars
Revision: 665697
archrelease: copy trunk to community-x86_64
Added:
deepin-calendar/repos/community-x86_64/PKGBUILD
(from rev 665696, deepin-calendar/trunk/PKGBUILD)
Deleted:
deepin-calendar/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 74 +++++++++++++++++++++++++++++++------------------------------
1 file changed, 38 insertions(+), 36 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-07-28 19:23:33 UTC (rev 665696)
+++ PKGBUILD 2020-07-28 19:23:46 UTC (rev 665697)
@@ -1,36 +0,0 @@
-# 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.7.0.3
-pkgrel=1
-pkgdesc='Calendar for Deepin Desktop Environment'
-arch=('x86_64')
-url="https://github.com/linuxdeepin/dde-calendar"
-license=('GPL3')
-depends=('deepin-qt5integration')
-makedepends=('cmake' 'qt5-tools')
-groups=('deepin')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/linuxdeepin/dde-calendar/archive/$pkgver.tar.gz")
-sha512sums=('71e6d3973c6ad9f154b13993c269c16d74c04e626d13e61937cc703e7795afc9628fd37fbc3350babf733c39447dc85d59fd55816a828ecd56d6827542f71c8d')
-
-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
- cmake -DCMAKE_INSTALL_PREFIX=/usr .
- make
-}
-
-package() {
- cd dde-calendar-$pkgver
- make DESTDIR="$pkgdir" install
-}
Copied: deepin-calendar/repos/community-x86_64/PKGBUILD (from rev 665696, deepin-calendar/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-07-28 19:23:46 UTC (rev 665697)
@@ -0,0 +1,38 @@
+# 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.7.0.4
+pkgrel=1
+pkgdesc='Calendar for Deepin Desktop Environment'
+arch=('x86_64')
+url="https://github.com/linuxdeepin/dde-calendar"
+license=('GPL3')
+depends=('deepin-qt5integration')
+makedepends=('cmake' 'ninja' 'qt5-tools')
+groups=('deepin')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/linuxdeepin/dde-calendar/archive/$pkgver.tar.gz")
+sha512sums=('5102c1298dc7395b741729041fed26cf6012c5235c67b5bbac2c90afbbd2a806d0f290a44afa3c59a4da9cf9f088281bd1f348a64208ac53e64312dcc27cff03')
+
+prepare() {
+ cd dde-calendar-$pkgver
+ 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
+
+ # Not included in https://github.com/linuxdeepin/dde-calendar/pull/30 yet
+ sed -i '/include <QPainter>/a #include <QPainterPath>' src/schcedulesearchview.cpp src/daymonthview.cpp src/weekheadview.cpp src/customframe.cpp
+ sed -i '/include <QMessageBox>/a #include <QWheelEvent>' src/yearwindow.cpp
+}
+
+build() {
+ cd dde-calendar-$pkgver
+ cmake -GNinja -DCMAKE_INSTALL_PREFIX=/usr .
+ ninja
+}
+
+package() {
+ cd dde-calendar-$pkgver
+ DESTDIR="$pkgdir" ninja install
+}
More information about the arch-commits
mailing list