[arch-commits] Commit in deepin-reader/repos/community-x86_64 (PKGBUILD PKGBUILD)

Felix Yan felixonmars at archlinux.org
Mon Jul 6 10:38:19 UTC 2020


    Date: Monday, July 6, 2020 @ 10:38:18
  Author: felixonmars
Revision: 657961

archrelease: copy trunk to community-x86_64

Added:
  deepin-reader/repos/community-x86_64/PKGBUILD
    (from rev 657960, deepin-reader/trunk/PKGBUILD)
Deleted:
  deepin-reader/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |   74 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 37 insertions(+), 37 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-07-06 10:37:51 UTC (rev 657960)
+++ PKGBUILD	2020-07-06 10:38:18 UTC (rev 657961)
@@ -1,37 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgname=deepin-reader
-pkgver=5.6.15
-pkgrel=1
-pkgdesc='A simple PDF reader, supporting bookmarks, highlights and annotations'
-arch=('x86_64')
-url="https://github.com/linuxdeepin/deepin-reader"
-license=('GPL3')
-depends=('deepin-qt5integration' 'djvulibre' 'karchive' 'libspectre' 'poppler-qt5')
-makedepends=('qt5-tools')
-groups=('deepin-extra')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/linuxdeepin/deepin-reader/archive/$pkgver.tar.gz")
-sha512sums=('db8736df551ecceb4a5b128790a247448cb63e4b913f0fd4034a50c3b77f485851ee3b604d5cee20cf14774b03c22524ba8b1052bfa76ab38134222a07eeca60')
-
-prepare() {
-  cd deepin-reader-$pkgver/src
-  sed -i '/include <QMetaType>/a #include <QRectF>' pdfControl/docview/commonstruct.h
-  sed -i '/include <QPainter>/a #include <QPainterPath>' CustomControl/RoundColorWidget.cpp lpreviewControl/bookmark/bookmarkdelegate.cpp \
-                                                         utils/utils.cpp lpreviewControl/thumbnail/ThumbnailDelegate.cpp lpreviewControl/note/notesdelegate.cpp \
-                                                         lpreviewControl/search/searchresdelegate.cpp
-  sed -i '/include <QRect>/a #include <QPainterPath>' document/model.h
-  sed -i '/include <QMap>/a #include <QSet>' uiframe/DocSheet.h
-  sed -i '/include <QBitmap>/a #include <QMouseEvent>' djvuControl/SheetBrowserDJVU.cpp
-  sed -i '/include <QDesktopWidget>/a #include <QMouseEvent>' widgets/SlideWidget.cpp
-}
-
-build() {
-  cd deepin-reader-$pkgver
-  qmake-qt5 PREFIX=/usr
-  make
-}
-
-package() {
-  cd deepin-reader-$pkgver
-  make INSTALL_ROOT="$pkgdir" install
-}

Copied: deepin-reader/repos/community-x86_64/PKGBUILD (from rev 657960, deepin-reader/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-07-06 10:38:18 UTC (rev 657961)
@@ -0,0 +1,37 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=deepin-reader
+pkgver=5.7.0.1
+pkgrel=1
+pkgdesc='A simple PDF reader, supporting bookmarks, highlights and annotations'
+arch=('x86_64')
+url="https://github.com/linuxdeepin/deepin-reader"
+license=('GPL3')
+depends=('deepin-qt5integration' 'djvulibre' 'karchive' 'libspectre' 'poppler-qt5')
+makedepends=('qt5-tools')
+groups=('deepin-extra')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/linuxdeepin/deepin-reader/archive/$pkgver.tar.gz")
+sha512sums=('a334fce993a446f655de70ed3731e35d08d27e046941829dcff8b7929c404b02cb0668fb124c5b483f3ca06d7eba4b350f1fbc84133f8d0c6ab973f14d123971')
+
+prepare() {
+  cd deepin-reader-$pkgver/src
+  sed -i '/include <QMetaType>/a #include <QRectF>' pdfControl/docview/commonstruct.h
+  sed -i '/include <QPainter>/a #include <QPainterPath>' CustomControl/RoundColorWidget.cpp lpreviewControl/bookmark/bookmarkdelegate.cpp \
+                                                         utils/utils.cpp lpreviewControl/thumbnail/ThumbnailDelegate.cpp lpreviewControl/note/notesdelegate.cpp \
+                                                         lpreviewControl/search/searchresdelegate.cpp
+  sed -i '/include <QRect>/a #include <QPainterPath>' document/model.h
+  sed -i '/include <QMap>/a #include <QSet>' uiframe/DocSheet.h
+  sed -i '/include <QBitmap>/a #include <QMouseEvent>' djvuControl/SheetBrowserDJVU.cpp
+  sed -i '/include <QDesktopWidget>/a #include <QMouseEvent>' widgets/SlideWidget.cpp
+}
+
+build() {
+  cd deepin-reader-$pkgver
+  qmake-qt5 PREFIX=/usr
+  make
+}
+
+package() {
+  cd deepin-reader-$pkgver
+  make INSTALL_ROOT="$pkgdir" install
+}


More information about the arch-commits mailing list