mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 10:32:13 +08:00
41 lines
1.1 KiB
Bash
41 lines
1.1 KiB
Bash
#
|
|
# Apps Packages for Chakra, part of chakra-project.org
|
|
#
|
|
# contributor (x86_64): Giuseppe Calà <jiveaxe@gmail.com>
|
|
|
|
pkgname=qtcurve
|
|
pkgver=1.8.11
|
|
pkgrel=1
|
|
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'
|
|
depends=('kde-workspace')
|
|
makedepends=('cmake' 'automoc4')
|
|
categories=('system')
|
|
source=("http://craigd.wikispaces.com/file/view/QtCurve-KDE4-${pkgver}.tar.bz2"
|
|
'bypass-kde-config.patch')
|
|
md5sums=('62dde2f3a2fabf2a209b07c2cf2b9c13'
|
|
'3f6681147cc361bd2bfd4d7477f2a8d0')
|
|
|
|
build() {
|
|
cd "${srcdir}/QtCurve-KDE4-${pkgver}"
|
|
# Bypass KDE prefix detection by kde4-config, see:
|
|
# http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=541667
|
|
patch -Np1 -i ${srcdir}/bypass-kde-config.patch
|
|
|
|
mkdir -p "${srcdir}/build"
|
|
cd "${srcdir}/build"
|
|
cmake "../QtCurve-KDE4-${pkgver}" \
|
|
-DCMAKE_BUILD_TYPE=Release \
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
-DQTC_STYLE_SUPPORT=true
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd "${srcdir}/build"
|
|
make DESTDIR="${pkgdir}" install
|
|
}
|
|
|