[arch-commits] Commit in deepin-reader/repos/community-x86_64 (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Wed Jul 1 07:22:36 UTC 2020
Date: Wednesday, July 1, 2020 @ 07:22:34
Author: felixonmars
Revision: 657264
archrelease: copy trunk to community-x86_64
Added:
deepin-reader/repos/community-x86_64/PKGBUILD
(from rev 657263, 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-01 07:22:10 UTC (rev 657263)
+++ PKGBUILD 2020-07-01 07:22:34 UTC (rev 657264)
@@ -1,37 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgname=deepin-reader
-pkgver=5.6.12
-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=('c5c41845d259e9db31a9f841b8f26a2fce75def508fbb341b142c837afc8572076f9ad1db10531883a3ac14d8b4a1f6f8f3278c0a82f19b717e9539490b246f0')
-
-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 657263, deepin-reader/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-07-01 07:22:34 UTC (rev 657264)
@@ -0,0 +1,37 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=deepin-reader
+pkgver=5.6.14
+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=('eeed11fdac59edfbc61c26fe006c2049d8456fdbdfbc97879023a952a9a06936deed1fae12c51137bb6124d0e28f96d75913e4e0506d4046090219de49d2fd7f')
+
+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