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

Maxime Gauduin alucryd at archlinux.org
Thu Jun 1 21:53:07 UTC 2017


    Date: Thursday, June 1, 2017 @ 21:53:06
  Author: alucryd
Revision: 297346

upgpkg: libgusb 0.2.10-1

Modified:
  libgusb/trunk/PKGBUILD

----------+
 PKGBUILD |   32 ++++++++++++++++++--------------
 1 file changed, 18 insertions(+), 14 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-06-01 20:34:31 UTC (rev 297345)
+++ PKGBUILD	2017-06-01 21:53:06 UTC (rev 297346)
@@ -3,32 +3,35 @@
 # Contributor: Ionut Biru <ibiru at archlinux.org>
 
 pkgname=libgusb
-pkgver=0.2.9
-pkgrel=3
-pkgdesc="GObject wrapper for libusb1"
-url="https://github.com/hughsie/libgusb"
-arch=(i686 x86_64)
-license=(LGPL2.1)
-depends=(glib2 glibc libusb)
-makedepends=(gobject-introspection python2 vala gtk-doc git)
-_commit=1a9ae96944de71ca0898d820f2ff325e864c5162  # tags/gusb_0_2_9^0
+pkgver=0.2.10
+pkgrel=1
+pkgdesc='GObject wrapper for libusb1'
+url='https://github.com/hughsie/libgusb'
+arch=('i686' 'x86_64')
+license=('LGPL2.1')
+depends=('glib2' 'glibc' 'libusb')
+makedepends=('git' 'gobject-introspection' 'gtk-doc' 'python2' 'vala')
+_commit='4b7a850c64d1586f0cb3da16a8e5b8546ca50d41' # tags/gusb_0_2_10
 source=("git+https://github.com/hughsie/libgusb#commit=$_commit")
 sha256sums=('SKIP')
 
 pkgver() {
-  cd $pkgname
+  cd libgusb
+
   git describe --tags | sed 's/^gusb_//;s/_/./g;s/-/+/g'
 }
 
 prepare() {
-  cd $pkgname
+  cd libgusb
+
   NOCONFIGURE=1 ./autogen.sh
 }
 
 build() {
-  cd $pkgname
+  cd libgusb
+
   ./configure \
-    --prefix=/usr \
+    --prefix='/usr' \
     --enable-gtk-doc \
     --disable-static
   make
@@ -35,7 +38,8 @@
 }
 
 package() {
-  cd $pkgname
+  cd libgusb
+
   make DESTDIR="${pkgdir}" install
 }
 



More information about the arch-commits mailing list