[arch-commits] Commit in lib32-polkit/repos/multilib-x86_64 (PKGBUILD PKGBUILD)

Jan Steffens heftig at archlinux.org
Fri Jan 27 07:55:17 UTC 2017


    Date: Friday, January 27, 2017 @ 07:55:16
  Author: heftig
Revision: 209207

archrelease: copy trunk to multilib-x86_64

Added:
  lib32-polkit/repos/multilib-x86_64/PKGBUILD
    (from rev 209206, lib32-polkit/trunk/PKGBUILD)
Deleted:
  lib32-polkit/repos/multilib-x86_64/PKGBUILD

----------+
 PKGBUILD |  108 +++++++++++++++++++++++++++++++++----------------------------
 1 file changed, 59 insertions(+), 49 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2017-01-27 07:54:41 UTC (rev 209206)
+++ PKGBUILD	2017-01-27 07:55:16 UTC (rev 209207)
@@ -1,49 +0,0 @@
-# $Id$
-# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
-# Contributor: jtts <jussaar at mbnet.fi>
-# Contributor: Jan de Groot <jgc at archlinux.org>
-# Contributor: GordonGR <gordongr at freemail.gr>
-
-pkgname=lib32-polkit
-pkgver=0.113
-pkgrel=2
-pkgdesc='Application development toolkit for controlling system-wide privileges'
-arch=('x86_64')
-license=('LGPL')
-url='https://www.freedesktop.org/wiki/Software/polkit'
-depends=('lib32-glib2' 'lib32-js17' 'lib32-pam' 'lib32-systemd' 'polkit')
-makedepends=('gcc-multilib' 'intltool' 'python2')
-source=("https://www.freedesktop.org/software/polkit/releases/polkit-${pkgver}.tar.gz")
-sha256sums=('e1c095093c654951f78f8618d427faf91cf62abdefed98de40ff65eca6413c81')
-
-build() {
-  cd polkit-${pkgver}
-
-  export CC='gcc -m32'
-  export CXX='g++ -m32'
-  export PKG_CONFIG_PATH='/usr/lib32/pkgconfig'
-
-  ./configure \
-    --prefix='/usr' \
-    --libdir='/usr/lib32' \
-    --libexecdir='/usr/lib32/polkit-1' \
-    --localstatedir='/var' \
-    --sysconfdir='/etc' \
-    --enable-libsystemd-login \
-    --disable-examples \
-    --disable-gtk-doc-html \
-    --disable-introspection \
-    --disable-man-pages \
-    --disable-static \
-    --with-os-type='redhat'
-  make
-}
-
-package() {
-  cd polkit-${pkgver}
-
-  make DESTDIR="${pkgdir}" install
-  rm -rf "${pkgdir}"/{etc,usr/{bin,lib,include,share}}
-}
-
-# vim: ts=2 sw=2 et:

Copied: lib32-polkit/repos/multilib-x86_64/PKGBUILD (from rev 209206, lib32-polkit/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2017-01-27 07:55:16 UTC (rev 209207)
@@ -0,0 +1,59 @@
+# $Id$
+# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
+# Contributor: Jan de Groot <jgc at archlinux.org>
+# Contributor: jtts <jussaar at mbnet.fi>
+# Contributor: GordonGR <gordongr at freemail.gr>
+
+pkgname=lib32-polkit
+pkgver=0.113+29+g3272a98
+pkgrel=1
+pkgdesc="Application development toolkit for controlling system-wide privileges (32-bit)"
+arch=(x86_64)
+license=(LGPL)
+url="https://www.freedesktop.org/wiki/Software/polkit/"
+depends=(lib32-glib2 lib32-pam lib32-expat lib32-systemd polkit)
+makedepends=(intltool gtk-doc gobject-introspection git autoconf-archive gcc-multilib)
+_commit=3272a988655c3236b55bad70e9a3af20857f384b  # master
+source=("git+https://anongit.freedesktop.org/git/polkit#commit=$_commit")
+sha256sums=('SKIP')
+
+pkgver() {
+  cd polkit
+  git describe --tags | sed 's/-/+/g'
+}
+
+prepare() {
+  cd polkit
+  NOCONFIGURE=1 ./autogen.sh
+}
+
+build() {
+  cd polkit
+
+  export CC='gcc -m32'
+  export CXX='g++ -m32'
+  export PKG_CONFIG_PATH='/usr/lib32/pkgconfig'
+
+  ./configure --prefix=/usr --sysconfdir=/etc --libdir=/usr/lib32 \
+      --localstatedir=/var --libexecdir=/usr/lib32/polkit-1 \
+      --enable-libsystemd-login=yes --disable-static \
+      --with-os-type=redhat
+
+  sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
+
+  make -C src/polkit polkitenumtypes.h
+  make -C src/polkit libpolkit-gobject-1.la
+  make -C src/polkitagent polkitagentenumtypes.h marshal.stamp
+  make -C src/polkitagent libpolkit-agent-1.la
+}
+
+package() {
+  cd polkit
+  make -C src/polkit DESTDIR="$pkgdir" \
+    lib_LTLIBRARIES="libpolkit-gobject-1.la" install-libLTLIBRARIES
+  make -C src/polkitagent DESTDIR="$pkgdir" \
+    lib_LTLIBRARIES="libpolkit-agent-1.la" install-libLTLIBRARIES
+  make -C data DESTDIR="$pkgdir" install-pkgconfigDATA
+}
+
+# vim: ts=2 sw=2 et:



More information about the arch-commits mailing list