Date: Friday, July 31, 2020 @ 08:58:09
  Author: felixonmars
Revision: 666134

archrelease: copy trunk to community-x86_64

Added:
  deepin-reader/repos/community-x86_64/PKGBUILD
    (from rev 666133, 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-07-31 08:57:54 UTC (rev 666133)
+++ PKGBUILD    2020-07-31 08:58:09 UTC (rev 666134)
@@ -1,44 +0,0 @@
-# Maintainer: Felix Yan <felixonm...@archlinux.org>
-
-pkgname=deepin-reader
-pkgver=5.7.0.9
-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=('e33c61032a70ca7f0e5dc82c0f3152ce44e9c34d7a65f535558fdf8a76a4743923e5135011eed2da479a5c7752f393c733f6f31dbf8a45c5796725aee61b84de')
-
-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 666133, 
deepin-reader/trunk/PKGBUILD)
===================================================================
--- PKGBUILD                            (rev 0)
+++ PKGBUILD    2020-07-31 08:58:09 UTC (rev 666134)
@@ -0,0 +1,44 @@
+# Maintainer: Felix Yan <felixonm...@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
+}

Reply via email to