diff options
author | Erik Dubois | 2017-05-04 17:42:06 -0400 |
---|---|---|
committer | Erik Dubois | 2017-05-04 17:42:06 -0400 |
commit | 03e19028ed49ad582f9f9ad34a6a94105d02b359 (patch) | |
tree | 41fb516cf9d145affc0e4e5c426dd36c30dc5512 | |
parent | eb0b70ba04f05594885b0d5093efa2b6920d3d9e (diff) | |
download | aur-03e19028ed49ad582f9f9ad34a6a94105d02b359.tar.gz |
initial commit
-rw-r--r-- | .SRCINFO | 62 | ||||
-rw-r--r-- | PKGBUILD | 111 |
2 files changed, 76 insertions, 97 deletions
@@ -1,43 +1,43 @@ # Generated by mksrcinfo v8 -# Mon Dec 7 19:05:22 UTC 2015 +# Thu May 4 21:41:59 UTC 2017 pkgbase = qtcurve-git - pkgdesc = The QtCurve style engine ready for Plasma 5 - pkgver = r4139.330bfa5 + pkgdesc = A configurable set of widget styles for KDE and Gtk. + pkgver = 1.8.18.293.ga249871e pkgrel = 1 url = https://github.com/QtCurve/qtcurve arch = i686 arch = x86_64 groups = qtcurve - license = LGPL - makedepends = automoc4 + license = GPL makedepends = cmake - makedepends = extra-cmake-modules + makedepends = automoc4 makedepends = git - makedepends = gtk2 - makedepends = kconfigwidgets - makedepends = kdebase-runtime - makedepends = kdelibs4support - makedepends = kdoctools - makedepends = kxmlgui - makedepends = qt4 - makedepends = qt5-svg - makedepends = qt5-x11extras - source = qtcurve::git://anongit.kde.org/qtcurve.git - md5sums = SKIP - -pkgname = qtcurve-utils-git - depends = libx11 - -pkgname = qtcurve-gtk2-git - depends = qtcurve-utils-git - depends = gtk2 - -pkgname = qtcurve-qt4-git - depends = qtcurve-utils-git - depends = qt4 - -pkgname = qtcurve-qt5-git - depends = qtcurve-utils-git + depends = qt5-base depends = qt5-svg + depends = libxcb depends = qt5-x11extras + depends = gtk2 + depends = libx11 + depends = gcc-libs + provides = qtcurve-utils=1.8.18 + provides = qtcurve-gtk2=1.8.18 + provides = qtcurve-kde4=1.8.18 + provides = qtcurve-qt4=1.8.18 + provides = qtcurve-qt5=1.8.18 + provides = qtcurve-utils-git + provides = qtcurve-gtk2-git + provides = qtcurve-kde4-git + provides = qtcurve-qt4-git + provides = qtcurve-qt5-git + conflicts = qtcurve-kde4 + conflicts = qtcurve-qt4 + conflicts = qtcurve-qt5 + conflicts = qtcurve-gtk2 + conflicts = qtcurve-utils + options = !debug + options = strip + source = git://anongit.kde.org/qtcurve.git + sha512sums = SKIP + +pkgname = qtcurve-git @@ -1,80 +1,59 @@ -# Maintainer: FadeMind <fademind@gmail.com> -# Contributor: speps <speps at aur dot archlinux dot org> -# Contributor: Sven-Hendrik Haase <sh@lutzhaase.com> -# Contributor: Andrea Scarpino <andrea@archlinux.org> -# Contributor: Pierre Schmitz <pierre@archlinux.de> +# Maintainer: Yichao Yu <yyc1992@gmail.com> -_pkgbase=qtcurve -pkgbase=qtcurve-git -pkgname=('qtcurve-utils-git' 'qtcurve-gtk2-git' 'qtcurve-qt4-git' 'qtcurve-qt5-git') -pkgver=r4139.330bfa5 +pkgname=qtcurve-git +_realver=1.8.18 +pkgver=1.8.18.293.ga249871e pkgrel=1 -pkgdesc="The QtCurve style engine ready for Plasma 5" +pkgdesc='A configurable set of widget styles for KDE and Gtk.' arch=('i686' 'x86_64') -url="https://github.com/QtCurve/${_pkgbase}" -license=('LGPL') +url="https://github.com/QtCurve/qtcurve" +license=('GPL') groups=('qtcurve') -makedepends=('automoc4' - 'cmake' - 'extra-cmake-modules' - 'git' - 'gtk2' - 'kconfigwidgets' - 'kdebase-runtime' - 'kdelibs4support' - 'kdoctools' - 'kxmlgui' - 'qt4' - 'qt5-svg' - 'qt5-x11extras') -source=("${_pkgbase}::git://anongit.kde.org/${_pkgbase}.git") -md5sums=('SKIP') +depends=('qt5-base' 'qt5-svg' 'libxcb' 'qt5-x11extras' + 'gtk2' 'libx11' 'gcc-libs') +makedepends=('cmake' 'automoc4' 'git') +provides=( + "qtcurve-utils=${_realver}" + "qtcurve-gtk2=${_realver}" + "qtcurve-kde4=${_realver}" + "qtcurve-qt4=${_realver}" + "qtcurve-qt5=${_realver}" + "qtcurve-utils-git" + "qtcurve-gtk2-git" + "qtcurve-kde4-git" + "qtcurve-qt4-git" + "qtcurve-qt5-git") +conflicts=("qtcurve-kde4" "qtcurve-qt4" + "qtcurve-qt5" "qtcurve-gtk2" "qtcurve-utils") +options=('!debug' 'strip') +source=(git://anongit.kde.org/qtcurve.git) +_gitname=qtcurve pkgver() { - cd ${_pkgbase} - printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" -} + cd "$srcdir/$_gitname" -build() { - cd ${_pkgbase} - rm -rf build - mkdir build - cd build - cmake .. -DCMAKE_BUILD_TYPE=Release \ - -DCMAKE_INSTALL_PREFIX=/usr - make + git describe | sed -e 's/-/./g' } -package_qtcurve-utils-git() { - depends=('libx11') - conflicts="qtcurve-utils qtcurve-kde4" - provides="qtcurve-utils" - cd ${_pkgbase}/build/lib/utils - make DESTDIR="$pkgdir" install -} +build() { + cd "$srcdir/$_gitname" + rm -rf build + mkdir build + cd build -package_qtcurve-gtk2-git() { - depends=('qtcurve-utils-git' 'gtk2') - conflicts="qtcurve-gtk2" - provides="qtcurve-gtk2" - cd ${_pkgbase}/build/gtk2 - make DESTDIR="$pkgdir" install - cd ../lib/cairo - make DESTDIR="$pkgdir" install + cmake .. \ + -DCMAKE_BUILD_TYPE=RelWithDebInfo \ + -DQT_QMAKE_EXECUTABLE=qmake-qt5 \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DQTC_KDE4_PREFIX=/usr \ + -DQTC_QT4_ENABLE_KDE:BOOL="0" \ + -DQTC_QT4_STYLE_SUPPORT:BOOL="0" + make } -package_qtcurve-qt4-git() { - depends=('qtcurve-utils-git' 'qt4') - conflicts="qtcurve-qt4" - provides="qtcurve-qt4" - cd ${_pkgbase}/build/qt4 - make DESTDIR="$pkgdir" install -} +package() { + cd "$srcdir/$_gitname/build" -package_qtcurve-qt5-git() { - depends=('qtcurve-utils-git' 'qt5-svg' 'qt5-x11extras') - conflicts="qtcurve-qt5" - provides="qtcurve-qt5" - cd ${_pkgbase}/build/qt5 - make DESTDIR="$pkgdir" install + make DESTDIR="$pkgdir/" install } +sha512sums=('SKIP') |