Date: Tuesday, July 3, 2018 @ 11:47:31
  Author: alucryd
Revision: 350874

archrelease: copy trunk to multilib-x86_64

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

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD    2018-07-03 11:47:26 UTC (rev 350873)
+++ PKGBUILD    2018-07-03 11:47:31 UTC (rev 350874)
@@ -1,53 +0,0 @@
-# $Id$
-# Maintainer: Maxime Gauduin <aluc...@archlinux.org>
-# Contributor: jtts <juss...@mbnet.fi>
-# Contributor: josephgbr <rafael.f...@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:

Copied: lib32-libgusb/repos/multilib-x86_64/PKGBUILD (from rev 350873, 
lib32-libgusb/trunk/PKGBUILD)
===================================================================
--- PKGBUILD                            (rev 0)
+++ PKGBUILD    2018-07-03 11:47:31 UTC (rev 350874)
@@ -0,0 +1,39 @@
+# $Id$
+# Maintainer: Maxime Gauduin <aluc...@archlinux.org>
+# Contributor: jtts <juss...@mbnet.fi>
+# Contributor: josephgbr <rafael.f...@gmail.com>
+
+pkgname=lib32-libgusb
+pkgver=0.3.0
+pkgrel=1
+pkgdesc='GObject wrapper for libusb1'
+arch=('x86_64')
+url='https://github.com/hughsie/libgusb'
+license=('LGPL2.1')
+depends=('lib32-glib2' 'lib32-libusb' 'libgusb')
+makedepends=('git' 'gobject-introspection' 'gtk-doc' 'meson' 'python2' 'vala')
+source=("git+https://github.com/hughsie/libgusb#tag=${pkgver}";)
+sha256sums=('SKIP')
+
+prepare() {
+  if [[ -d build ]]; then
+    rm -rf build
+  fi
+  mkdir build
+}
+
+build() {
+  export CC='gcc -m32'
+  export CXX='g++ -m32'
+  export PKG_CONFIG_PATH='/usr/lib32/pkgconfig'
+
+  arch-meson libgusb build --libdir='/usr/lib32'
+  ninja -C build
+}
+
+package() {
+  DESTDIR="${pkgdir}" ninja -C build install
+  rm -rf "${pkgdir}"/usr/{bin,include,share}
+}
+
+# vim: ts=2 sw=2 et:

Reply via email to