[arch-commits] Commit in deepin-network-utils/repos (2 files)
Felix Yan
felixonmars at archlinux.org
Wed Jun 30 02:12:26 UTC 2021
Date: Wednesday, June 30, 2021 @ 02:12:26
Author: felixonmars
Revision: 967906
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 967905, deepin-network-utils/trunk/PKGBUILD)
----------+
PKGBUILD | 36 ++++++++++++++++++++++++++++++++++++
1 file changed, 36 insertions(+)
Copied: deepin-network-utils/repos/community-testing-x86_64/PKGBUILD (from rev 967905, deepin-network-utils/trunk/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD (rev 0)
+++ community-testing-x86_64/PKGBUILD 2021-06-30 02:12:26 UTC (rev 967906)
@@ -0,0 +1,36 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=deepin-network-utils
+pkgver=5.4.9
+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=('77d386631d222cc57df6a82ff22abfa750970ac560c9a1a8ad857bb3f265f00b74577409ca8759e97b98938ce429647eeeecf6be831d4f73c179f9617a33c163')
+
+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