mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-02-03 19:37:14 +08:00
Added new package: DNetStats, version 1.2.6
This commit is contained in:
parent
37468c7d3e
commit
a2b1f919e6
39
dnetstats/PKGBUILD
Normal file
39
dnetstats/PKGBUILD
Normal file
@ -0,0 +1,39 @@
|
||||
#
|
||||
# Apps Packages for Chakra, part of chakra-project.org
|
||||
#
|
||||
# maintainer (x86_64): Giuseppe Calà <jiveaxe@gmail.com>
|
||||
|
||||
# include global config
|
||||
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
|
||||
|
||||
pkgname=dnetstats
|
||||
pkgver=1.2.6
|
||||
pkgrel=1
|
||||
pkgdesc="Graphic monitor for the network. Show the network stats and the netmap"
|
||||
arch=('i686' 'x86_64')
|
||||
url="http://checkppp.weebly.com/index.html"
|
||||
license=('GPL')
|
||||
depends=('qt')
|
||||
makedepends=('automoc4')
|
||||
source=("http://www.qt-apps.org/CONTENT/content-files/107467-DNetStats-v${pkgver}-release.tar.bz2"
|
||||
dnetstats.desktop)
|
||||
md5sums=('cd26a2af746019ddaef472607c3b6550'
|
||||
'4bb4b396ef1515700620f213d3f50b43')
|
||||
|
||||
build() {
|
||||
|
||||
cd $srcdir/DNetStats-v${pkgver}-release
|
||||
|
||||
/usr/bin/moc src/dialogimpl.h -o moc_dialogimpl.cpp
|
||||
/usr/bin/moc thread.h -o moc_thread.cpp
|
||||
/usr/bin/moc shutthread.h -o moc_shutthread.cpp
|
||||
/usr/bin/moc netthread.h -o moc_netthread.cpp
|
||||
|
||||
qmake || return 1
|
||||
make || return 1
|
||||
|
||||
install -Dm755 mythread ${pkgdir}/usr/bin/dnetstats || return 1
|
||||
install -Dm644 ../dnetstats.desktop ${pkgdir}/usr/share/applications/dnetstats.desktop|| return 1
|
||||
install -Dm644 resource/wp.png ${pkgdir}/usr/share/pixmaps/wp.png || return 1
|
||||
|
||||
}
|
17
dnetstats/dnetstats.desktop
Normal file
17
dnetstats/dnetstats.desktop
Normal file
@ -0,0 +1,17 @@
|
||||
# created 16:40:27 - 22/08/09
|
||||
|
||||
[Desktop Entry]
|
||||
Name=DNetStats
|
||||
Name[es]=DNetStats
|
||||
Name[it]=DNetStats
|
||||
GenericName=Network monitor
|
||||
GenericName[es]=Monitor de red
|
||||
GenericName[it]=Controllore di rete
|
||||
Comment=Network monitor
|
||||
Comment[es]=Monitor de red
|
||||
Comment[it]=Controllore di rete
|
||||
Exec=/usr/bin/dnetstats
|
||||
Icon=/usr/share/pixmaps/wp.png
|
||||
Terminal=false
|
||||
Type=Application
|
||||
Categories=Qt;Network;Utility;
|
Loading…
Reference in New Issue
Block a user