Date: Saturday, May 16, 2020 @ 12:04:01
  Author: foutrelis
Revision: 384422

archrelease: copy trunk to staging-x86_64

Added:
  libiscsi/repos/staging-x86_64/
  libiscsi/repos/staging-x86_64/PKGBUILD
    (from rev 384421, libiscsi/trunk/PKGBUILD)

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

Copied: libiscsi/repos/staging-x86_64/PKGBUILD (from rev 384421, 
libiscsi/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD                             (rev 0)
+++ staging-x86_64/PKGBUILD     2020-05-16 12:04:01 UTC (rev 384422)
@@ -0,0 +1,32 @@
+# Maintainer: Tobias Powalowski <[email protected]>
+# Contributor: Patryk Kowalczyk <[email protected]>
+pkgname=libiscsi
+pkgver=1.19.0
+pkgrel=2
+makedepends=('git')
+depends=('glibc' 'popt' 'libgcrypt')
+pkgdesc="Clientside library to implement the iSCSI protocol"
+arch=(x86_64)
+url="https://github.com/sahlberg/libiscsi";
+license=('LGPL')
+source=(libiscsi::git+https://github.com/sahlberg/libiscsi.git#tag=${pkgver})
+sha512sums=('SKIP')
+
+build() {
+  cd "${srcdir}/${pkgname}"
+  ./autogen.sh
+
+  # Disabled werror due to GCC 8 warnings: 
https://github.com/sahlberg/libiscsi/issues/266
+  ./configure --prefix=/usr --disable-static --libdir=/usr/lib 
--disable-werror 
+  make
+}
+
+check() {
+  cd "${srcdir}/${pkgname}"
+  make check
+}
+
+package () {
+  cd "${srcdir}/${pkgname}"
+  make DESTDIR="${pkgdir}" install
+}

Reply via email to