[arch-commits] Commit in libiscsi/repos (testing-x86_64 testing-x86_64/PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Tue Sep 18 19:29:42 UTC 2018
Date: Tuesday, September 18, 2018 @ 19:29:41
Author: felixonmars
Revision: 334939
archrelease: copy trunk to testing-x86_64
Added:
libiscsi/repos/testing-x86_64/
libiscsi/repos/testing-x86_64/PKGBUILD
(from rev 334938, libiscsi/trunk/PKGBUILD)
----------+
PKGBUILD | 32 ++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)
Copied: libiscsi/repos/testing-x86_64/PKGBUILD (from rev 334938, libiscsi/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2018-09-18 19:29:41 UTC (rev 334939)
@@ -0,0 +1,32 @@
+# Maintainer: Tobias Powalowski <tpowa at archlinux.org>
+# Contributor: Patryk Kowalczyk <patryk at kowalczyk.ws>
+pkgname=libiscsi
+pkgver=1.18.0
+pkgrel=1
+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
+}
More information about the arch-commits
mailing list