summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: a69b3a1acf27b4585683967c1f965f3b53b6c7a0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# Maintainer: shtrophic <aur at shtrophic dot net>
# Contributor: Hans Gaiser <hansg91@gmail.com>

pkgname=ids-peak-ueyetl
pkgdesc="IDS peak is a modern, free software development kit for all USB3 Vision and GigE Vision compliant industrial cameras from any manufacturer. (Version with uEye transport layer)"
pkgver=2.12.0
pkgrel=1
provides=(ids-peak)
conflicts=(ids-peak)
arch=(x86_64)
license=(custom)
url="https://en.ids-imaging.com/ids-peak.html"
depends=('libusb' 'qt5-base' 'qt5-multimedia' 'hicolor-icon-theme')
optdepends=('ueyed: IDS uEye camera deamon (USB and ethernet)')

_dir="ids-peak-with-ueyetl_$pkgver.0-54_amd64"
source=(
	"https://de.ids-imaging.com/files/downloads/ids-peak/software/linux-desktop/$_dir.tgz"
	"ids-peak.rules"
	"ids-peak-sysusers.conf"
)
sha512sums=('f48ce8f0c0098ad64619df1b6a4c9aadb86301e72b99deae73d9dbf2d07c93c885ce3050a652f6d210949af31672bb28d05f82d20cf5d86093260bf9dab18dd1'
            'c92de0fa8f5c95ae95a715f70b6dfedb86a566eb80a9b090bb604785837e39ef40e3896d5e8f1f9271647958b87e4cef42dc0ed3a14cc4a1dd77c560d1ad5c4b'
            '05b961501a56b1827986aabc2a5ea8320b711fb0089615b212711814906c52af51205f04ffd9df436510362b185911797176bb6ed71bec4e35db8b1cd4d1f408')

package() {
	mkdir "$pkgdir/usr"
	cp -R "$srcdir/$_dir/bin"     "$pkgdir/usr"
	cp -R "$srcdir/$_dir/include" "$pkgdir/usr"
	cp -R "$srcdir/$_dir/lib"     "$pkgdir/usr"
	cp -R "$srcdir/$_dir/share"   "$pkgdir/usr"

	install -D -m 644 "$srcdir/ids-peak.rules" -t "$pkgdir/usr/lib/udev/rules.d"
	install -D -m 644 "$srcdir/ids-peak-sysusers.conf" "$pkgdir/usr/lib/sysusers.d/ids-peak-sysusers.conf"
}