desktop/kdeplasma-applets-yawp/PKGBUILD

30 lines
926 B
Bash

# Maintainer: abveritas@chakra-project.org
pkgname=kdeplasma-applets-yawp
pkgver=0.4.5
pkgrel=1
pkgdesc="A Colorful Kdeplasma weather plasmoid"
arch=('x86_64')
url="http://www.kde-look.org/content/show.php/yaWP+(Yet+Another+Weather+Plasmoid)?content=94106"
depends=('kde-workspace' 'gettext')
makedepends=('cmake' 'make' 'automoc4' 'patch')
conflicts=(kde-extragear-plasmoids)
screenshot=('http://kde-apps.org/content/preview.php?preview=1&id=94106&file1=94106-1.png&file2=94106-2.png&file3=94106-3.png&name=yaWP+%28Yet+Another+Weather+Plasmoid%29')
install=$pkgname.install
source=("http://downloads.sourceforge.net/yawp/yawp-$pkgver.tar.bz2")
license=('GPL')
md5sums=('4ceb65c370107409fc07c430bd5a9822')
build() {
cd $srcdir/yawp-$pkgver
mkdir build
cd build
cmake -DCMAKE_INSTALL_PREFIX=`kde4-config --prefix` ..
make VERBOSE=1
}
package() {
cd $srcdir/yawp-$pkgver/build
make DESTDIR=$pkgdir install
}