2010-12-05 20:09:06 +08:00
|
|
|
#
|
2012-02-22 08:20:29 +08:00
|
|
|
# Apps Packages for Chakra, part of chakra-project.org
|
2010-12-05 20:09:06 +08:00
|
|
|
#
|
2012-12-28 03:47:24 +08:00
|
|
|
# maintainer abveritas@chakra-project.org
|
|
|
|
# contributor Giuseppe Calà <jiveaxe@gmail.com>
|
2010-12-05 20:09:06 +08:00
|
|
|
|
|
|
|
pkgname=qtcurve
|
2012-12-28 03:47:24 +08:00
|
|
|
pkgver=1.8.14
|
|
|
|
pkgrel=1
|
|
|
|
arch=('x86_64')
|
2010-12-05 20:09:06 +08:00
|
|
|
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')
|
2010-12-05 20:09:06 +08:00
|
|
|
makedepends=('cmake' 'automoc4')
|
2012-03-16 22:51:37 +08:00
|
|
|
categories=('system')
|
2010-12-05 20:09:06 +08:00
|
|
|
source=("http://craigd.wikispaces.com/file/view/QtCurve-KDE4-${pkgver}.tar.bz2"
|
2012-08-02 21:42:30 +08:00
|
|
|
'fix-kwin_decoration-macro.patch')
|
2012-12-28 03:47:24 +08:00
|
|
|
md5sums=('b4d7924806058f39e842ce7ffe47a4f8'
|
2012-08-02 21:42:30 +08:00
|
|
|
'7366e45ef9f24f53a36f87a539a937d6')
|
2010-12-05 20:09:06 +08:00
|
|
|
|
|
|
|
build() {
|
2011-10-24 16:31:32 +08:00
|
|
|
cd "${srcdir}/QtCurve-KDE4-${pkgver}"
|
2012-12-28 03:47:24 +08:00
|
|
|
patch -p1 -i "${srcdir}/fix-kwin_decoration-macro.patch"
|
2012-08-02 21:42:30 +08:00
|
|
|
|
2012-12-28 03:47:24 +08:00
|
|
|
cd "${srcdir}"
|
|
|
|
mkdir build
|
|
|
|
cd build
|
|
|
|
cmake ../QtCurve-KDE4-${pkgver} \
|
|
|
|
-DCMAKE_BUILD_TYPE=Release \
|
|
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
|
|
-DQTC_KWIN=true \
|
|
|
|
-DQTC_STYLE_SUPPORT=true
|
2011-10-24 16:31:32 +08:00
|
|
|
make
|
2010-12-05 20:09:06 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
2011-10-24 16:31:32 +08:00
|
|
|
cd "${srcdir}/build"
|
|
|
|
make DESTDIR="${pkgdir}" install
|
2010-12-05 20:09:06 +08:00
|
|
|
}
|
2011-10-24 16:31:32 +08:00
|
|
|
|