updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / kdeplasma-addons-applets-rosapanel / PKGBUILD
blob1a037714a8d7a6b8a359a80f5352508ce2100382
1 #Maintainer: wrajaka
2 #Contributor: Neo Kolokotronis <tetri4@gmail.com>
4 pkgname=kdeplasma-addons-applets-rosapanel
5 _pkgname=rosapanel
6 pkgver=1.0
7 _pkgver=1.0-06
8 pkgrel=3
9 pkgdesc="ROSA panel include RocketBar, and special build Icon and Trash applets. As seen on Mandriva 2011."
10 arch=('i686' 'x86_64')
11 url="http://rosalab.ru/"
12 license=('LGPL2')
13 depends=('kdebase-workspace' 'kdeplasma-addons-applets-stackfolder' 'plasma-theme-rosa')
14 makedepends=('rpmextract' 'cmake' 'automoc4')
15 conflicts=('kdeplasma-applets-rosapanel')
16 replaces=('kdeplasma-applets-rosapanel')
17 source=(ftp://ftp.pbone.net/mirror/carroll.cac.psu.edu/pub/linux/distributions/mandrakelinux/devel\
18 /cooker/SRPMS/main/release/${_pkgname}-${_pkgver}.src.rpm)
19 md5sums=('d6e20f807f99bdff54803dee53ec3b7e')
20         
21 build() {
22         cd $startdir/src/
23         rpmextract.sh ${_pkgname}-${_pkgver}.src.rpm
24         tar -xvf ${_pkgname}-${pkgver}.tar.gz
25         cd ${_pkgname}-${pkgver}/build
26         cmake ../ -DCMAKE_INSTALL_PREFIX=`kde4-config --prefix`
27         make || return 1
30 package() {
31         cd $startdir/src/${_pkgname}-${pkgver}/build
32         make DESTDIR=$startdir/pkg install || return 1