[arch-commits] Commit in libgusb/trunk (PKGBUILD)

Maxime Gauduin alucryd at archlinux.org
Tue Jun 26 17:46:38 UTC 2018


    Date: Tuesday, June 26, 2018 @ 17:46:38
  Author: alucryd
Revision: 327620

upgpkg: libgusb 0.3.0-1

Modified:
  libgusb/trunk/PKGBUILD

----------+
 PKGBUILD |   33 +++++++--------------------------
 1 file changed, 7 insertions(+), 26 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-06-26 15:16:20 UTC (rev 327619)
+++ PKGBUILD	2018-06-26 17:46:38 UTC (rev 327620)
@@ -3,44 +3,25 @@
 # Contributor: Ionut Biru <ibiru at archlinux.org>
 
 pkgname=libgusb
-pkgver=0.2.11
+pkgver=0.3.0
 pkgrel=1
 pkgdesc='GObject wrapper for libusb1'
 url='https://github.com/hughsie/libgusb'
 arch=('x86_64')
 license=('LGPL2.1')
-depends=('glib2' 'glibc' 'libusb')
-makedepends=('git' 'gobject-introspection' 'gtk-doc' 'python2' 'vala')
+depends=('glib2' 'libusb')
+makedepends=('git' 'gobject-introspection' 'gtk-doc' 'meson' 'python2' 'vala')
 _commit='732b49b528cc69bf4c8999e088835ecab9d5c05c'
-source=("git+https://github.com/hughsie/libgusb#commit=$_commit")
+source=("git+https://github.com/hughsie/libgusb#tag=${pkgver}")
 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
-
-  ./configure \
-    --prefix='/usr' \
-    --enable-gtk-doc \
-    --disable-static
-  make
+  arch-meson libgusb build
+  ninja -C build
 }
 
 package() {
-  cd libgusb
-
-  make DESTDIR="${pkgdir}" install
+  DESTDIR="${pkgdir}" ninja -C build install
 }
 
 # vim: ts=2 sw=2 et:



More information about the arch-commits mailing list