Date: Friday, August 26, 2016 @ 17:57:19 Author: felixonmars Revision: 274676
archrelease: copy trunk to testing-i686, testing-x86_64 Added: oxygen/repos/testing-i686/ oxygen/repos/testing-i686/PKGBUILD (from rev 274675, oxygen/trunk/PKGBUILD) oxygen/repos/testing-x86_64/ oxygen/repos/testing-x86_64/PKGBUILD (from rev 274675, oxygen/trunk/PKGBUILD) -------------------------+ testing-i686/PKGBUILD | 67 ++++++++++++++++++++++++++++++++++++++++++++++ testing-x86_64/PKGBUILD | 67 ++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 134 insertions(+) Copied: oxygen/repos/testing-i686/PKGBUILD (from rev 274675, oxygen/trunk/PKGBUILD) =================================================================== --- testing-i686/PKGBUILD (rev 0) +++ testing-i686/PKGBUILD 2016-08-26 17:57:19 UTC (rev 274676) @@ -0,0 +1,67 @@ +# $Id$ +# Maintainer: Felix Yan <felixonm...@archlinux.org> +# Contributor: Andrea Scarpino <and...@archlinux.org> +# Contributor: Antonio Rojas + +pkgbase=oxygen +pkgname=('oxygen' 'oxygen-kde4') +pkgver=5.7.4 +pkgrel=1 +arch=('i686' 'x86_64') +url='https://www.kde.org/workspaces/plasmadesktop/' +license=('LGPL') +makedepends=('frameworkintegration' 'kcmutils' 'kdecoration' 'extra-cmake-modules' 'kdoctools' 'kdelibs' 'automoc4' + 'python') +source=("http://download.kde.org/stable/plasma/${pkgver}/${pkgname}-${pkgver}.tar.xz"{,.sig}) +sha256sums=('a35bf27afb242359c5ca345b76346672b7f63d78e9f1036ebf47f53d548128bc' + 'SKIP') +validpgpkeys=('13C16D03EDE728514473AA73A506E6D4DD4D5088' # Jonathan Riddell + '348C8651206633FD983A8FC4DEACEA00075E1D76' # KDE Neon + 'D07BD8662C56CB291B316EB2F5675605C74E02CF') # David Edmundson + +prepare() { + mkdir -p build{,-kde4} +} + +build() { + cd build + cmake ../$pkgname-$pkgver \ + -DCMAKE_BUILD_TYPE=Release \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DKDE_INSTALL_LIBDIR=lib \ + -DBUILD_TESTING=OFF + make + cd .. + + cd build-kde4 + cmake ../$pkgname-$pkgver \ + -DCMAKE_BUILD_TYPE=Release \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DBUILD_TESTING=OFF \ + -DUSE_KDE4=ON + make +} + +package_oxygen() { + pkgdesc='KDE Oxygen style' + depends=('frameworkintegration' 'kdecoration' 'kcmutils' 'kwayland') + conflicts=('oxygen-cursors') + replaces=('oxygen-cursors') + groups=('plasma') + + cd build + make DESTDIR="${pkgdir}" install +} + +package_oxygen-kde4() { + pkgdesc='KDE Oxygen style for KDE4 applications' + depends=('kdelibs') + conflicts=('kdebase-workspace') + + cd build-kde4 + make DESTDIR="${pkgdir}" install + + # needed so that pure Qt4 apps are correctly themed + install -d -m755 "$pkgdir"/usr/lib/qt4/plugins/styles + ln -s /usr/lib/kde4/plugins/styles/oxygen.so "$pkgdir"/usr/lib/qt4/plugins/styles +} Copied: oxygen/repos/testing-x86_64/PKGBUILD (from rev 274675, oxygen/trunk/PKGBUILD) =================================================================== --- testing-x86_64/PKGBUILD (rev 0) +++ testing-x86_64/PKGBUILD 2016-08-26 17:57:19 UTC (rev 274676) @@ -0,0 +1,67 @@ +# $Id$ +# Maintainer: Felix Yan <felixonm...@archlinux.org> +# Contributor: Andrea Scarpino <and...@archlinux.org> +# Contributor: Antonio Rojas + +pkgbase=oxygen +pkgname=('oxygen' 'oxygen-kde4') +pkgver=5.7.4 +pkgrel=1 +arch=('i686' 'x86_64') +url='https://www.kde.org/workspaces/plasmadesktop/' +license=('LGPL') +makedepends=('frameworkintegration' 'kcmutils' 'kdecoration' 'extra-cmake-modules' 'kdoctools' 'kdelibs' 'automoc4' + 'python') +source=("http://download.kde.org/stable/plasma/${pkgver}/${pkgname}-${pkgver}.tar.xz"{,.sig}) +sha256sums=('a35bf27afb242359c5ca345b76346672b7f63d78e9f1036ebf47f53d548128bc' + 'SKIP') +validpgpkeys=('13C16D03EDE728514473AA73A506E6D4DD4D5088' # Jonathan Riddell + '348C8651206633FD983A8FC4DEACEA00075E1D76' # KDE Neon + 'D07BD8662C56CB291B316EB2F5675605C74E02CF') # David Edmundson + +prepare() { + mkdir -p build{,-kde4} +} + +build() { + cd build + cmake ../$pkgname-$pkgver \ + -DCMAKE_BUILD_TYPE=Release \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DKDE_INSTALL_LIBDIR=lib \ + -DBUILD_TESTING=OFF + make + cd .. + + cd build-kde4 + cmake ../$pkgname-$pkgver \ + -DCMAKE_BUILD_TYPE=Release \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DBUILD_TESTING=OFF \ + -DUSE_KDE4=ON + make +} + +package_oxygen() { + pkgdesc='KDE Oxygen style' + depends=('frameworkintegration' 'kdecoration' 'kcmutils' 'kwayland') + conflicts=('oxygen-cursors') + replaces=('oxygen-cursors') + groups=('plasma') + + cd build + make DESTDIR="${pkgdir}" install +} + +package_oxygen-kde4() { + pkgdesc='KDE Oxygen style for KDE4 applications' + depends=('kdelibs') + conflicts=('kdebase-workspace') + + cd build-kde4 + make DESTDIR="${pkgdir}" install + + # needed so that pure Qt4 apps are correctly themed + install -d -m755 "$pkgdir"/usr/lib/qt4/plugins/styles + ln -s /usr/lib/kde4/plugins/styles/oxygen.so "$pkgdir"/usr/lib/qt4/plugins/styles +}