[arch-commits] Commit in deepin-reader/repos/community-x86_64 (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Sat Jul 25 06:13:13 UTC 2020
Date: Saturday, July 25, 2020 @ 06:13:13
Author: felixonmars
Revision: 665237
archrelease: copy trunk to community-x86_64
Added:
deepin-reader/repos/community-x86_64/PKGBUILD
(from rev 665236, 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-25 06:12:56 UTC (rev 665236)
+++ PKGBUILD 2020-07-25 06:13:13 UTC (rev 665237)
@@ -1,37 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgname=deepin-reader
-pkgver=5.7.0.5
-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=('6bceee5c55f5cb20fca9666c61949801e3a8b43b412163b61e5b79f1da4062b643d120a4e7761d99bec71f41ef2e1bbce70a0024b5f3c0cd3f9665d4a3e84f5d')
-
-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 665236, deepin-reader/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-07-25 06:13:13 UTC (rev 665237)
@@ -0,0 +1,37 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=deepin-reader
+pkgver=5.7.0.6
+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=('c0dfad629d3094beee6c660c77ae33310e84d7c1e5d140a4ce40f152819b553851de4e72f911d8e3ad3f703c62262c7628709b5f90ae0ea474c5949981df3355')
+
+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