[arch-commits] Commit in deepin-network-utils/repos (2 files)
Felix Yan
felixonmars at archlinux.org
Mon May 17 20:47:16 UTC 2021
Date: Monday, May 17, 2021 @ 20:47:16
Author: felixonmars
Revision: 936106
archrelease: copy trunk to community-testing-x86_64
Added:
deepin-network-utils/repos/community-testing-x86_64/
deepin-network-utils/repos/community-testing-x86_64/PKGBUILD
(from rev 936105, deepin-network-utils/trunk/PKGBUILD)
----------+
PKGBUILD | 36 ++++++++++++++++++++++++++++++++++++
1 file changed, 36 insertions(+)
Copied: deepin-network-utils/repos/community-testing-x86_64/PKGBUILD (from rev 936105, deepin-network-utils/trunk/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD (rev 0)
+++ community-testing-x86_64/PKGBUILD 2021-05-17 20:47:16 UTC (rev 936106)
@@ -0,0 +1,36 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=deepin-network-utils
+pkgver=5.4.6
+pkgrel=1
+pkgdesc='DDE network utils'
+arch=('x86_64')
+url="https://github.com/linuxdeepin/dde-network-utils"
+license=('GPL3')
+depends=('deepin-qt-dbus-factory' 'gio-qt' 'gsettings-qt')
+makedepends=('qt5-tools' 'gtest')
+groups=('deepin')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/linuxdeepin/dde-network-utils/archive/$pkgver.tar.gz")
+sha512sums=('0bd77ffad2dbc4c9c040f90bd9163e24390ad1f2546523211d774f89a0c491bf8b92602232f0c2ef47218531bd0fa44d78ee58e02b20ea661ca2b6a6f070c56d')
+
+prepare() {
+ cd dde-network-utils-$pkgver
+ # Use our own url instead of commercial company's homepage
+ sed -i '/www.uniontech.com/i \ "https://archlinux.org/favicon.ico",' dde-network-utils/connectivitychecker.cpp
+}
+
+build() {
+ cd dde-network-utils-$pkgver
+ qmake-qt5 PREFIX=/usr
+ make
+}
+
+check() {
+ cd dde-network-utils-$pkgver
+ # make test
+}
+
+package() {
+ cd dde-network-utils-$pkgver
+ make INSTALL_ROOT="$pkgdir" install
+}
More information about the arch-commits
mailing list