updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / ihatethecashew-plasmoid / PKGBUILD
blobc21f7ce22fd503c397513c91fb85eb6d7b347577
1 # Maintainer: Alessio Sergi <asergi at archlinux dot us>
3 pkgname=ihatethecashew-plasmoid
4 pkgver=0.4
5 pkgrel=2
6 pkgdesc="A plasmoid that remove the cashew"
7 arch=('i686' 'x86_64')
8 url="http://kde-look.org/content/show.php/I+HATE+the+Cashew?content=91009"
9 license=('GPL2')
10 depends=('kdelibs')
11 makedepends=('automoc4' 'cmake')
12 source=("http://www.kde-look.org/CONTENT/content-files/91009-iHateTheCashew-4.4.tbz"
13         "ihtc-fix.patch")
14 md5sums=('521952f888a4fe8a72969a586743c4b6'
15          '2488746e38154cb8b56aab4461dd74c0')
17 build() {
18   cd "$srcdir"/iHateTheCashew
20   # KDE 4.6+ fix
21   patch -Np0 -i "$srcdir"/ihtc-fix.patch
23   rm -rf build
24   mkdir build && cd build
26   cmake .. -DCMAKE_BUILD_TYPE=Release \
27            -DCMAKE_INSTALL_PREFIX=/usr
28   make
31 package() {
32   cd "$srcdir"/iHateTheCashew/build
34   make DESTDIR="$pkgdir/" install
37 # vim:set ts=2 sw=2 et: