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

Maxime Gauduin alucryd at archlinux.org
Tue Jul 25 19:40:08 UTC 2017


    Date: Tuesday, July 25, 2017 @ 19:40:07
  Author: alucryd
Revision: 246367

archrelease: copy trunk to multilib-x86_64

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

----------+
 PKGBUILD |   92 +++++++++++++++++++++++++++++++++++--------------------------
 1 file changed, 53 insertions(+), 39 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2017-07-25 19:39:59 UTC (rev 246366)
+++ PKGBUILD	2017-07-25 19:40:07 UTC (rev 246367)
@@ -1,39 +0,0 @@
-# $Id$
-# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
-# Contributor: jtts <jussaar at mbnet.fi>
-# Contributor: josephgbr <rafael.f.f1 at gmail.com>
-
-pkgname=lib32-libgusb
-pkgver=0.2.10
-pkgrel=1
-pkgdesc='GObject wrapper for libusb1'
-arch=('x86_64')
-url='https://github.com/hughsie/libgusb'
-license=('LGPL2.1')
-depends=('lib32-glib2' 'lib32-glibc' 'lib32-libusb' 'libgusb')
-makedepends=('gcc-multilib' 'gobject-introspection' 'python2')
-source=("https://people.freedesktop.org/~hughsient/releases/libgusb-${pkgver}.tar.xz")
-sha256sums=('5c0442f5e00792bea939bbd16df09245740ae0d8b6ad9890d09189e1f4a3a17a')
-
-build() {
-  cd libgusb-${pkgver}
-
-  export CC='gcc -m32'
-  export CXX='g++ -m32'
-  export PKG_CONFIG_PATH='/usr/lib32/pkgconfig'
-
-  ./configure \
-    --prefix='/usr' \
-    --libdir='/usr/lib32' \
-    --disable-static
-  make
-}
-
-package() {
-  cd libgusb-${pkgver}
-
-  make DESTDIR="${pkgdir}" install
-  rm -rf "${pkgdir}"/usr/{bin,include,share}
-}
-
-# vim: ts=2 sw=2 et:

Copied: lib32-libgusb/repos/multilib-x86_64/PKGBUILD (from rev 246366, lib32-libgusb/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2017-07-25 19:40:07 UTC (rev 246367)
@@ -0,0 +1,53 @@
+# $Id$
+# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
+# Contributor: jtts <jussaar at mbnet.fi>
+# Contributor: josephgbr <rafael.f.f1 at gmail.com>
+
+pkgname=lib32-libgusb
+pkgver=0.2.11
+pkgrel=1
+pkgdesc='GObject wrapper for libusb1'
+arch=('x86_64')
+url='https://github.com/hughsie/libgusb'
+license=('LGPL2.1')
+depends=('lib32-glib2' 'lib32-glibc' 'lib32-libusb' 'libgusb')
+makedepends=('gcc-multilib' 'git' 'gobject-introspection' 'gtk-doc' 'python2')
+_commit='732b49b528cc69bf4c8999e088835ecab9d5c05c'
+source=("git+https://github.com/hughsie/libgusb#commit=$_commit")
+sha256sums=('SKIP')
+
+pkgver() {
+  cd libgusb
+
+  git describe --tags | sed 's/^gusb_//;s/_/./g;s/-/+/g'
+}
+
+prepare() {
+  cd libgusb
+
+  NOCONFIGURE=1 ./autogen.sh
+}
+
+build() {
+  cd libgusb
+
+  export CC='gcc -m32'
+  export CXX='g++ -m32'
+  export PKG_CONFIG_PATH='/usr/lib32/pkgconfig'
+
+  ./configure \
+    --prefix='/usr' \
+    --libdir='/usr/lib32' \
+    --disable-gtk-doc \
+    --disable-static
+  make
+}
+
+package() {
+  cd libgusb
+
+  make DESTDIR="${pkgdir}" install
+  rm -rf "${pkgdir}"/usr/{bin,include,share}
+}
+
+# vim: ts=2 sw=2 et:



More information about the arch-commits mailing list