fusioninventory-agent-bin/PKGBUILD

48 lines
1.2 KiB
Bash
Raw Permalink Normal View History

2024-11-06 13:40:30 +01:00
# Maintainer: Novikov Maxim <the.mlex@gmail.com>
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'
2024-11-11 13:19:41 +01:00
'perl-io-socket-ssl'
'perl-lwp-protocol-https'
2024-11-06 13:40:30 +01:00
#'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/
}