Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
31 lines (25 sloc) 793 Bytes
# Maintainer: ArchStrike <team@archstrike.org>
buildarch=220
pkgname='libcli'
pkgver='1.10.2'
pkgrel=1
pkgdesc='A shared library for including a Cisco-like command-line interface into other software.'
arch=('i686' 'x86_64' 'armv6h' 'armv7h' 'aarch64')
url='https://github.com/dparrish/libcli'
license=('GPL')
depends=('glibc')
source=("${url}/archive/V${pkgver}.tar.gz")
sha512sums=('f09817683d298da0b6c71253f8560b76b6a706589804a1c6afe87ce8ae37b8b3430b15380b0807cb805de0fd87753f95bbc1c174ea1c7e561fcff56f0f55c960')
prepare() {
# patch for gcc 5.2
cd "${pkgname}-${pkgver}" || exit
sed -i 's|__FUNCTION__|__func__|' clitest.c
}
build() {
cd "${pkgname}-${pkgver}" || exit
make
}
package() {
cd "${pkgname}-${pkgver}" || exit
make DESTDIR="${pkgdir}" PREFIX='/usr' install
}
You can’t perform that action at this time.