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

Maxime Gauduin alucryd at archlinux.org
Mon Aug 12 09:01:54 UTC 2019


    Date: Monday, August 12, 2019 @ 09:01:54
  Author: alucryd
Revision: 499003

archrelease: copy trunk to multilib-x86_64

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

----------+
 PKGBUILD |   98 ++++++++++++++++++++++++++++++++++---------------------------
 1 file changed, 55 insertions(+), 43 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-08-12 09:01:48 UTC (rev 499002)
+++ PKGBUILD	2019-08-12 09:01:54 UTC (rev 499003)
@@ -1,43 +0,0 @@
-# $Id$
-# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
-# Contributor: FadeMind <fademind at gmail.com>
-# Contributor: Evangelos Foutras <evangelos at foutrelis.com>
-
-pkgname=lib32-libgudev
-pkgver=232
-pkgrel=1
-pkgdesc='GObject bindings for libudev'
-arch=('x86_64')
-url='https://wiki.gnome.org/Projects/libgudev'
-license=('LGPL2.1')
-depends=('lib32-glib2' 'lib32-systemd' 'libgudev')
-makedepends=('gcc-multilib' 'python')
-conflicts=('lib32-systemd<221')
-source=("https://download.gnome.org/sources/libgudev/${pkgver}/libgudev-${pkgver}.tar.xz")
-sha256sums=('ee4cb2b9c573cdf354f6ed744f01b111d4b5bed3503ffa956cefff50489c7860')
-
-build() {
-  cd libgudev-${pkgver}
-
-  export CC='gcc -m32'
-  export CXX='g++ -m32'
-  export PKG_CONFIG_PATH='/usr/lib32/pkgconfig'
-
-  ./configure \
-    --prefix='/usr' \
-    --libdir='/usr/lib32' \
-    --localstatedir='/var' \
-    --sysconfdir='/etc' \
-    --disable-introspection \
-    --disable-umockdev
-  make
-}
-
-package() {
-  cd libgudev-${pkgver}
-
-  make DESTDIR="${pkgdir}" install
-  rm -rf ${pkgdir}/usr/{include,share}
-}
-
-# vim: ts=2 sw=2 et:

Copied: lib32-libgudev/repos/multilib-x86_64/PKGBUILD (from rev 499002, lib32-libgudev/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-08-12 09:01:54 UTC (rev 499003)
@@ -0,0 +1,55 @@
+# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
+# Contributor: FadeMind <fademind at gmail.com>
+# Contributor: Evangelos Foutras <evangelos at foutrelis.com>
+
+pkgname=lib32-libgudev
+pkgver=233
+pkgrel=1
+pkgdesc='GObject bindings for libudev'
+arch=(x86_64)
+url=https://wiki.gnome.org/Projects/libgudev
+license=(LGPL2.1)
+depends=(
+  lib32-glib2
+  lib32-systemd
+  libgudev
+)
+makedepends=(
+  git
+  gtk-doc
+  python
+)
+provides=(libgudev-1.0.so)
+source=(git+https://gitlab.gnome.org/GNOME/libgudev.git#tag=${pkgver})
+sha256sums=(SKIP)
+
+prepare() {
+  cd libgudev
+
+  NOCONFIGURE=1 ./autogen.sh
+}
+
+build() {
+  cd libgudev
+
+  export CC='gcc -m32'
+  export CXX='g++ -m32'
+  export PKG_CONFIG_PATH=/usr/lib32/pkgconfig
+
+  ./configure \
+    --prefix=/usr \
+    --libdir=/usr/lib32 \
+    --localstatedir=/var \
+    --sysconfdir=/etc \
+    --disable-gtk-doc \
+    --disable-umockdev
+  sed -i 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
+  make
+}
+
+package() {
+  make DESTDIR="${pkgdir}" -C libgudev install
+  rm -rf ${pkgdir}/usr/{include,share}
+}
+
+# vim: ts=2 sw=2 et:


More information about the arch-commits mailing list