mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 02:22:13 +08:00
35 lines
915 B
Bash
35 lines
915 B
Bash
#
|
|
# Chakra Packages for Chakra, part of chakra-project.org
|
|
#
|
|
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
|
|
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
|
|
# contributor: Radu Andries <admiral0 at tuxfamily.org>
|
|
|
|
pkgname=kdeplasma-applets-wattson
|
|
pkgver=1.0
|
|
pkgrel=3
|
|
arch=('i686' 'x86_64')
|
|
pkgdesc="A plasmoid for displaying used watts by laptop"
|
|
url="http://kde-apps.org/content/show.php/Wattson?content=126981"
|
|
makedepends=("cmake" "automoc4")
|
|
depends=('kde-workspace')
|
|
license=('GPL')
|
|
categories=('accessories')
|
|
source=("http://kde-look.org/CONTENT/content-files/126981-wattson.tar.xz")
|
|
md5sums=('373f70d4772c8d6023639cd80ed77124')
|
|
|
|
build() {
|
|
cd $srcdir/wattson/
|
|
if [ -d build ]; then
|
|
rm -rf build
|
|
fi
|
|
mkdir build
|
|
cd build
|
|
cmake -DCMAKE_INSTALL_PREFIX=/usr ..
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd $srcdir/wattson/build
|
|
make DESTDIR=$pkgdir install
|
|
} |