Date: Sunday, November 14, 2021 @ 15:25:47 Author: arojas Revision: 1047526
archrelease: copy trunk to multilib-x86_64 Added: lib32-polkit/repos/multilib-x86_64/PKGBUILD (from rev 1047525, lib32-polkit/trunk/PKGBUILD) Deleted: lib32-polkit/repos/multilib-x86_64/PKGBUILD ----------+ PKGBUILD | 135 ++++++++++++++++++++++++++----------------------------------- 1 file changed, 58 insertions(+), 77 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2021-11-14 15:25:29 UTC (rev 1047525) +++ PKGBUILD 2021-11-14 15:25:47 UTC (rev 1047526) @@ -1,77 +0,0 @@ -# Maintainer: Maxime Gauduin <aluc...@archlinux.org> -# Contributor: Jan de Groot <j...@archlinux.org> -# Contributor: jtts <juss...@mbnet.fi> -# Contributor: GordonGR <gordo...@freemail.gr> - -pkgname=lib32-polkit -pkgver=0.119 -pkgrel=1 -pkgdesc='Application development toolkit for controlling system-wide privileges' -arch=(x86_64) -license=(LGPL) -url=https://www.freedesktop.org/wiki/Software/polkit/ -depends=( - lib32-expat - lib32-glib2 - lib32-pam - lib32-systemd - polkit -) -makedepends=( - autoconf-archive - git - gobject-introspection - gtk-doc - intltool -) -_tag=2e5348bf4eb0ef984db32f7f96ec6722d441c6ca -source=(git+https://gitlab.freedesktop.org/polkit/polkit/#tag=${_tag}) -sha256sums=(SKIP) - -pkgver() { - cd polkit - - git describe --tags -} - -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 \ - --disable-gtk-doc \ - --disable-static \ - --enable-libsystemd-login=yes \ - --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: Copied: lib32-polkit/repos/multilib-x86_64/PKGBUILD (from rev 1047525, lib32-polkit/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2021-11-14 15:25:47 UTC (rev 1047526) @@ -0,0 +1,58 @@ +# Maintainer: Maxime Gauduin <aluc...@archlinux.org> +# Contributor: Jan de Groot <j...@archlinux.org> +# Contributor: jtts <juss...@mbnet.fi> +# Contributor: GordonGR <gordo...@freemail.gr> + +pkgname=lib32-polkit +pkgver=0.120 +pkgrel=1 +pkgdesc='Application development toolkit for controlling system-wide privileges' +arch=(x86_64) +license=(LGPL) +url=https://www.freedesktop.org/wiki/Software/polkit/ +depends=( + lib32-expat + lib32-glib2 + lib32-pam + lib32-systemd + polkit +) +makedepends=( + meson + git +) +_tag=92b910ce2273daf6a76038f6bd764fa6958d4e8e +source=(git+https://gitlab.freedesktop.org/polkit/polkit/#tag=${_tag}) +sha256sums=(SKIP) + +pkgver() { + cd polkit + + git describe --tags +} + +prepare() { + sed -e '/polkitbackend/d' -i polkit/src/meson.build -i polkit/test/meson.build +} + +build() { + export CC='gcc -m32' + export CXX='g++ -m32' + export PKG_CONFIG_PATH=/usr/lib32/pkgconfig + + meson build polkit \ + --prefix=/usr \ + --libdir=/usr/lib32 \ + -D session_tracking=libsystemd-login \ + -D os_type=redhat \ + -D tests=true \ + -D introspection=false + meson compile -C build +} + +package() { + meson install -C build --destdir "${pkgdir}" + rm -r "$pkgdir"/{etc,usr/{bin,include,lib,share}} +} + +# vim: ts=2 sw=2 et: