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

Felix Yan felixonmars at archlinux.org
Fri May 1 12:56:33 UTC 2020


    Date: Friday, May 1, 2020 @ 12:56:33
  Author: felixonmars
Revision: 623828

archrelease: copy trunk to community-staging-x86_64

Added:
  deepin-control-center/repos/community-staging-x86_64/
  deepin-control-center/repos/community-staging-x86_64/PKGBUILD
    (from rev 623827, deepin-control-center/trunk/PKGBUILD)

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

Copied: deepin-control-center/repos/community-staging-x86_64/PKGBUILD (from rev 623827, deepin-control-center/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2020-05-01 12:56:33 UTC (rev 623828)
@@ -0,0 +1,47 @@
+# 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-control-center
+pkgver=5.1.0.0
+pkgrel=1
+pkgdesc='New control center for linux deepin'
+arch=('x86_64')
+url="https://github.com/linuxdeepin/dde-control-center"
+license=('GPL3')
+depends=('desktop-file-utils' 'dtkwidget' 'deepin-account-faces' 'deepin-api' 'geoip'
+         'geoip-database' 'geoip-database-extra' 'deepin-daemon' 'startdde' 'networkmanager-qt'
+         'deepin-qt-dbus-factory' 'deepin-qt5integration' 'deepin-network-utils')
+makedepends=('deepin-dock' 'cmake' 'qt5-tools')
+optdepends=('redshift: automatic color temperature support'
+            'networkmanager-openconnect: for OpenConnect support'
+            'networkmanager-openvpn: for OpenVPN support'
+            'networkmanager-pptp: for PPTP support'
+            'networkmanager-strongswan: for StrongSwan support'
+            'networkmanager-vpnc: for VPNC support'
+            'network-manager-sstp: for SSTP support')
+# Not packaged: network-manager-l2tp
+conflicts=('dde-control-center' 'dde-dock-applets')
+replaces=('dde-control-center' 'dde-dock-applets')
+groups=('deepin')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/linuxdeepin/dde-control-center/archive/$pkgver.tar.gz"
+        $pkgname-build-fix.patch::https://github.com/linuxdeepin/dde-control-center/pull/276.patch)
+sha512sums=('4ab614f0a6a4ca63a966f5dbc1c6ba17e7520a6e5c912ec1ec7fc3e9364744942b4ebd4d95a96553892ff7d974c05f5306429607aafc5b19f78dc013ce759653'
+            'f19cbef03edb458b5dce941b9d4f25d4b0838490da37950ed6ab0c7b13b8ce236ff2115718f3fece230d7c5dbb2d74970695ac55d5f03b9ebf6bd7b8553e40aa')
+
+prepare() {
+  patch -d dde-control-center-$pkgver -p1 < $pkgname-build-fix.patch
+  mkdir -p build
+}
+
+build() {
+  cd build
+  cmake -DDISABLE_SYS_UPDATE=YES -DCMAKE_INSTALL_PREFIX=/usr \
+    ../dde-control-center-$pkgver
+  make
+}
+
+package() {
+  cd build
+  make DESTDIR="$pkgdir" install
+}


More information about the arch-commits mailing list