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

Christian Hesse eworm at archlinux.org
Mon Mar 5 21:38:32 UTC 2018


    Date: Monday, March 5, 2018 @ 21:38:32
  Author: eworm
Revision: 302860

archrelease: copy trunk to community-testing-x86_64

Added:
  packagekit/repos/community-testing-x86_64/
  packagekit/repos/community-testing-x86_64/PKGBUILD
    (from rev 302859, packagekit/trunk/PKGBUILD)

----------+
 PKGBUILD |   68 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 68 insertions(+)

Copied: packagekit/repos/community-testing-x86_64/PKGBUILD (from rev 302859, packagekit/trunk/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD	                        (rev 0)
+++ community-testing-x86_64/PKGBUILD	2018-03-05 21:38:32 UTC (rev 302860)
@@ -0,0 +1,68 @@
+# $Id$
+# Maintainer: Christian Hesse <mail at eworm.de>
+# Contributor: Jonathan Conder <jonno.conder at gmail.com>
+
+pkgbase='packagekit'
+pkgname=('packagekit' 'libpackagekit-glib')
+pkgver=1.1.9
+pkgrel=1
+pkgdesc='A system designed to make installation and updates of packages easier'
+arch=('x86_64')
+url='https://www.freedesktop.org/software/PackageKit/'
+license=('GPL')
+makedepends=('polkit' 'sqlite' 'gobject-introspection' 'gtk-doc' 'intltool'
+             'bash-completion' 'vala' 'autoconf-archive')
+options=('!emptydirs')
+validpgpkeys=('163EB50119225DB3DF8F49EA17ACBA8DFA970E17'	# Richard Hughes <richard at hughsie.com>
+              'EC60AABDF42AAE8FB062640480858FA38F62AF74')	# Kalev Lember <klember at redhat.com>
+source=("https://www.freedesktop.org/software/PackageKit/releases/PackageKit-${pkgver}.tar.xz"{,.asc})
+sha256sums=('a49ffa7ee4f023589a3520afd498a951eb10e2e0b81972c9f767d27a6addbf47'
+            'SKIP')
+
+build() {
+	cd "${srcdir}/PackageKit-${pkgver}"
+
+	./autogen.sh --prefix=/usr \
+		--sysconfdir=/etc \
+		--localstatedir=/var \
+		--libexecdir=/usr/lib/PackageKit \
+		--with-dbus-sys=/usr/share/dbus-1/system.d \
+		--disable-static \
+		--disable-gtk-doc \
+		--disable-local \
+		--disable-gstreamer-plugin \
+		--disable-gtk-module \
+		--disable-command-not-found \
+		--disable-cron \
+		--disable-dummy \
+		--enable-alpm
+	sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
+	make
+}
+
+package_packagekit() {
+	depends=('libpackagekit-glib' 'pacman>=5.0.0' 'polkit' 'sqlite')
+	optdepends=('bash-completion: command completion in bash')
+	backup=('var/lib/PackageKit/transactions.db'
+		'etc/PackageKit/alpm.d/pacman.conf'
+		'etc/PackageKit/alpm.d/repos.list')
+
+	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
+	make -C lib DESTDIR="${pkgdir}" uninstall
+	make -C docs DESTDIR="${pkgdir}" uninstall
+}
+
+package_libpackagekit-glib() {
+	pkgdesc='GLib library for accessing PackageKit'
+	depends=('glib2')
+
+	cd "${srcdir}/PackageKit-${pkgver}"
+	make -C lib DESTDIR="${pkgdir}" install
+	make -C docs DESTDIR="${pkgdir}" install
+}



More information about the arch-commits mailing list