[arch-commits] Commit in deepin-network-utils/repos (2 files)
Felix Yan
felixonmars at archlinux.org
Wed Apr 7 19:17:52 UTC 2021
Date: Wednesday, April 7, 2021 @ 19:17:52
Author: felixonmars
Revision: 912606
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 912605, deepin-network-utils/trunk/PKGBUILD)
----------+
PKGBUILD | 36 ++++++++++++++++++++++++++++++++++++
1 file changed, 36 insertions(+)
Copied: deepin-network-utils/repos/community-testing-x86_64/PKGBUILD (from rev 912605, deepin-network-utils/trunk/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD (rev 0)
+++ community-testing-x86_64/PKGBUILD 2021-04-07 19:17:52 UTC (rev 912606)
@@ -0,0 +1,36 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=deepin-network-utils
+pkgver=5.4.5
+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=('fd57a0ec3f1839cd616b6ea6228b1e218f71d813f9e28f54f458ef0640594bd5f6fdf55335b5945da2b8417e5438c7ea0210b5eaaf08deac75440a5bceed93c8')
+
+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