[arch-commits] Commit in packagekit-qt/repos (4 files)
Antonio Rojas
arojas at archlinux.org
Wed Jan 21 07:32:01 UTC 2015
Date: Wednesday, January 21, 2015 @ 08:32:01
Author: arojas
Revision: 126339
archrelease: copy trunk to community-i686, community-x86_64
Added:
packagekit-qt/repos/community-i686/
packagekit-qt/repos/community-i686/PKGBUILD
(from rev 126338, packagekit-qt/trunk/PKGBUILD)
packagekit-qt/repos/community-x86_64/
packagekit-qt/repos/community-x86_64/PKGBUILD
(from rev 126338, packagekit-qt/trunk/PKGBUILD)
---------------------------+
community-i686/PKGBUILD | 54 ++++++++++++++++++++++++++++++++++++++++++++
community-x86_64/PKGBUILD | 54 ++++++++++++++++++++++++++++++++++++++++++++
2 files changed, 108 insertions(+)
Copied: packagekit-qt/repos/community-i686/PKGBUILD (from rev 126338, packagekit-qt/trunk/PKGBUILD)
===================================================================
--- community-i686/PKGBUILD (rev 0)
+++ community-i686/PKGBUILD 2015-01-21 07:32:01 UTC (rev 126339)
@@ -0,0 +1,54 @@
+# $Id$
+# Maintainer: Christian Hesse <mail at eworm.de>
+# Contributor: Antonio Rojas <arojas at archlinux.org>
+
+pkgbase=packagekit-qt
+pkgname=('packagekit-qt4' 'packagekit-qt5')
+pkgver=0.9.5
+pkgrel=4
+arch=('i686' 'x86_64')
+url='http://www.packagekit.org/'
+license=('LGPL')
+depends=('packagekit')
+makedepends=('cmake' 'qt4' 'qt5-base')
+validpgpkeys=('163EB50119225DB3DF8F49EA17ACBA8DFA970E17') # Richard Hughes
+source=("http://www.freedesktop.org/software/PackageKit/releases/PackageKit-Qt-${pkgver}.tar.xz"{,.asc})
+sha256sums=('f4fb60b82d845d887de57ef44481301f966291912116e416d981156faf3620f0'
+ 'SKIP')
+
+build() {
+ mkdir -p "${srcdir}/"{packagekit-qt4,packagekit-qt5}
+
+ cd "${srcdir}/packagekit-qt4/"
+
+ cmake ../PackageKit-Qt-${pkgver} \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DCMAKE_INSTALL_LIBDIR=lib
+ make
+
+ cd "${srcdir}/packagekit-qt5/"
+
+ cmake ../PackageKit-Qt-${pkgver} \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DCMAKE_INSTALL_LIBDIR=lib \
+ -DUSE_QT5=ON
+ make
+}
+
+package_packagekit-qt4() {
+ pkgdesc='Qt4 bindings for PackageKit'
+ depends+=('qt4')
+
+ cd "${srcdir}/packagekit-qt4/"
+ make DESTDIR="${pkgdir}" install
+}
+
+package_packagekit-qt5() {
+ pkgdesc='Qt5 bindings for PackageKit'
+ depends+=('qt5-base')
+
+ cd "${srcdir}/packagekit-qt5/"
+ make DESTDIR="${pkgdir}" install
+}
Copied: packagekit-qt/repos/community-x86_64/PKGBUILD (from rev 126338, packagekit-qt/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD (rev 0)
+++ community-x86_64/PKGBUILD 2015-01-21 07:32:01 UTC (rev 126339)
@@ -0,0 +1,54 @@
+# $Id$
+# Maintainer: Christian Hesse <mail at eworm.de>
+# Contributor: Antonio Rojas <arojas at archlinux.org>
+
+pkgbase=packagekit-qt
+pkgname=('packagekit-qt4' 'packagekit-qt5')
+pkgver=0.9.5
+pkgrel=4
+arch=('i686' 'x86_64')
+url='http://www.packagekit.org/'
+license=('LGPL')
+depends=('packagekit')
+makedepends=('cmake' 'qt4' 'qt5-base')
+validpgpkeys=('163EB50119225DB3DF8F49EA17ACBA8DFA970E17') # Richard Hughes
+source=("http://www.freedesktop.org/software/PackageKit/releases/PackageKit-Qt-${pkgver}.tar.xz"{,.asc})
+sha256sums=('f4fb60b82d845d887de57ef44481301f966291912116e416d981156faf3620f0'
+ 'SKIP')
+
+build() {
+ mkdir -p "${srcdir}/"{packagekit-qt4,packagekit-qt5}
+
+ cd "${srcdir}/packagekit-qt4/"
+
+ cmake ../PackageKit-Qt-${pkgver} \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DCMAKE_INSTALL_LIBDIR=lib
+ make
+
+ cd "${srcdir}/packagekit-qt5/"
+
+ cmake ../PackageKit-Qt-${pkgver} \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DCMAKE_INSTALL_LIBDIR=lib \
+ -DUSE_QT5=ON
+ make
+}
+
+package_packagekit-qt4() {
+ pkgdesc='Qt4 bindings for PackageKit'
+ depends+=('qt4')
+
+ cd "${srcdir}/packagekit-qt4/"
+ make DESTDIR="${pkgdir}" install
+}
+
+package_packagekit-qt5() {
+ pkgdesc='Qt5 bindings for PackageKit'
+ depends+=('qt5-base')
+
+ cd "${srcdir}/packagekit-qt5/"
+ make DESTDIR="${pkgdir}" install
+}
More information about the arch-commits
mailing list