Date: Sunday, November 24, 2019 @ 22:06:17 Author: alucryd Revision: 533103
upgpkg: lib32-libgusb 0.3.1-1 Modified: lib32-libgusb/trunk/PKGBUILD ----------+ PKGBUILD | 39 +++++++++++++++++++++++++-------------- 1 file changed, 25 insertions(+), 14 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2019-11-24 21:58:54 UTC (rev 533102) +++ PKGBUILD 2019-11-24 22:06:17 UTC (rev 533103) @@ -3,22 +3,32 @@ # Contributor: josephgbr <rafael.f...@gmail.com> pkgname=lib32-libgusb -pkgver=0.3.0 +pkgver=0.3.1 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') +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=7f2afe5dc3bcb6ce0d702856c9c0973efdf6ad1d) +sha256sums=(SKIP) -prepare() { - if [[ -d build ]]; then - rm -rf build - fi - mkdir build +pkgver() { + cd libgusb + + git describe --tags } build() { @@ -26,7 +36,8 @@ export CXX='g++ -m32' export PKG_CONFIG_PATH='/usr/lib32/pkgconfig' - arch-meson libgusb build --libdir='/usr/lib32' + arch-meson libgusb build \ + --libdir='/usr/lib32' ninja -C build }