blob: 27cf01db76ca6cf58f6cbcffa597ec551ba0b319 (
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
36
37
38
39
40
41
42
43
44
45
46
|
# Maintainer: Schorsch <wsixcde+aur at gmail dot com>
# Thanks to <mti at tillenius dot com> whose packages the ps7 packages were based on
pkgname=picoscope7
pkgver=7.1.39_1r3737
pkgrel=1
pkgdesc="PicoScope 7 Test and Measurment Stable"
arch=('x86_64')
url="https://www.picotech.com/downloads/linux"
license=('custom')
groups=()
depends=(gtk-sharp-3 ps7_libpicoipp ps7_libpicocv desktop-file-utils which)
optdepends=('ps7_libps2000: Support for PicoScope 2000 series'
'ps7_libps2000a: Support for PicoScope 2000a series'
'ps7_libps3000: Support for PicoScope 3000 series'
'ps7_libps3000a: Support for PicoScope 3000a series'
'ps7_libps4000: Support for PicoScope 4000 series'
'ps7_libps4000a: Support for PicoScope 4000a series'
'ps7_libps5000: Support for PicoScope 5000 series'
'ps7_libps5000a: Support for PicoScope 5000a series'
'ps7_libps6000: Support for PicoScope 6000 series'
'ps7_libps6000a: Support for PicoScope 6000a series'
)
provides=()
conflicts=(picoscope7beta)
replaces=()
backup=()
options=(!strip)
install=$pkgname.install
changelog=
source=("https://labs.picotech.com/picoscope7/debian/pool/main/p/picoscope/picoscope_${pkgver//_/-}_amd64.deb")
md5sums=('a2910875f621630a7a9d32bd4db6c5d4')
package() {
tar -xf data.tar.xz -C "${pkgdir}"
chmod -R go-w $pkgdir
chown -R root:root $pkgdir
mkdir -p $pkgdir/usr/bin
ln -s /opt/picoscope/bin/picoscope $pkgdir/usr/bin/picoscope
mkdir -p $pkgdir/opt/picoscope/scripts
tar -xf control.tar.xz -C "${pkgdir}/opt/picoscope/scripts" ./postinst
mv "${pkgdir}/opt/picoscope/scripts/postinst" "${pkgdir}/opt/picoscope/scripts/${pkgname}_postinst"
install -Dm644 -t "${pkgdir}/usr/share/licenses/${pkgname}" "${pkgdir}/usr/share/doc/picoscope/copyright"
}
|