# Maintainer: Schorsch # Thanks to whose packages the ps7b packages were based on pkgname=ps7b_libps5000 pkgver=2.1.119_3r3573 pkgrel=3 pkgdesc="Library for PicoScope 5000 series in PicoScope 7 Beta" arch=('x86_64') url="https://labs.picotech.com/rc/picoscope7/debian/pool/main/libp/libps5000/" license=('custom') groups=() depends=(libusb) optdepends=() provides=() conflicts=() replaces=() backup=() options=(!strip) install=$pkgname.install changelog= source=("https://labs.picotech.com/rc/picoscope7/debian/pool/main/libp/libps5000/libps5000_${pkgver//_/-}_amd64.deb") md5sums=('68d6c2a378c14f83a857d027e34e1bdf') package() { tar -xf data.tar.xz -C "${pkgdir}" chmod -R go-w $pkgdir chown -R root:root $pkgdir 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" }