[arch-commits] Commit in lib32-polkit/trunk (PKGBUILD)
Maxime Gauduin
alucryd at archlinux.org
Sun May 19 17:16:17 UTC 2019
Date: Sunday, May 19, 2019 @ 17:16:17
Author: alucryd
Revision: 467992
upgpkg: lib32-polkit 0.116-1
Modified:
lib32-polkit/trunk/PKGBUILD
----------+
PKGBUILD | 56 ++++++++++++++++++++++++++++++--------------------------
1 file changed, 30 insertions(+), 26 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2019-05-19 16:50:49 UTC (rev 467991)
+++ PKGBUILD 2019-05-19 17:16:17 UTC (rev 467992)
@@ -4,29 +4,32 @@
# Contributor: GordonGR <gordongr at freemail.gr>
pkgname=lib32-polkit
-pkgver=0.114
+pkgver=0.116
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' 'gcc-multilib' 'git' 'gobject-introspection'
- 'gtk-doc' 'intltool')
-_commit='ed06baed179166389d536420a6fc532781d48178' # tags/0.114^0
-source=("git+https://anongit.freedesktop.org/git/polkit#commit=$_commit")
-sha256sums=('SKIP')
+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
+)
+source=(git+https://gitlab.freedesktop.org/polkit/polkit/#tag=${pkgver})
+sha256sums=(SKIP)
-pkgver() {
- cd polkit
-
- git describe --tags | sed 's/-/+/g'
-}
-
prepare() {
cd polkit
- git cherry-pick -n 373705b35e7f6c7dc83de5e0a3ce11ecd15d0409
NOCONFIGURE=1 ./autogen.sh
}
@@ -35,16 +38,17 @@
export CC='gcc -m32'
export CXX='g++ -m32'
- export PKG_CONFIG_PATH='/usr/lib32/pkgconfig'
+ 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='yes' \
+ --enable-libsystemd-login=yes \
--with-os-type='redhat'
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
@@ -58,8 +62,8 @@
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
}
More information about the arch-commits
mailing list