[arch-commits] Commit in libgusb/repos/extra-x86_64 (PKGBUILD PKGBUILD)
Maxime Gauduin
alucryd at archlinux.org
Tue Jun 26 17:46:49 UTC 2018
Date: Tuesday, June 26, 2018 @ 17:46:48
Author: alucryd
Revision: 327621
archrelease: copy trunk to extra-x86_64
Added:
libgusb/repos/extra-x86_64/PKGBUILD
(from rev 327620, libgusb/trunk/PKGBUILD)
Deleted:
libgusb/repos/extra-x86_64/PKGBUILD
----------+
PKGBUILD | 73 ++++++++++++++++++++++---------------------------------------
1 file changed, 27 insertions(+), 46 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2018-06-26 17:46:38 UTC (rev 327620)
+++ PKGBUILD 2018-06-26 17:46:48 UTC (rev 327621)
@@ -1,46 +0,0 @@
-# $Id$
-# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
-# Contributor: Ionut Biru <ibiru at archlinux.org>
-
-pkgname=libgusb
-pkgver=0.2.11
-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='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
-
- ./configure \
- --prefix='/usr' \
- --enable-gtk-doc \
- --disable-static
- make
-}
-
-package() {
- cd libgusb
-
- make DESTDIR="${pkgdir}" install
-}
-
-# vim: ts=2 sw=2 et:
Copied: libgusb/repos/extra-x86_64/PKGBUILD (from rev 327620, libgusb/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2018-06-26 17:46:48 UTC (rev 327621)
@@ -0,0 +1,27 @@
+# $Id$
+# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
+# Contributor: Ionut Biru <ibiru at archlinux.org>
+
+pkgname=libgusb
+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' 'libusb')
+makedepends=('git' 'gobject-introspection' 'gtk-doc' 'meson' 'python2' 'vala')
+_commit='732b49b528cc69bf4c8999e088835ecab9d5c05c'
+source=("git+https://github.com/hughsie/libgusb#tag=${pkgver}")
+sha256sums=('SKIP')
+
+build() {
+ arch-meson libgusb build
+ ninja -C build
+}
+
+package() {
+ DESTDIR="${pkgdir}" ninja -C build install
+}
+
+# vim: ts=2 sw=2 et:
More information about the arch-commits
mailing list