[arch-commits] Commit in qtcurve/repos (4 files)
Sven-Hendrik Haase
svenstaro at nymeria.archlinux.org
Tue Oct 1 06:52:21 UTC 2013
Date: Tuesday, October 1, 2013 @ 08:52:20
Author: svenstaro
Revision: 97920
archrelease: copy trunk to community-i686, community-x86_64
Added:
qtcurve/repos/community-i686/
qtcurve/repos/community-i686/PKGBUILD
(from rev 97919, qtcurve/trunk/PKGBUILD)
qtcurve/repos/community-x86_64/
qtcurve/repos/community-x86_64/PKGBUILD
(from rev 97919, qtcurve/trunk/PKGBUILD)
---------------------------+
community-i686/PKGBUILD | 48 ++++++++++++++++++++++++++++++++++++++++++++
community-x86_64/PKGBUILD | 48 ++++++++++++++++++++++++++++++++++++++++++++
2 files changed, 96 insertions(+)
Copied: qtcurve/repos/community-i686/PKGBUILD (from rev 97919, qtcurve/trunk/PKGBUILD)
===================================================================
--- community-i686/PKGBUILD (rev 0)
+++ community-i686/PKGBUILD 2013-10-01 06:52:20 UTC (rev 97920)
@@ -0,0 +1,48 @@
+# $Id$
+# Maintainer: Sven-Hendrik Haase <sh at lutzhaase.com>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+# Contributor: Pierre Schmitz <pierre at archlinux.de>
+
+pkgbase=qtcurve
+pkgname=('qtcurve-qt4' 'qtcurve-kde4')
+pkgver=1.8.15
+pkgrel=2
+arch=('i686' 'x86_64')
+groups=('qtcurve')
+license=('GPL')
+pkgdesc='A configurable set of widget styles for KDE and Gtk'
+url='https://github.com/QtCurve/qtcurve-qt4'
+makedepends=('cmake' 'automoc4' 'kdebase-workspace')
+source=("$pkgbase-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz")
+md5sums=('ee0b35fe428807b0dc2b0c57e5eb4f38')
+
+build() {
+ cd "qtcurve-qt4-$pkgver"
+
+ sed -i "s/QApplication/QCoreApplication/g" tools/gen_image_header_qt4.cpp
+
+ mkdir build-{qt,kde}4
+
+ cd build-qt4
+ cmake .. -DCMAKE_BUILD_TYPE=Release \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DQTC_QT4_ENABLE_KDE=false
+ make
+
+ cd ../build-kde4
+ cmake .. -DCMAKE_BUILD_TYPE=Release \
+ -DCMAKE_INSTALL_PREFIX=/usr
+ make
+}
+
+package_qtcurve-qt4() {
+ depends=('qt4')
+ cd "qtcurve-qt4-$pkgver/build-qt4/qt4/style"
+ make DESTDIR="$pkgdir" install
+}
+
+package_qtcurve-kde4() {
+ depends=('kdebase-workspace')
+ cd "qtcurve-qt4-$pkgver/build-kde4"
+ make DESTDIR="$pkgdir" install
+}
Copied: qtcurve/repos/community-x86_64/PKGBUILD (from rev 97919, qtcurve/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD (rev 0)
+++ community-x86_64/PKGBUILD 2013-10-01 06:52:20 UTC (rev 97920)
@@ -0,0 +1,48 @@
+# $Id$
+# Maintainer: Sven-Hendrik Haase <sh at lutzhaase.com>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+# Contributor: Pierre Schmitz <pierre at archlinux.de>
+
+pkgbase=qtcurve
+pkgname=('qtcurve-qt4' 'qtcurve-kde4')
+pkgver=1.8.15
+pkgrel=2
+arch=('i686' 'x86_64')
+groups=('qtcurve')
+license=('GPL')
+pkgdesc='A configurable set of widget styles for KDE and Gtk'
+url='https://github.com/QtCurve/qtcurve-qt4'
+makedepends=('cmake' 'automoc4' 'kdebase-workspace')
+source=("$pkgbase-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz")
+md5sums=('ee0b35fe428807b0dc2b0c57e5eb4f38')
+
+build() {
+ cd "qtcurve-qt4-$pkgver"
+
+ sed -i "s/QApplication/QCoreApplication/g" tools/gen_image_header_qt4.cpp
+
+ mkdir build-{qt,kde}4
+
+ cd build-qt4
+ cmake .. -DCMAKE_BUILD_TYPE=Release \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DQTC_QT4_ENABLE_KDE=false
+ make
+
+ cd ../build-kde4
+ cmake .. -DCMAKE_BUILD_TYPE=Release \
+ -DCMAKE_INSTALL_PREFIX=/usr
+ make
+}
+
+package_qtcurve-qt4() {
+ depends=('qt4')
+ cd "qtcurve-qt4-$pkgver/build-qt4/qt4/style"
+ make DESTDIR="$pkgdir" install
+}
+
+package_qtcurve-kde4() {
+ depends=('kdebase-workspace')
+ cd "qtcurve-qt4-$pkgver/build-kde4"
+ make DESTDIR="$pkgdir" install
+}
More information about the arch-commits
mailing list