Thanks a lot moonman.
With your help, I was able to modify the initial PKGBUILD :
$this->bbcode_second_pass_code('', '
# Contributor: Piotr Rogoża <rogoza dot piotr at gmail dot com>
# Created: 08/12/2010
# Maintainer: Salan54 <salan at fremenil dot com>
# Modified: 05/21/2013
pkgname=overlook-fing
pkgver=2.2
pkgrel=1
_altpkgname=fing
pkgdesc='The ultimate tool for network discovery and scanning'
arch=('armv6h')
url='http://www.overlooksoft.com/'
license=('custom:Overlook Freeware license')
depends=('boost-libs' 'openssl' 'zlib')
options=(!strip)
case $CARCH in
armv6h)
source=("${pkgname}-${pkgver}.deb::http://www.overlooksoft.com/packages/arm/${pkgname}-${pkgver}.deb"
"fingbox-sentinel.service"
"fingbox-sentinel.script"
)
md5sums=('3303e2785f2e82ef111af15059099cab' '013488a7afe3048524df6b7527faae69' '95dbef149b9d3a9ea3bac0bd0c77b343')
;;
esac
build() {
cd "$srcdir"
tar xvzf data.tar.gz
}
package() {
cd "$srcdir"
cp -r usr $pkgdir/
install -dm755 "${pkgdir}"/etc/${_altpkgname}
install -dm755 "${pkgdir}"/var/data/${_altpkgname}/{box,sentinel}
install -dm755 "${pkgdir}"/var/log/${_altpkgname}
install -Dm644 ./usr/share/${_altpkgname}/template/conf/sentinel.txt "${pkgdir}"/var/data/${_altpkgname}/sentinel/
install -Dm644 ./usr/share/${_altpkgname}/template/conf/*.properties "${pkgdir}"/etc/${_altpkgname}/
# systemd & fingbox-sentinel
install -Dm755 fingbox-sentinel.service "${pkgdir}"/usr/lib/systemd/system/fingbox-sentinel.service
install -Dm755 fingbox-sentinel.script "${pkgdir}"/usr/lib/systemd/scripts/fingbox-sentinel
# license
install -dm755 "${pkgdir}"/usr/share/licenses/${_altpkgname}
ln -s /usr/share/${_altpkgname}/doc/license.txt "${pkgdir}"/usr/share/licenses/${_altpkgname}/license
#libpcap.so.0.8
ln -s /usr/lib/libpcap.so.1.4.0 "${pkgdir}"/usr/lib/libpcap.so.0.8
}
')
I still have 2 questions :
I am not very sure with the line 'ln -s /usr/lib/libpcap.so.1.4.0...' : Without this line, I get a runtime error because the package is pre-built with libpcap.0.8 and the current version in the arm arch is libpcap.1.4 . With this link, it works but is there another way more correct to get it working ?
In the current AUR, there is already a package named overlook-fing with version for architecture i686 and x86_64. May I upload the arm package to AUR ? What would be the correct name : 'arm-overlook-fing' ?
Thanks for your help
Salan