updated on Thu Jan 19 20:01:47 UTC 2012
[aur-mirror.git] / yasdp / PKGBUILD
blob6a5730890dbb1600b3fcb8975b98a4c1c8a476a3
1 # Contributor: Mladen Pejakovic <pejakm@gmail.com>
3 pkgname=yasdp
4 pkgver=0.9.2
5 pkgdesc="Yet another ShutDown Plasmoid"
6 pkgrel=4
7 arch=(i686 x86_64)
8 url="http://kde-look.org/content/show.php?content=126013"
9 license=(GPL)
10 makedepends=(cmake automoc4)
11 depends=(kdebase-workspace)
12 options=()
13 source=(http://kde-look.org/CONTENT/content-files/126013-${pkgname}-${pkgver}.tar.gz
14         fixes.patch)
15 md5sums=('5fb3d03c9e0324812503e2d0417cd6db'
16          '55920c2996a651ee5765b2a467f4b1e6')
17 sha1sums=('5b6bc541bf74cef3b5290e0cd99abc05f91074a5'
18           'ed960670e5d7212da67030f7d19f486ac0e48673')
20 build() {
21   cd "${srcdir}/yaSDP"
23 # Apply patches
24   patch -Np1 < ${srcdir}/fixes.patch
26   cmake -DCMAKE_INSTALL_PREFIX=`kde4-config --prefix` . || return 1
27   make || return 1
28   make DESTDIR=${pkgdir} install || return 1