PKGBUILDs/community/gtk-kde4/PKGBUILD
2009-10-09 21:15:33 -05:00

30 lines
1,022 B
Bash

# $Id: PKGBUILD 82 2009-07-17 19:56:55Z aaron $
# Maintainer: Andrea Scarpino <andrea@archlinux.org>
# Contributor: Viliam Pucik <viliam dot pucik at gmail dot com>
pkgname=gtk-kde4
pkgver=0.9b
pkgrel=3
pkgdesc="Allows you to change style, icons, font of GTK applications in KDE4."
arch=('i686' 'x86_64')
url="http://kde-look.org/content/show.php?content=74689"
license=('GPL')
depends=('kdebase-workspace' 'gtk-engines')
makedepends=('cmake' 'automoc4')
#source=(http://kde-look.org/CONTENT/content-files/74689-${pkgname}v${pkgver}.tar.gz)
source=(http://betta.h.com.ua/no-site/${pkgname}v${pkgver}.tar.gz
'no_sudo.patch' 'fix-permission.patch')
md5sums=('44b14aab262e7df4a3716134e4ac382f'
'737891157113a745b71da0df9d9b8269'
'50728c1505005d779619e84ec3e88cf2')
build() {
cd ${srcdir}/${pkgname}
patch -p1 -i ${srcdir}/no_sudo.patch || return 1
patch -p1 -i ${srcdir}/fix-permission.patch || return 1
cmake -DCMAKE_INSTALL_PREFIX=/usr
make || return 1
make DESTDIR=${pkgdir} install
}