[arch-commits] Commit in packagekit/repos (6 files)

Christian Hesse eworm at archlinux.org
Sat Jan 30 10:29:58 UTC 2016


    Date: Saturday, January 30, 2016 @ 11:29:58
  Author: eworm
Revision: 159505

archrelease: copy trunk to community-testing-i686, community-testing-x86_64

Added:
  packagekit/repos/community-testing-i686/
  packagekit/repos/community-testing-i686/PKGBUILD
    (from rev 159504, packagekit/trunk/PKGBUILD)
  packagekit/repos/community-testing-i686/packagekit.install
    (from rev 159504, packagekit/trunk/packagekit.install)
  packagekit/repos/community-testing-x86_64/
  packagekit/repos/community-testing-x86_64/PKGBUILD
    (from rev 159504, packagekit/trunk/PKGBUILD)
  packagekit/repos/community-testing-x86_64/packagekit.install
    (from rev 159504, packagekit/trunk/packagekit.install)

---------------------------------------------+
 community-testing-i686/PKGBUILD             |   66 ++++++++++++++++++++++++++
 community-testing-i686/packagekit.install   |   11 ++++
 community-testing-x86_64/PKGBUILD           |   66 ++++++++++++++++++++++++++
 community-testing-x86_64/packagekit.install |   11 ++++
 4 files changed, 154 insertions(+)

Copied: packagekit/repos/community-testing-i686/PKGBUILD (from rev 159504, packagekit/trunk/PKGBUILD)
===================================================================
--- community-testing-i686/PKGBUILD	                        (rev 0)
+++ community-testing-i686/PKGBUILD	2016-01-30 10:29:58 UTC (rev 159505)
@@ -0,0 +1,66 @@
+# $Id$
+# Maintainer: Christian Hesse <mail at eworm.de>
+# Contributor: Jonathan Conder <jonno.conder at gmail.com>
+
+pkgname='packagekit'
+pkgver=1.0.11
+pkgrel=4
+pkgdesc='A system designed to make installation and updates of packages easier'
+arch=('i686' 'x86_64')
+url='http://www.packagekit.org/'
+license=('GPL')
+depends=('dbus-glib' 'pacman>=5.0.0' 'polkit' 'shared-mime-info' 'sqlite')
+makedepends=('gobject-introspection' 'gtk-doc' 'intltool'
+	'networkmanager' 'bash-completion' 'vala')
+optdepends=('networkmanager: detect connection status'
+	'bash-completion: command completion in bash')
+install='packagekit.install'
+backup=('var/lib/PackageKit/transactions.db'
+	'etc/PackageKit/alpm.d/pacman.conf'
+	'etc/PackageKit/alpm.d/repos.list')
+validpgpkeys=('163EB50119225DB3DF8F49EA17ACBA8DFA970E17') # Richard Hughes
+source=("http://www.freedesktop.org/software/PackageKit/releases/PackageKit-${pkgver}.tar.xz"{,.asc}
+	'0001-require-dbus.socket-for-offline-update.patch::https://github.com/hughsie/PackageKit/commit/a54c5ae66c8f8a4227c22419140d66a02f56f25c.patch'
+	'0002-update-for-pacman-5-x-API-change.patch::https://github.com/hughsie/PackageKit/commit/d2db149e4987290f3a425b45ef51e2eb00e1990e.patch')
+sha256sums=('bbd27bbc77795394f25ab009fe1b3420e365541c99248b18bbaa2fa7f029eaf7'
+            'SKIP'
+            'c87318eb04033334c6e3e2fcbaaf1116a63668c066e3aff488d0ff9c8ac6fd97'
+            'cc14ca7d42abe1e4371218dc42206a713467064f291c71ee68ef7abddf90cca1')
+
+prepare() {
+	cd "${srcdir}/PackageKit-${pkgver}"
+
+	patch -Np1 < "${srcdir}/0001-require-dbus.socket-for-offline-update.patch"
+	patch -Np1 < "${srcdir}/0002-update-for-pacman-5-x-API-change.patch"
+}
+
+build() {
+	cd "${srcdir}/PackageKit-${pkgver}"
+
+	./autogen.sh --prefix=/usr \
+		--sysconfdir=/etc \
+		--localstatedir=/var \
+		--libexecdir=/usr/lib/PackageKit \
+		--disable-static \
+		--disable-gtk-doc \
+		--disable-local \
+		--disable-browser-plugin \
+		--disable-gstreamer-plugin \
+		--disable-gtk-module \
+		--disable-command-not-found \
+		--disable-cron \
+		--disable-dummy \
+		--enable-alpm
+	make
+}
+
+package() {
+	cd "${srcdir}/PackageKit-${pkgver}"
+
+	# install directory with root owner, polkit group and
+	# correct permission
+	install -d -o root -g 102 -m 750 "${pkgdir}/usr/share/polkit-1/rules.d"
+
+	make DESTDIR="${pkgdir}" install
+}
+

