[arch-commits] Commit in lib32-polkit/trunk (PKGBUILD)
Jan Steffens
heftig at archlinux.org
Fri Jan 27 07:54:42 UTC 2017
Date: Friday, January 27, 2017 @ 07:54:41
Author: heftig
Revision: 209206
0.113+29+g3272a98-1
Modified:
lib32-polkit/trunk/PKGBUILD (contents, properties)
----------+
PKGBUILD | 70 ++++++++++++++++++++++++++++++++++---------------------------
1 file changed, 40 insertions(+), 30 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2017-01-27 07:01:45 UTC (rev 209205)
+++ PKGBUILD 2017-01-27 07:54:41 UTC (rev 209206)
@@ -1,49 +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: 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')
+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-${pkgver}
+ cd polkit
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
+ ./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-${pkgver}
-
- make DESTDIR="${pkgdir}" install
- rm -rf "${pkgdir}"/{etc,usr/{bin,lib,include,share}}
+ 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:
Property changes on: lib32-polkit/trunk/PKGBUILD
___________________________________________________________________
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
More information about the arch-commits
mailing list