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

Felix Yan felixonmars at archlinux.org
Mon Nov 2 10:21:46 UTC 2020


    Date: Monday, November 2, 2020 @ 10:21:46
  Author: felixonmars
Revision: 739355

archrelease: copy trunk to community-x86_64

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

----------+
 PKGBUILD |   80 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 40 insertions(+), 40 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-11-02 10:21:34 UTC (rev 739354)
+++ PKGBUILD	2020-11-02 10:21:46 UTC (rev 739355)
@@ -1,40 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgname=deepin-reader
-pkgver=5.7.0.30
-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=('cmake' 'qt5-tools')
-groups=('deepin-extra')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/linuxdeepin/deepin-reader/archive/$pkgver.tar.gz")
-sha512sums=('9fb29fd2ef88e74cac9ba54bcdfaafa5d0bc73ca541b21cd976512be7614e97bfbd8da36e60da1207d69129e3b665742909e9c90fd5abeed1cd555570ef0bc74')
-
-prepare() {
-  cd deepin-reader-$pkgver/src
-  sed -i '/#include <QDebug>/a #include <QPainterPath>' document/Model.h
-  sed -i '/include <QPainter>/a #include <QPainterPath>' app/Utils.cpp widgets/RoundColorWidget.cpp browser/BrowserMagniFier.cpp sidebar/bookmark/BookMarkDelegate.cpp \
-                                                         sidebar/thumbnail/ThumbnailDelegate.cpp document/DjVuModel.cpp sidebar/note/NoteViewWidget.cpp sidebar/note/NotesDelegate.cpp \
-                                                         sidebar/search/SearchResDelegate.cpp
-  sed -i '/include <QMap>/a #include <QSet>' uiframe/DocSheet.h
-  sed -i '/include <QLabel>/a #include <QMouseEvent>' browser/SheetBrowser.h
-  sed -i '/include <QDebug>/a #include <QMouseEvent>' sidebar/ImageListview.cpp
-  sed -i '/include <QDesktopWidget>/a #include <QMouseEvent>' widgets/SlideWidget.cpp
-
-  # https://github.com/linuxdeepin/deepin-reader/commit/3e0fde41a30705af2a91c97f49b6d03863483909#r42153891
-  sed -i 's/\$ \$/$$/' src.pro
-}
-
-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 739354, deepin-reader/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-11-02 10:21:46 UTC (rev 739355)
@@ -0,0 +1,40 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=deepin-reader
+pkgver=5.8.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=('cmake' 'qt5-tools')
+groups=('deepin-extra')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/linuxdeepin/deepin-reader/archive/$pkgver.tar.gz")
+sha512sums=('bde3ed93aa09b75aab02d038ca05c0cd1a033eb413be7ca7197ca025493803485cfda838138cf7c630d82d2c96d98e4ab6176c751ff78e12c3b8e6281c96afff')
+
+prepare() {
+  cd deepin-reader-$pkgver/src
+  sed -i '/#include <QDebug>/a #include <QPainterPath>' document/Model.h
+  sed -i '/include <QPainter>/a #include <QPainterPath>' app/Utils.cpp widgets/RoundColorWidget.cpp browser/BrowserMagniFier.cpp sidebar/bookmark/BookMarkDelegate.cpp \
+                                                         sidebar/thumbnail/ThumbnailDelegate.cpp document/DjVuModel.cpp sidebar/note/NoteViewWidget.cpp sidebar/note/NotesDelegate.cpp \
+                                                         sidebar/search/SearchResDelegate.cpp
+  sed -i '/include <QMap>/a #include <QSet>' uiframe/DocSheet.h
+  sed -i '/include <QLabel>/a #include <QMouseEvent>' browser/SheetBrowser.h
+  sed -i '/include <QDebug>/a #include <QMouseEvent>' sidebar/ImageListview.cpp
+  sed -i '/include <QDesktopWidget>/a #include <QMouseEvent>' widgets/SlideWidget.cpp
+
+  # https://github.com/linuxdeepin/deepin-reader/commit/3e0fde41a30705af2a91c97f49b6d03863483909#r42153891
+  sed -i 's/\$ \$/$$/' src.pro
+}
+
+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