diff options
Diffstat (limited to 'nonsystemd-multilib/lib32-polkit/PKGBUILD')
-rw-r--r-- | nonsystemd-multilib/lib32-polkit/PKGBUILD | 65 |
1 files changed, 34 insertions, 31 deletions
diff --git a/nonsystemd-multilib/lib32-polkit/PKGBUILD b/nonsystemd-multilib/lib32-polkit/PKGBUILD index be662d63b..dbbec1f9e 100644 --- a/nonsystemd-multilib/lib32-polkit/PKGBUILD +++ b/nonsystemd-multilib/lib32-polkit/PKGBUILD @@ -1,37 +1,40 @@ -# $Id$ +# Maintainer: David P. <megver83@parabola.nu> # Maintainer (Arch): Maxime Gauduin <alucryd@archlinux.org> # Contributor (Arch): Jan de Groot <jgc@archlinux.org> # Contributor (Arch): jtts <jussaar@mbnet.fi> # Contributor (Arch): GordonGR <gordongr@freemail.gr> -# Maintainer: David P. <megver83@parabola.nu> pkgname=lib32-polkit -pkgver=0.114 +pkgver=0.116 pkgrel=1 pkgrel+=.nonsystemd1 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' 'polkit') -makedepends=('autoconf-archive' 'gcc-multilib' 'git' 'gobject-introspection' - 'gtk-doc' 'intltool') -_commit='ed06baed179166389d536420a6fc532781d48178' # tags/0.114^0 -source=("git+https://anongit.freedesktop.org/git/polkit#commit=$_commit" - 'elogind-configure-fix.patch') +arch=(x86_64) +license=(LGPL) +url=https://www.freedesktop.org/wiki/Software/polkit/ +depends=( + lib32-expat + lib32-glib2 + lib32-pam + polkit +) + +makedepends=( + autoconf-archive + git + gobject-introspection + gtk-doc + intltool +) +_commit='941e9329f8d3d43ace8335d206365b212824e686' # tags/0.116^0 +source=("git+https://gitlab.freedesktop.org/polkit/polkit.git#commit=$_commit" + elogind-configure-fix.patch) sha256sums=('SKIP' 'd90b2a95aa3e9e1ebf9369c038c144e04900e095c5405bc4ba4901c31bf3f59b') -pkgver() { - cd polkit - - git describe --tags | sed 's/-/+/g' -} - prepare() { cd polkit - git cherry-pick -n 373705b35e7f6c7dc83de5e0a3ce11ecd15d0409 patch -Np 1 -i ${srcdir}/elogind-configure-fix.patch NOCONFIGURE=1 ./autogen.sh } @@ -41,22 +44,22 @@ build() { export CC='gcc -m32' export CXX='g++ -m32' - export PKG_CONFIG_PATH='/usr/lib32/pkgconfig' - #export CFLAGS="-lelogind" + export PKG_CONFIG_PATH=/usr/lib32/pkgconfig ./configure \ - --prefix='/usr' \ - --sysconfdir='/etc' \ - --libdir='/usr/lib32' \ - --localstatedir='/var' \ - --libexecdir='/usr/lib32' \ + --prefix=/usr \ + --sysconfdir=/etc \ + --libdir=/usr/lib32 \ + --localstatedir=/var \ + --libexecdir=/usr/lib32 \ + --disable-gtk-doc \ --disable-static \ --enable-libsystemd-login='no' \ - --with-os-type=redhat \ --enable-libelogind='no' \ - --with-systemdsystemunitdir='no' + --with-systemdsystemunitdir='no' \ + --with-os-type='redhat' -# sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool +# 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 @@ -67,8 +70,8 @@ build() { 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 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 } |