# Contributor: arch3y # Maintainer: arch3y pkgname=libcli pkgver=1.10.2 pkgrel=0 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" build() { make DYNAMIC_LIB=1 STATIC_LIB=0 TESTS=1 } check() { ./clitest } package() { make PREFIX=/usr DESTDIR="$pkgdir" STATIC_LIB=0 install } sha512sums="f09817683d298da0b6c71253f8560b76b6a706589804a1c6afe87ce8ae37b8b3430b15380b0807cb805de0fd87753f95bbc1c174ea1c7e561fcff56f0f55c960 libcli-1.10.2.tar.gz"