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

Antonio Rojas arojas at archlinux.org
Wed Sep 9 11:18:35 UTC 2020


    Date: Wednesday, September 9, 2020 @ 11:18:34
  Author: arojas
Revision: 701561

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 701560, deepin-clipboard/trunk/PKGBUILD)

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

Copied: deepin-clipboard/repos/community-staging-x86_64/PKGBUILD (from rev 701560, deepin-clipboard/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2020-09-09 11:18:34 UTC (rev 701561)
@@ -0,0 +1,31 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=deepin-clipboard
+pkgver=5.3.0.2
+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=('ea6318f2f96d43c8ed5f0e52eb2005ca57d0ab9bb40aee4ca3bf02938c16afb3efee78cc8fd65ad6080c81998d480d7ee373d26ce7e2e5b8aeabf8c659c069cf')
+
+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