[arch-commits] Commit in qtcurve/trunk (PKGBUILD)
speps
speps at nymeria.archlinux.org
Mon Oct 21 00:26:13 UTC 2013
Date: Monday, October 21, 2013 @ 02:26:13
Author: speps
Revision: 98876
upgpkg: qtcurve 1.8.17-1
Modified:
qtcurve/trunk/PKGBUILD (contents, properties)
----------+
PKGBUILD | 60 ++++++++++++++++++++++++++++++++++++++++--------------------
1 file changed, 40 insertions(+), 20 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2013-10-21 00:21:45 UTC (rev 98875)
+++ PKGBUILD 2013-10-21 00:26:13 UTC (rev 98876)
@@ -1,29 +1,27 @@
# $Id$
-# Maintainer: Sven-Hendrik Haase <sh at lutzhaase.com>
+# Maintainer : speps <speps at aur dot archlinux dot org>
+# Contributor: 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
+pkgname=('qtcurve-utils' 'qtcurve-gtk2' 'qtcurve-qt4' 'qtcurve-qt5' 'qtcurve-kde4')
+pkgver=1.8.17
+pkgrel=1
+pkgdesc='A configurable set of widget styles for KDE and Gtk'
arch=('i686' 'x86_64')
+url='https://github.com/QtCurve/qtcurve'
+license=('GPL')
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')
+makedepends=('cmake' 'automoc4' 'gtk2' 'qt4' 'qt5-svg' 'qt5-x11extras' 'kdebase-workspace')
source=("$pkgbase-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz")
-md5sums=('ee0b35fe428807b0dc2b0c57e5eb4f38')
+md5sums=('c4f2e9bc296398b42bfc132b88a3b989')
build() {
- cd "qtcurve-qt4-$pkgver"
+ cd $pkgbase-$pkgver
- sed -i "s/QApplication/QCoreApplication/g" tools/gen_image_header_qt4.cpp
-
- mkdir build-{qt,kde}4
-
- cd build-qt4
+ mkdir build{,-kde4}
+ cd build
cmake .. -DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
-DQTC_QT4_ENABLE_KDE=false
@@ -31,18 +29,40 @@
cd ../build-kde4
cmake .. -DCMAKE_BUILD_TYPE=Release \
- -DCMAKE_INSTALL_PREFIX=/usr
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DENABLE_GTK2=false \
+ -DENABLE_QT5=false
make
}
+package_qtcurve-utils() {
+ depends=('libx11')
+ cd $pkgbase-$pkgver/build/qtcurve-utils
+ make DESTDIR="$pkgdir" install
+}
+
+package_qtcurve-gtk2() {
+ depends=('qtcurve-utils' 'gtk2')
+ cd $pkgbase-$pkgver/build/gtk2
+ make DESTDIR="$pkgdir" install
+}
+
package_qtcurve-qt4() {
- depends=('qt4')
- cd "qtcurve-qt4-$pkgver/build-qt4/qt4/style"
+ depends=('qtcurve-utils' 'qt4')
+ cd $pkgbase-$pkgver/build/qt4
make DESTDIR="$pkgdir" install
}
+package_qtcurve-qt5() {
+ depends=('qtcurve-utils' 'qt5-svg' 'qt5-x11extras')
+ cd $pkgbase-$pkgver/build/qt5
+ make DESTDIR="$pkgdir" install
+}
+
package_qtcurve-kde4() {
- depends=('kdebase-workspace')
- cd "qtcurve-qt4-$pkgver/build-kde4"
+ depends=('qtcurve-utils' 'kdebase-workspace')
+ cd $pkgbase-$pkgver/build-kde4/qt4
make DESTDIR="$pkgdir" install
+ cd ../po
+ make DESTDIR="$pkgdir" install
}
Property changes on: qtcurve/trunk/PKGBUILD
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property
More information about the arch-commits
mailing list