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

Maxime Gauduin alucryd at archlinux.org
Wed Jan 22 10:14:47 UTC 2020


    Date: Wednesday, January 22, 2020 @ 10:14:47
  Author: alucryd
Revision: 553442

upgpkg: lib32-libteam 1.30-1

Modified:
  lib32-libteam/trunk/PKGBUILD

----------+
 PKGBUILD |   26 ++++++++++++++++----------
 1 file changed, 16 insertions(+), 10 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-01-22 09:52:31 UTC (rev 553441)
+++ PKGBUILD	2020-01-22 10:14:47 UTC (rev 553442)
@@ -2,11 +2,11 @@
 # Contributor: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
 
 pkgname=lib32-libteam
-pkgver=1.29
+pkgver=1.30
 pkgrel=1
 pkgdesc='Library for controlling team network device'
 arch=(x86_64)
-url='http://libteam.org/'
+url=http://libteam.org/
 license=(LGPL2.1)
 depends=(
   lib32-dbus
@@ -20,9 +20,15 @@
   lib32-libdaemon
   swig
 )
-source=(git+https://github.com/jpirko/libteam.git#tag=v${pkgver})
-sha256sums=('SKIP')
+source=(git+https://github.com/jpirko/libteam.git#tag=471fb50d206e5a3f2eef9e4247329b51edc5c493)
+sha256sums=(SKIP)
 
+pkgver() {
+  cd libteam
+
+  git describe --tags | sed 's/^v//'
+}
+
 prepare() {
   cd libteam
 
@@ -33,14 +39,14 @@
   cd libteam
 
   export CC='gcc -m32'
-  export PKG_CONFIG_PATH='/usr/lib32/pkgconfig'
+  export PKG_CONFIG_PATH=/usr/lib32/pkgconfig
 
   ./configure \
-    --prefix='/usr' \
-    --libdir='/usr/lib32' \
-    --libexecdir='/usr/lib32' \
-    --localstatedir='/var' \
-    --sysconfdir='/etc' \
+    --prefix=/usr \
+    --libdir=/usr/lib32 \
+    --libexecdir=/usr/lib32 \
+    --localstatedir=/var \
+    --sysconfdir=/etc \
     --disable-static
     make
 }



More information about the arch-commits mailing list