updated on Thu Jan 12 04:00:44 UTC 2012
[aur-mirror.git] / kdm-theme-generator / PKGBUILD
blob17b2bd0a2bf3176ce40bb2d09a1623a1cbf5de6e
1 # Maintainer: Dylon Edwards <deltaecho@archlinux.us>
3 pkgname=kdm-theme-generator
4 pkgver=0.8
5 pkgrel=1
7 pkgdesc="Generates a kdm theme from your current plasma theme and your current wallpaper."
8 url="http://kde-look.org/content/show.php/Kdm+theme+generator?content=102760"
9 license=('GPL')
11 arch=('i686' 'x86_64')
13 depends=('acl' 'attr' 'bzip2' 'e2fsprogs' 'expat' 'fontconfig' 'freetype2' 'gcc-libs' 'glib2' 'glibc' 'kdebase-workspace' 'kdelibs' 'libice' 'libgl' 'libpng' 'libsm' 'libx11' 'libxau' 'libxcb' 'libxcursor' 'libxdmcp' 'libxext' 'libxfixes' 'libxml2' 'libxrender' 'libxtst' 'mesa' 'openssl' 'pcre' 'qt' 'sqlite3' 'strigi' 'zlib')
15 makedepends=('automoc4' 'cmake')
17 install="${pkgname}.install"
19 provides=("${pkgname}=${pkgver}")
21 source=("http://kde-look.org/CONTENT/content-files/102760-KdmThemeGenerator.tar.gz")
22 md5sums=('44861233ffb71b6f78aa67387d331518')
24 build() {
25         INSTALL_PREFIX="/usr"
26         cd KdmThemeGenerator
27         cmake . -DCMAKE_INSTALL_PREFIX="${INSTALL_PREFIX}" -DCMAKE_BUILD_TYPE=Release || return 1
28         make || return 1
29         make DESTDIR="${pkgdir}" install || return 1
30         install -m 755 copyFromUserToSystem.sh "${pkgdir}/${INSTALL_PREFIX}/bin/KdmThemeGenerator.install"