Date: Friday, July 11, 2014 @ 15:16:42
  Author: andrea
Revision: 216793

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

Added:
  polkit-qt/repos/extra-i686/
  polkit-qt/repos/extra-i686/PKGBUILD
    (from rev 216792, polkit-qt/trunk/PKGBUILD)
  polkit-qt/repos/extra-x86_64/
  polkit-qt/repos/extra-x86_64/PKGBUILD
    (from rev 216792, polkit-qt/trunk/PKGBUILD)

-----------------------+
 extra-i686/PKGBUILD   |   53 ++++++++++++++++++++++++++++++++++++++++++++++++
 extra-x86_64/PKGBUILD |   53 ++++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 106 insertions(+)

Copied: polkit-qt/repos/extra-i686/PKGBUILD (from rev 216792, 
polkit-qt/trunk/PKGBUILD)
===================================================================
--- extra-i686/PKGBUILD                         (rev 0)
+++ extra-i686/PKGBUILD 2014-07-11 13:16:42 UTC (rev 216793)
@@ -0,0 +1,53 @@
+# $Id: PKGBUILD 102633 2010-12-09 08:40:59Z andrea $
+# Maintainer: Andrea Scarpino <and...@archlinux.org>
+# Contributor: Pierre Schmitz <pie...@archlinux.de>
+
+pkgbase=polkit-qt
+pkgname=('polkit-qt4' 'polkit-qt5')
+pkgver=0.112
+pkgrel=1
+pkgdesc='A library that allows developers to access PolicyKit API with a nice 
Qt-style API'
+arch=('i686' 'x86_64')
+url='https://projects.kde.org/projects/kdesupport/polkit-qt-1'
+license=('LGPL')
+makedepends=('cmake' 'automoc4' 'polkit' 'qt4' 'qt5-base')
+source=(${pkgbase}-${pkgver}.tar.bz2::"http://quickgit.kde.org/?p=${pkgbase}-1.git&a=snapshot&h=40afa675bfa4cacd95487ce8b0544654c5f34e21&fmt=tbz2";)
+md5sums=('c46401dbb55e2276616849e22b096768')
+
+prepare() {
+  mkdir build{,-qt5}
+}
+
+build() {
+  cd build
+  cmake ../${pkgbase}-1 \
+    -DCMAKE_BUILD_TYPE=Release \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DLIB_DESTINATION=/usr/lib \
+    -DUSE_QT4=ON
+  make
+
+  cd ../build-qt5
+  cmake ../${pkgbase}-1 \
+    -DCMAKE_BUILD_TYPE=Release \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DLIB_DESTINATION=/usr/lib
+  make
+}
+
+package_polkit-qt4() {
+  depends=('polkit' 'qt4')
+  replaces=('polkit-qt')
+  provides=('polkit-qt')
+  conflicts=('polkit-qt')
+
+  cd build
+  make DESTDIR="${pkgdir}" install
+}
+
+package_polkit-qt5() {
+  depends=('polkit' 'qt5-base')
+
+  cd build-qt5
+  make DESTDIR="${pkgdir}" install
+}

Copied: polkit-qt/repos/extra-x86_64/PKGBUILD (from rev 216792, 
polkit-qt/trunk/PKGBUILD)
===================================================================
--- extra-x86_64/PKGBUILD                               (rev 0)
+++ extra-x86_64/PKGBUILD       2014-07-11 13:16:42 UTC (rev 216793)
@@ -0,0 +1,53 @@
+# $Id: PKGBUILD 102633 2010-12-09 08:40:59Z andrea $
+# Maintainer: Andrea Scarpino <and...@archlinux.org>
+# Contributor: Pierre Schmitz <pie...@archlinux.de>
+
+pkgbase=polkit-qt
+pkgname=('polkit-qt4' 'polkit-qt5')
+pkgver=0.112
+pkgrel=1
+pkgdesc='A library that allows developers to access PolicyKit API with a nice 
Qt-style API'
+arch=('i686' 'x86_64')
+url='https://projects.kde.org/projects/kdesupport/polkit-qt-1'
+license=('LGPL')
+makedepends=('cmake' 'automoc4' 'polkit' 'qt4' 'qt5-base')
+source=(${pkgbase}-${pkgver}.tar.bz2::"http://quickgit.kde.org/?p=${pkgbase}-1.git&a=snapshot&h=40afa675bfa4cacd95487ce8b0544654c5f34e21&fmt=tbz2";)
+md5sums=('c46401dbb55e2276616849e22b096768')
+
+prepare() {
+  mkdir build{,-qt5}
+}
+
+build() {
+  cd build
+  cmake ../${pkgbase}-1 \
+    -DCMAKE_BUILD_TYPE=Release \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DLIB_DESTINATION=/usr/lib \
+    -DUSE_QT4=ON
+  make
+
+  cd ../build-qt5
+  cmake ../${pkgbase}-1 \
+    -DCMAKE_BUILD_TYPE=Release \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DLIB_DESTINATION=/usr/lib
+  make
+}
+
+package_polkit-qt4() {
+  depends=('polkit' 'qt4')
+  replaces=('polkit-qt')
+  provides=('polkit-qt')
+  conflicts=('polkit-qt')
+
+  cd build
+  make DESTDIR="${pkgdir}" install
+}
+
+package_polkit-qt5() {
+  depends=('polkit' 'qt5-base')
+
+  cd build-qt5
+  make DESTDIR="${pkgdir}" install
+}

Reply via email to