updated on Thu Jan 26 00:18:00 UTC 2012
[aur-mirror.git] / battery-remaining-plasmoid / PKGBUILD
blob7ce63d75029931541d3c8103c8f2efca91d682bc
1 # Contributor: Adria Arrufat <swiftscythe@gmail.com>
3  pkgname=battery-remaining-plasmoid
4  pkgver=4.6
5  pkgrel=1
6  pkgdesc="Battery plasmoid with remaining time"
7  arch=('i686' 'x86_64')
8  url="http://kde-look.org/content/show.php/battery+plasmoid+with+remaining+time?content=120309"
9  license=('GPL')
10  depends=('kdebase-workspace')
11  makedepends=('make' 'cmake' 'automoc4')
12  conflicts=()
13  source=(http://kde-look.org/CONTENT/content-files/120309-plasmoid-battery-$pkgver.tar.gz)
14  md5sums=('8adc4c69d9e18f14f4e06f87ba812bc2')
15  build() {
16    cd $srcdir/plasmoid-battery-$pkgver/
17    mkdir build
18    cd build
19    cmake -DCMAKE_INSTALL_PREFIX=`kde4-config --prefix` .. || return 1
20    make || return 1
21    make DESTDIR=$pkgdir install || return 1
22          }