mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 18:42:12 +08:00
33 lines
817 B
Bash
33 lines
817 B
Bash
# Maintainer: Neo Kolokotronis <tetris4@gmail.com>
|
|
|
|
pkgname=kdeplasma-applets-netspeed
|
|
_pkgname=netspeed-plasma
|
|
pkgver=0.2
|
|
pkgrel=2
|
|
pkgdesc="Simple plasmoid to show the current speed of a network interface, and to show the overall statistics"
|
|
arch=('x86_64')
|
|
license=('CCPL:cc-by-sa')
|
|
url="http://sourceforge.net/projects/netspeed-plasma/"
|
|
depends=('kdelibs' 'kde-workspace')
|
|
makedepends=('cmake' 'automoc4')
|
|
categories=('accessories')
|
|
source=(http://sourceforge.net/projects/${_pkgname}/files/0.2/${_pkgname}-0.2.tar.gz)
|
|
md5sums=('ea165c8bcc11cc70495b23c91c161cc9')
|
|
|
|
build() {
|
|
cd $_pkgname-$pkgver
|
|
mkdir -p build
|
|
cd build
|
|
cmake .. \
|
|
-DCMAKE_BUILD_TYPE=Release \
|
|
-DCMAKE_SKIP_RPATH=ON \
|
|
-DCMAKE_INSTALL_PREFIX=/usr
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd $_pkgname-$pkgver/build
|
|
|
|
make DESTDIR=$pkgdir install
|
|
}
|