Date: Sunday, November 17, 2019 @ 15:36:51 Author: anthraxx Revision: 530031
archrelease: copy trunk to community-staging-x86_64 Added: libcli/repos/community-staging-x86_64/ libcli/repos/community-staging-x86_64/PKGBUILD (from rev 530030, libcli/trunk/PKGBUILD) ----------+ PKGBUILD | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) Copied: libcli/repos/community-staging-x86_64/PKGBUILD (from rev 530030, libcli/trunk/PKGBUILD) =================================================================== --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2019-11-17 15:36:51 UTC (rev 530031) @@ -0,0 +1,31 @@ +# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org> +# Contributor: Rudy Matela <r...@matela.com.br> +# Contributor: Mike Roberts <noodle...@gmail.com> + +pkgname=libcli +pkgver=1.10.2 +pkgrel=1 +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=(https://github.com/dparrish/libcli/archive/V${pkgver}/${pkgname}-${pkgver}.tar.gz) +sha512sums=('f09817683d298da0b6c71253f8560b76b6a706589804a1c6afe87ce8ae37b8b3430b15380b0807cb805de0fd87753f95bbc1c174ea1c7e561fcff56f0f55c960') + +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: