desktop/qtcurve/PKGBUILD

43 lines
1.0 KiB
Bash
Raw Normal View History

#
2012-02-22 08:20:29 +08:00
# Apps Packages for Chakra, part of chakra-project.org
#
# contributor (x86_64): Giuseppe Calà <jiveaxe@gmail.com>
pkgname=qtcurve
pkgver=1.8.13
pkgrel=2
arch=('i686' 'x86_64')
license=('GPL')
pkgdesc='A configurable set of widget styles for KDE'
url='http://www.kde-look.org/content/show.php?content=40492'
2012-03-27 08:04:47 +08:00
depends=('kde-workspace')
makedepends=('cmake' 'automoc4')
categories=('system')
source=("http://craigd.wikispaces.com/file/view/QtCurve-KDE4-${pkgver}.tar.bz2"
'fix-kwin_decoration-macro.patch')
md5sums=('94ba22bc487a18f585249c2967878189'
'7366e45ef9f24f53a36f87a539a937d6')
build() {
2011-10-24 16:31:32 +08:00
cd "${srcdir}/QtCurve-KDE4-${pkgver}"
patch -Np1 -i "${srcdir}/fix-kwin_decoration-macro.patch"
2011-10-24 16:31:32 +08:00
mkdir -p "${srcdir}/build"
cd "${srcdir}/build"
cmake "${srcdir}/QtCurve-KDE4-${pkgver}" \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
-DQTC_KWIN=true \
-DQTC_STYLE_SUPPORT=true \
|| return 1
2011-10-24 16:31:32 +08:00
make
}
package() {
2011-10-24 16:31:32 +08:00
cd "${srcdir}/build"
make DESTDIR="${pkgdir}" install
}
2011-10-24 16:31:32 +08:00
# vim:set ts=2 sw=2 et: