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

Felix Yan felixonmars at archlinux.org
Wed Jun 30 02:11:29 UTC 2021


    Date: Wednesday, June 30, 2021 @ 02:11:29
  Author: felixonmars
Revision: 967904

archrelease: copy trunk to community-testing-x86_64

Added:
  deepin-picker/repos/community-testing-x86_64/
  deepin-picker/repos/community-testing-x86_64/PKGBUILD
    (from rev 967903, deepin-picker/trunk/PKGBUILD)

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

Copied: deepin-picker/repos/community-testing-x86_64/PKGBUILD (from rev 967903, deepin-picker/trunk/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD	                        (rev 0)
+++ community-testing-x86_64/PKGBUILD	2021-06-30 02:11:29 UTC (rev 967904)
@@ -0,0 +1,32 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Josip Ponjavic <josipponjavic at gmail dot com>
+# Contributor: Xu Fasheng <fasheng.xu[AT]gmail.com>
+
+pkgname=deepin-picker
+pkgver=5.0.18
+pkgrel=1
+pkgdesc='Color picker tool for deepin'
+arch=('x86_64')
+url="https://github.com/linuxdeepin/deepin-picker"
+license=('GPL3')
+depends=('deepin-qt5integration' 'libxtst' 'qt5-svg')
+makedepends=('qt5-tools' 'deepin-gettext-tools')
+groups=('deepin-extra')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/linuxdeepin/deepin-picker/archive/$pkgver.tar.gz")
+sha512sums=('8128c55e5605b747b6b6e38da436f3969292e0eb52459d0fdc14f374b23b9c4bbb2c7c0e120c09a7f0ccc19a5385c8453eb828e9f17963eff75f4d5d64339ea7')
+
+prepare() {
+  cd deepin-picker-$pkgver
+  sed -i '/#include <QPainter>/a #include <QPainterPath>' src/animation.cpp src/picker.cpp
+}
+
+build() {
+  cd deepin-picker-$pkgver
+  qmake-qt5 PREFIX=/usr
+  make
+}
+
+package() {
+  cd deepin-picker-$pkgver
+  make INSTALL_ROOT="$pkgdir" install
+}




More information about the arch-commits mailing list