updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / weather-wallpaper-plasmoid / PKGBUILD
blob375506157dbb107519e9d34cd56110d685223133
1 # Contributor: Ronuk Raval <ronuk.raval-at-gmail.com>
3 pkgname=weather-wallpaper-plasmoid
4 pkgver=0.2.1
5 pkgrel=2
6 pkgdesc='Changes desktop wallpaper to suit the local weather'
7 arch=('i686' 'x86_64')
8 url='http://kde-look.org/content/show.php?content=102185'
9 license=('GPL')
10 depends=('kdelibs>=4.2.0' 'kdebase-workspace>=4.2.0' 'kdeartwork>=4.2.0')
11 makedepends=('cmake' 'make' 'automoc4')
12 # this plasmoid will be included by default in KDE 4.3
13 conflicts=('kdeartwork>=4.3.0')
14 install=$pkgname.install
15 source=('https://edge.launchpad.net/~echidnaman/+archive/ppa/+files/plasma-wallpaper-weather_0.2.1.orig.tar.gz')
16 md5sums=('94177bfca63db13bbbb0d837bd36a606')
18 build() {
19         cd ${srcdir}/plasma-wallpaper-weather-$pkgver
20         
21         mkdir build
22         cd build
24         cmake ../ -DCMAKE_INSTALL_PREFIX=`kde4-config --prefix` || return 1
25         make || return 1
26         make DESTDIR=$pkgdir install || return 1