Date: Thursday, March 3, 2016 @ 23:24:08
  Author: arojas
Revision: 260690

archrelease: copy kde-unstable to staging-i686, staging-x86_64

Added:
  oxygen/repos/staging-i686/
  oxygen/repos/staging-i686/PKGBUILD
    (from rev 260689, oxygen/kde-unstable/PKGBUILD)
  oxygen/repos/staging-x86_64/
  oxygen/repos/staging-x86_64/PKGBUILD
    (from rev 260689, oxygen/kde-unstable/PKGBUILD)

-------------------------+
 staging-i686/PKGBUILD   |   63 ++++++++++++++++++++++++++++++++++++++++++++++
 staging-x86_64/PKGBUILD |   63 ++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 126 insertions(+)

Copied: oxygen/repos/staging-i686/PKGBUILD (from rev 260689, 
oxygen/kde-unstable/PKGBUILD)
===================================================================
--- staging-i686/PKGBUILD                               (rev 0)
+++ staging-i686/PKGBUILD       2016-03-03 22:24:08 UTC (rev 260690)
@@ -0,0 +1,63 @@
+# $Id$
+# Maintainer: Felix Yan <felixonm...@archlinux.org>
+# Contributor: Andrea Scarpino <and...@archlinux.org>
+# Contributor: Antonio Rojas
+
+pkgbase=oxygen
+pkgname=('oxygen' 'oxygen-kde4')
+pkgver=5.5.95
+pkgrel=1
+arch=('i686' 'x86_64')
+url='https://projects.kde.org/projects/kde/workspace/oxygen'
+license=('LGPL')
+makedepends=('frameworkintegration' 'kcmutils' 'kdecoration' 
'extra-cmake-modules' 'kdoctools' 'kdelibs' 'automoc4')
+source=("http://download.kde.org/unstable/plasma/${pkgver}/${pkgname}-${pkgver}.tar.xz";)
+md5sums=('528a26ab1739cf5f248b6eed4dee6282')
+
+prepare() {
+  mkdir -p build{,-kde4}
+}
+
+build() {
+  cd build
+  cmake ../$pkgname-$pkgver \
+    -DCMAKE_BUILD_TYPE=Release \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DLIB_INSTALL_DIR=lib \
+    -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
+    -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')
+  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/staging-x86_64/PKGBUILD (from rev 260689, 
oxygen/kde-unstable/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD                             (rev 0)
+++ staging-x86_64/PKGBUILD     2016-03-03 22:24:08 UTC (rev 260690)
@@ -0,0 +1,63 @@
+# $Id$
+# Maintainer: Felix Yan <felixonm...@archlinux.org>
+# Contributor: Andrea Scarpino <and...@archlinux.org>
+# Contributor: Antonio Rojas
+
+pkgbase=oxygen
+pkgname=('oxygen' 'oxygen-kde4')
+pkgver=5.5.95
+pkgrel=1
+arch=('i686' 'x86_64')
+url='https://projects.kde.org/projects/kde/workspace/oxygen'
+license=('LGPL')
+makedepends=('frameworkintegration' 'kcmutils' 'kdecoration' 
'extra-cmake-modules' 'kdoctools' 'kdelibs' 'automoc4')
+source=("http://download.kde.org/unstable/plasma/${pkgver}/${pkgname}-${pkgver}.tar.xz";)
+md5sums=('528a26ab1739cf5f248b6eed4dee6282')
+
+prepare() {
+  mkdir -p build{,-kde4}
+}
+
+build() {
+  cd build
+  cmake ../$pkgname-$pkgver \
+    -DCMAKE_BUILD_TYPE=Release \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DLIB_INSTALL_DIR=lib \
+    -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
+    -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')
+  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
+}

Reply via email to