updated on Thu Jan 19 12:17:07 UTC 2012
[aur-mirror.git] / smaragd / PKGBUILD
blobc8b3ca62b2dcebcb7b1db7d43dc45fb8be26e73f
1 pkgname=smaragd
2 pkgver=0.0.7
3 pkgrel=1
4 pkgdesc="Smaragd is a window decoration engine for KWin."
5 arch=('i686' 'x86_64')
6 url="http://kde-look.org/content/show.php/Smaragd+(Emerald+for+KDE)?content=125162"
7 license=('GPL2')
8 depends=('kdebase-workspace')
9 makedepends=('cmake automoc4')
10 conflicts=('smaragd-git')
11 install=smaragd.install
13 build() {
14 wget http://kde-look.org/CONTENT/content-files/125162-smaragd-0.0.7.tar.gz
15 tar -xf 125162-smaragd-0.0.7.tar.gz
16 cd smaragd-0.0.7
17 rm -rf build
18 mkdir build && cd build
19 cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release .. || return 1
20 make || return 1
21 make DESTDIR=${pkgdir} install || return 1