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

Felix Yan felixonmars at archlinux.org
Sat Aug 1 05:39:02 UTC 2020


    Date: Saturday, August 1, 2020 @ 05:39:01
  Author: felixonmars
Revision: 667235

archrelease: copy trunk to community-x86_64

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

----------+
 PKGBUILD |   88 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 44 insertions(+), 44 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-08-01 05:38:46 UTC (rev 667234)
+++ PKGBUILD	2020-08-01 05:39:01 UTC (rev 667235)
@@ -1,44 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgname=deepin-reader
-pkgver=5.7.0.10
-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=('a6e83e0e531ff05955c1e855ccdf2fd0bc6d020c7c02cefe7cb8f3273130031d5cd375b3f4acc46678e962265bfaecf903d307c30a889b7c37e9f5138e881445')
-
-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 <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
-
-  # What the bloody hell is going on here...
-  cd "$pkgdir"/usr/lib
-  rm libdpoppler-qt.so{,.1} libdpoppler.so{,.100}
-  ln -s libdpoppler-qt.so.* libdpoppler-qt.so.1
-  ln -s libdpoppler-qt.so.1 libdpoppler-qt.so
-  ln -s libdpoppler.so.* libdpoppler.so.100
-  ln -s libdpoppler.so.100 libdpoppler.so
-}

Copied: deepin-reader/repos/community-x86_64/PKGBUILD (from rev 667234, deepin-reader/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-08-01 05:39:01 UTC (rev 667235)
@@ -0,0 +1,44 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=deepin-reader
+pkgver=5.7.0.11
+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=('ecacc8696dda19346c1ac36eb650cea57514bcb83e697dd346f1113bab813de19b0460c6edc4070b2be7d5e4fc08244ac21223c1520bd033d6a07b3840858e15')
+
+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 <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
+
+  # What the bloody hell is going on here...
+  cd "$pkgdir"/usr/lib
+  rm libdpoppler-qt.so{,.1} libdpoppler.so{,.100}
+  ln -s libdpoppler-qt.so.* libdpoppler-qt.so.1
+  ln -s libdpoppler-qt.so.1 libdpoppler-qt.so
+  ln -s libdpoppler.so.* libdpoppler.so.100
+  ln -s libdpoppler.so.100 libdpoppler.so
+}


More information about the arch-commits mailing list