[arch-commits] Commit in deepin-clipboard/repos (2 files)

Antonio Rojas arojas at archlinux.org
Thu Nov 19 20:58:26 UTC 2020


    Date: Thursday, November 19, 2020 @ 20:58:26
  Author: arojas
Revision: 757752

archrelease: copy trunk to community-staging-x86_64

Added:
  deepin-clipboard/repos/community-staging-x86_64/
  deepin-clipboard/repos/community-staging-x86_64/PKGBUILD
    (from rev 757751, deepin-clipboard/trunk/PKGBUILD)

----------+
 PKGBUILD |   31 +++++++++++++++++++++++++++++++
 1 file changed, 31 insertions(+)

Copied: deepin-clipboard/repos/community-staging-x86_64/PKGBUILD (from rev 757751, deepin-clipboard/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2020-11-19 20:58:26 UTC (rev 757752)
@@ -0,0 +1,31 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=deepin-clipboard
+pkgver=5.3.0.5
+pkgrel=2
+pkgdesc='DDE clipboard manager component'
+arch=('x86_64')
+url="https://github.com/linuxdeepin/dde-clipboard"
+license=('GPL3')
+depends=('deepin-qt5integration' 'gio-qt')
+makedepends=('qt5-tools')
+groups=('deepin-extra')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/linuxdeepin/dde-clipboard/archive/$pkgver.tar.gz")
+sha512sums=('7f86a848b78f82ac151c7d314b34433950f923bfd955b1024dbf01b25f895d67b42286ef54e1fb3b62b73ed0d0efd0785cb56a71ac1f571c0293dd039081c9d2')
+
+prepare() {
+  cd dde-clipboard-$pkgver
+  sed -i '/include <QPainter>/a #include <QPainterPath>' dde-clipboard/pixmaplabel.cpp dde-clipboard/itemwidget.cpp
+  sed -i '$aOnlyShowIn=Deepin' dde-clipboard/dde-clipboard.desktop
+}
+
+build() {
+  cd dde-clipboard-$pkgver
+  qmake-qt5 PREFIX=/usr
+  make
+}
+
+package() {
+  cd dde-clipboard-$pkgver
+  make INSTALL_ROOT="$pkgdir" install
+}



More information about the arch-commits mailing list