# Maintainer: Schorsch # Thanks to whose packages the ps7 packages were based on pkgname=ps7_libps3000 pkgver=4.0.130_3r5654 pkgrel=1 pkgdesc="Library for PicoScope 3000 series in PicoScope 7" arch=('x86_64') url="https://labs.picotech.com/picoscope7/debian/pool/main/libp/libps3000/" license=('custom') groups=() depends=(libusb) optdepends=() provides=() conflicts=(ps7b_libps3000) replaces=() backup=() options=(!strip) install=$pkgname.install changelog= source=("https://labs.picotech.com/picoscope7/debian/pool/main/libp/libps3000/libps3000_${pkgver//_/-}_amd64.deb") md5sums=('9c91e13a2b0ef755ce795381dced461d') 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" install -Dm644 -t "${pkgdir}/usr/share/licenses/${pkgname}" "${pkgdir}/usr/share/doc/libps3000/copyright" }