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

Felix Yan felixonmars at archlinux.org
Fri Aug 14 06:34:24 UTC 2020


    Date: Friday, August 14, 2020 @ 06:34:24
  Author: felixonmars
Revision: 678310

archrelease: copy trunk to community-x86_64

Added:
  deepin-reader/repos/community-x86_64/PKGBUILD
    (from rev 678309, 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-14 06:34:12 UTC (rev 678309)
+++ PKGBUILD	2020-08-14 06:34:24 UTC (rev 678310)
@@ -1,44 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgname=deepin-reader
-pkgver=5.7.0.13
-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=('72184faf5efb0ef00e32c01fcc7c03cf9ba65de6d3d70dd7e4d45c5b060b12f87eb095d65e7b72f4c8bbaf29e2b7e5565d642ca263848582b0e09a22c0b903e2')
-
-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 678309, deepin-reader/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-08-14 06:34:24 UTC (rev 678310)
@@ -0,0 +1,44 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=deepin-reader
+pkgver=5.7.0.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=('cmake' 'qt5-tools')
+groups=('deepin-extra')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/linuxdeepin/deepin-reader/archive/$pkgver.tar.gz")
+sha512sums=('1173325aeaabd115f8edd4b023b19a960a25420f5afb6adb0c31a641e2d781d2ed2f02059740cee1ad4dc505765ed7ea8651925404d1c3304a299abcf6ea9271')
+
+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