# Contributor: arch3y # Maintainer: arch3y pkgname=libcli pkgver=1.9.7 pkgrel=2 pkgdesc="A library for including a Cisco-like command-line interface" url="https://github.com/dparrish/libcli" arch="all" options="!check" license="LGPL-2.0-or-later" source="$pkgname-$pkgver.tar.gz::https://github.com/dparrish/libcli/archive/v$pkgver.tar.gz gcc-5.2-fix.patch" builddir="$srcdir/$pkgname-$pkgver" build() { cd "$builddir" make } package() { cd "$builddir" make PREFIX=/usr DESTDIR="$pkgdir" install } sha512sums="b2dacfd40bc068ddcc0dc3d60576ef2f7d7e2af80b93c6e7ae899d654afca6f0f8d2df2b33c9c8e760bdbea9aa2eaf757029d46032dcf307341f78f1a8f4f66f libcli-1.9.7.tar.gz 4e8a3741e79f764a006bf6822ae503d6e8ff6a67a984f03e2006ed393f78b259846c64640288ee5f59074eb1730e41ec1af3b7f5307885c8e671b1096a9bea15 gcc-5.2-fix.patch"