[arch-commits] Commit in qtcurve-qt4/repos (4 files)

Sven-Hendrik Haase svenstaro at nymeria.archlinux.org
Tue Oct 1 06:46:31 UTC 2013


    Date: Tuesday, October 1, 2013 @ 08:46:30
  Author: svenstaro
Revision: 97918

archrelease: copy trunk to community-i686, community-x86_64

Added:
  qtcurve-qt4/repos/community-i686/PKGBUILD
    (from rev 97917, qtcurve-qt4/trunk/PKGBUILD)
  qtcurve-qt4/repos/community-x86_64/PKGBUILD
    (from rev 97917, qtcurve-qt4/trunk/PKGBUILD)
Deleted:
  qtcurve-qt4/repos/community-i686/PKGBUILD
  qtcurve-qt4/repos/community-x86_64/PKGBUILD

---------------------------+
 /PKGBUILD                 |   96 ++++++++++++++++++++++++++++++++++++++++++++
 community-i686/PKGBUILD   |   35 ----------------
 community-x86_64/PKGBUILD |   35 ----------------
 3 files changed, 96 insertions(+), 70 deletions(-)

Deleted: community-i686/PKGBUILD
===================================================================
--- community-i686/PKGBUILD	2013-10-01 06:46:16 UTC (rev 97917)
+++ community-i686/PKGBUILD	2013-10-01 06:46:30 UTC (rev 97918)
@@ -1,35 +0,0 @@
-# $Id: PKGBUILD 78820 2012-10-25 06:47:28Z foutrelis $
-# Maintainer: Sven-Hendrik Haase <sh at lutzhaase.com>
-# Contributor: Andrea Scarpino <andrea at archlinux.org>
-# Contributor: Pierre Schmitz <pierre at archlinux.de>
-
-pkgname=qtcurve-qt4
-pkgver=1.8.15
-pkgrel=1
-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'
-depends=('kdebase-workspace')
-makedepends=('cmake' 'automoc4')
-replaces=('qtcurve-kde4')
-source=("${pkgname}-${pkgver}.tar.gz::https://github.com/QtCurve/qtcurve-qt4/archive/${pkgver}.tar.gz")
-md5sums=('ee0b35fe428807b0dc2b0c57e5eb4f38')
-
-build() {
-	cd ${pkgname}-${pkgver}
-
-    sed -i "s/QApplication/QCoreApplication/g" tools/gen_image_header_qt4.cpp
-	mkdir build
-	cd build
-	cmake .. \
-		-DCMAKE_BUILD_TYPE=Release \
-		-DCMAKE_INSTALL_PREFIX=/usr
-	make
-}
-
-package() {
-	cd ${pkgname}-${pkgver}/build
-	make DESTDIR="${pkgdir}" install
-}

Copied: qtcurve-qt4/repos/community-i686/PKGBUILD (from rev 97917, qtcurve-qt4/trunk/PKGBUILD)
===================================================================
--- community-i686/PKGBUILD	                        (rev 0)
+++ community-i686/PKGBUILD	2013-10-01 06:46:30 UTC (rev 97918)
@@ -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
+}

Deleted: community-x86_64/PKGBUILD
===================================================================
--- community-x86_64/PKGBUILD	2013-10-01 06:46:16 UTC (rev 97917)
+++ community-x86_64/PKGBUILD	2013-10-01 06:46:30 UTC (rev 97918)
@@ -1,35 +0,0 @@
-# $Id: PKGBUILD 78820 2012-10-25 06:47:28Z foutrelis $
-# Maintainer: Sven-Hendrik Haase <sh at lutzhaase.com>
-# Contributor: Andrea Scarpino <andrea at archlinux.org>
-# Contributor: Pierre Schmitz <pierre at archlinux.de>
-
-pkgname=qtcurve-qt4
-pkgver=1.8.15
-pkgrel=1
-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'
-depends=('kdebase-workspace')
-makedepends=('cmake' 'automoc4')
-replaces=('qtcurve-kde4')
-source=("${pkgname}-${pkgver}.tar.gz::https://github.com/QtCurve/qtcurve-qt4/archive/${pkgver}.tar.gz")
-md5sums=('ee0b35fe428807b0dc2b0c57e5eb4f38')
-
-build() {
-	cd ${pkgname}-${pkgver}
-
-    sed -i "s/QApplication/QCoreApplication/g" tools/gen_image_header_qt4.cpp
-	mkdir build
-	cd build
-	cmake .. \
-		-DCMAKE_BUILD_TYPE=Release \
-		-DCMAKE_INSTALL_PREFIX=/usr
-	make
-}
-
-package() {
-	cd ${pkgname}-${pkgver}/build
-	make DESTDIR="${pkgdir}" install
-}

Copied: qtcurve-qt4/repos/community-x86_64/PKGBUILD (from rev 97917, qtcurve-qt4/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD	                        (rev 0)
+++ community-x86_64/PKGBUILD	2013-10-01 06:46:30 UTC (rev 97918)
@@ -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