[arch-commits] Commit in deepin-reader/repos/community-x86_64 (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Fri Jul 24 13:18:56 UTC 2020
Date: Friday, July 24, 2020 @ 13:18:55
Author: felixonmars
Revision: 665159
archrelease: copy trunk to community-x86_64
Added:
deepin-reader/repos/community-x86_64/PKGBUILD
(from rev 665158, 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-24 13:18:39 UTC (rev 665158)
+++ PKGBUILD 2020-07-24 13:18:55 UTC (rev 665159)
@@ -1,37 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgname=deepin-reader
-pkgver=5.7.0.3
-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=('97502c85f2f14f10f4c74f291c530d460bae24ef7f664d6ecda36ddb90becf9fe818a19aaa1696ad84a186de444bfa1e1dd39b0e11d075378276a0890f24741f')
-
-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 665158, deepin-reader/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-07-24 13:18:55 UTC (rev 665159)
@@ -0,0 +1,37 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=deepin-reader
+pkgver=5.7.0.4
+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=('6fa228c099081aa98e6ff01e768ee6c6fedecbc5cb65a75c0c981b4488d2f9321c0e45e82f5b3e7a364d6bbfb74d88d59a16435e3d88de1221ae9fc5645f3d4c')
+
+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