Initial commit

This commit is contained in:
datalore 2024-11-06 13:40:30 +01:00
commit adbc95c502
2 changed files with 50 additions and 0 deletions

45
PKGBUILD Normal file
View File

@ -0,0 +1,45 @@
# 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'
#'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/
}

5
Readme.md Normal file
View File

@ -0,0 +1,5 @@
# FusionInventory-Agent
This is a modified version of AUR package [fusioninventory-agent-bin](https://aur.archlinux.org/packages/fusioninventory-agent-bin) for version 2.6-3 from the official debian repositories, as version 2.6-1 from GitHub doesn't seem to work anymore.
Also, two commented out dependencies where reintroduced as they seem to be neccessary.