[arch-commits] Commit in (4 files)

Felix Yan felixonmars at archlinux.org
Mon Jun 15 12:48:58 UTC 2020


    Date: Monday, June 15, 2020 @ 12:48:56
  Author: felixonmars
Revision: 645082

addpkg: deepin-clipboard 5.0.0.3-1

Added:
  deepin-clipboard/
  deepin-clipboard/repos/
  deepin-clipboard/trunk/
  deepin-clipboard/trunk/PKGBUILD

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

Added: deepin-clipboard/trunk/PKGBUILD
===================================================================
--- deepin-clipboard/trunk/PKGBUILD	                        (rev 0)
+++ deepin-clipboard/trunk/PKGBUILD	2020-06-15 12:48:56 UTC (rev 645082)
@@ -0,0 +1,30 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=deepin-clipboard
+pkgver=5.0.0.3
+pkgrel=1
+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=('803523cf9a4228074e25920165fc9cbc1aa24e22ddd056aa0757d3451a3a03691c031c8a5e1157f87816ea38a47946150eb0875cedac568627eba6be791514d1')
+
+prepare() {
+  cd dde-clipboard-$pkgver
+  sed -i '/include <QPainter>/a #include <QPainterPath>' dde-clipboard/pixmaplabel.cpp dde-clipboard/itemwidget.cpp
+}
+
+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