Copied: packagekit/repos/community-testing-i686/packagekit.install (from rev 159504, packagekit/trunk/packagekit.install)
===================================================================
--- community-testing-i686/packagekit.install	                        (rev 0)
+++ community-testing-i686/packagekit.install	2016-01-30 10:29:58 UTC (rev 159505)
@@ -0,0 +1,11 @@
+post_install() {
+	update-mime-database usr/share/mime &> /dev/null
+}
+
+post_upgrade() {
+	post_install
+}
+
+post_remove() {
+	post_install
+}

Copied: packagekit/repos/community-testing-x86_64/PKGBUILD (from rev 159504, packagekit/trunk/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD	                        (rev 0)
+++ community-testing-x86_64/PKGBUILD	2016-01-30 10:29:58 UTC (rev 159505)
@@ -0,0 +1,66 @@
+# $Id$
+# Maintainer: Christian Hesse <mail at eworm.de>
+# Contributor: Jonathan Conder <jonno.conder at gmail.com>
+
+pkgname='packagekit'
+pkgver=1.0.11
+pkgrel=4
+pkgdesc='A system designed to make installation and updates of packages easier'
+arch=('i686' 'x86_64')
+url='http://www.packagekit.org/'
+license=('GPL')
+depends=('dbus-glib' 'pacman>=5.0.0' 'polkit' 'shared-mime-info' 'sqlite')
+makedepends=('gobject-introspection' 'gtk-doc' 'intltool'
+	'networkmanager' 'bash-completion' 'vala')
+optdepends=('networkmanager: detect connection status'
+	'bash-completion: command completion in bash')
+install='packagekit.install'
+backup=('var/lib/PackageKit/transactions.db'
+	'etc/PackageKit/alpm.d/pacman.conf'
+	'etc/PackageKit/alpm.d/repos.list')
+validpgpkeys=('163EB50119225DB3DF8F49EA17ACBA8DFA970E17') # Richard Hughes
+source=("http://www.freedesktop.org/software/PackageKit/releases/PackageKit-${pkgver}.tar.xz"{,.asc}
+	'0001-require-dbus.socket-for-offline-update.patch::https://github.com/hughsie/PackageKit/commit/a54c5ae66c8f8a4227c22419140d66a02f56f25c.patch'
+	'0002-update-for-pacman-5-x-API-change.patch::https://github.com/hughsie/PackageKit/commit/d2db149e4987290f3a425b45ef51e2eb00e1990e.patch')
+sha256sums=('bbd27bbc77795394f25ab009fe1b3420e365541c99248b18bbaa2fa7f029eaf7'
+            'SKIP'
+            'c87318eb04033334c6e3e2fcbaaf1116a63668c066e3aff488d0ff9c8ac6fd97'
+            'cc14ca7d42abe1e4371218dc42206a713467064f291c71ee68ef7abddf90cca1')
+
+prepare() {
+	cd "${srcdir}/PackageKit-${pkgver}"
+
+	patch -Np1 < "${srcdir}/0001-require-dbus.socket-for-offline-update.patch"
+	patch -Np1 < "${srcdir}/0002-update-for-pacman-5-x-API-change.patch"
+}
+
+build() {
+	cd "${srcdir}/PackageKit-${pkgver}"
+
+	./autogen.sh --prefix=/usr \
+		--sysconfdir=/etc \
+		--localstatedir=/var \
+		--libexecdir=/usr/lib/PackageKit \
+		--disable-static \
+		--disable-gtk-doc \
+		--disable-local \
+		--disable-browser-plugin \
+		--disable-gstreamer-plugin \
+		--disable-gtk-module \
+		--disable-command-not-found \
+		--disable-cron \
+		--disable-dummy \
+		--enable-alpm
+	make
+}
+
+package() {
+	cd "${srcdir}/PackageKit-${pkgver}"
+
+	# install directory with root owner, polkit group and
+	# correct permission
+	install -d -o root -g 102 -m 750 "${pkgdir}/usr/share/polkit-1/rules.d"
+
+	make DESTDIR="${pkgdir}" install
+}
+

Copied: packagekit/repos/community-testing-x86_64/packagekit.install (from rev 159504, packagekit/trunk/packagekit.install)
===================================================================
--- community-testing-x86_64/packagekit.install	                        (rev 0)
+++ community-testing-x86_64/packagekit.install	2016-01-30 10:29:58 UTC (rev 159505)
@@ -0,0 +1,11 @@
+post_install() {
+	update-mime-database usr/share/mime &> /dev/null
+}
+
+post_upgrade() {
+	post_install
+}
+
+post_remove() {
+	post_install
+}



More information about the arch-commits mailing list