# Maintainer: Novikov Maxim pkgname=fusioninventory-agent-bin _pkgname="FusionInventory-Agent" pkgver=2.6 pkgrel=3 pkgdesc="An application for keeping track of the hardware and software" arch=(any) url="https://github.com/fusioninventory/fusioninventory-agent" license=('GPL') provides=('fusioninventory-agent') conflicts=('fusioninventory-agent') install=.INSTALL depends=( 'perl>=5.8' 'perl-module-build' 'perl-file-which' # Provides LWP::UserAgent 'perl-libwww>=5.8' 'perl-net-ip' 'perl-text-template' 'perl-universal-require' 'perl-xml-treepp>=0.26' 'perl-data-structure-util' 'perl-io-socket-ssl' 'perl-lwp-protocol-https' #'perl-proc-daemon' ) source=("http://ftp.de.debian.org/debian/pool/main/f/fusioninventory-agent/fusioninventory-agent_2.6-3_all.deb" ) md5sums=('8a4248549417a33fd417f077995e7015' ) package() { tar xf ${srcdir}/data.tar.xz # Clear unlink ${srcdir}/control.tar.xz unlink ${srcdir}/data.tar.xz unlink ${srcdir}/debian-binary unlink ${srcdir}/fusioninventory-agent_${pkgver}-${pkgrel}_all.deb cp -a ${srcdir}/etc/ $pkgdir/etc/ cp -a ${srcdir}/usr/ $pkgdir/usr/ cp -a ${srcdir}/lib/ $pkgdir/usr/lib/ cp -a ${srcdir}/var/ $pkgdir/var/ }