[arch-commits] Commit in libcli/repos (community-x86_64 community-x86_64/PKGBUILD)
Levente Polyak
anthraxx at archlinux.org
Tue Nov 20 22:37:10 UTC 2018
Date: Tuesday, November 20, 2018 @ 22:37:09
Author: anthraxx
Revision: 409241
archrelease: copy trunk to community-x86_64
Added:
libcli/repos/community-x86_64/
libcli/repos/community-x86_64/PKGBUILD
(from rev 409240, libcli/trunk/PKGBUILD)
----------+
PKGBUILD | 31 +++++++++++++++++++++++++++++++
1 file changed, 31 insertions(+)
Copied: libcli/repos/community-x86_64/PKGBUILD (from rev 409240, libcli/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD (rev 0)
+++ community-x86_64/PKGBUILD 2018-11-20 22:37:09 UTC (rev 409241)
@@ -0,0 +1,31 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+# Contributor: Rudy Matela <rudy at matela.com.br>
+# Contributor: Mike Roberts <noodlesgc at gmail.com>
+
+pkgname=libcli
+pkgver=1.9.7
+pkgrel=3
+pkgdesc='Library for including a Cisco-like command-line interface into other software'
+url='https://github.com/dparrish/libcli'
+arch=('x86_64')
+license=('LGPL2.1')
+depends=('glibc')
+provides=('libcli.so')
+source=(${pkgname}-${pkgver}.tar.gz::https://github.com/dparrish/libcli/archive/v${pkgver}.tar.gz)
+sha512sums=('b2dacfd40bc068ddcc0dc3d60576ef2f7d7e2af80b93c6e7ae899d654afca6f0f8d2df2b33c9c8e760bdbea9aa2eaf757029d46032dcf307341f78f1a8f4f66f')
+
+prepare() {
+ sed -i 's/-Werror//' ${pkgname}-${pkgver}/Makefile
+}
+
+build() {
+ cd ${pkgname}-${pkgver}
+ make
+}
+
+package() {
+ cd ${pkgname}-${pkgver}
+ make DESTDIR="${pkgdir}" PREFIX=/usr install
+}
+
+# vim: ts=2 sw=2 et:
More information about the arch-commits
mailing list