diff options
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 4 | ||||
-rw-r--r-- | ueyed.install | 13 |
3 files changed, 17 insertions, 4 deletions
@@ -1,9 +1,7 @@ -# Generated by mksrcinfo v8 -# Mon Feb 22 10:41:57 UTC 2016 pkgbase = ueyed pkgdesc = IDS uEye camera daemon (USB and ethernet) pkgver = 4.72 - pkgrel = 1 + pkgrel = 2 url = https://en.ids-imaging.com install = ueyed.install arch = x86_64 @@ -3,7 +3,7 @@ pkgname=ueyed pkgdesc="IDS uEye camera daemon (USB and ethernet)" pkgver=4.72 -pkgrel=1 +pkgrel=2 arch=(x86_64) license=(custom) url='https://en.ids-imaging.com' @@ -36,6 +36,8 @@ prepare() { "./ueyesdk-setup-$pkgver-eth-amd64.gz.run" --noexec --target "$srcdir/ueyeethd" "./ueyesdk-setup-$pkgver-usb-amd64.gz.run" --noexec --target "$srcdir/ueyeusbd" + + sed -ie 's#/usr\/local/share/ueye/bin/#/usr/bin/#g' "$srcdir/ueyeethd/ueyeethdnotify" } __install_dir() { diff --git a/ueyed.install b/ueyed.install index c81590da9088..cffcd0a8f145 100644 --- a/ueyed.install +++ b/ueyed.install @@ -1,3 +1,16 @@ +_config_message() { + echo "The ethernet daemon must be configured using /etc/ueye/ueyeethd.conf" + echo "You also need to make sure /usr/bin/ueyeethdnotify or /usr/bin/ueyenotify is called when an interface comes up or down." +} + post_install() { useradd --system -M --shell /bin/false ueyed + _config_message +} + +post_upgrade() { + old_version=$2 + diff="$(vercmp $old_version '4.72-2')" + (( diff < 0 )) && _config_message + true } |