commit adbc95c5021f844fd259c00f9429670196c16a60 Author: datalore Date: Wed Nov 6 13:40:30 2024 +0100 Initial commit diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 0000000..a7741be --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,45 @@ +# 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-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/ +} diff --git a/Readme.md b/Readme.md new file mode 100644 index 0000000..4c47b04 --- /dev/null +++ b/Readme.md @@ -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.