summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 151c63caa0e484e1c0b784e28d93137bd4d6f646 (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
# Maintainer: Achmad Fathoni <fathoni DOT id AT gmail DOT com>

pkgname=evaltool-bin
pkgver=1.11.1
pkgrel=1
pkgdesc="Explore and test functionality of the Inertial Sense products in real-time"
arch=('x86_64')
url="https://docs.inertialsense.com/user-manual/software/evaltool/"
license=('MIT')
_file="EvalTool_${pkgver}_linux_installer"

source=("https://github.com/inertialsense/inertial-sense-sdk/releases/download/${pkgver}/$_file.zip"
        "90-inertialsense.rules")
sha256sums=('fd5fbd5be30fd2b37ababd961b07be63509d60c81b080059519ab92d62302bb1'
            '8352c76db701b3ee1e98424eb7f373b596b7637ae7c8c042eb497b5916a00416')

package(){
    # Install udev rule
    install -Dm644 90-inertialsense.rules ${pkgdir}/etc/udev/rules.d/90-inertialsense.rules

	# Extract package data
    cd ${srcdir}/$_file
	ar xv EvalTool_${pkgver}.deb
	tar xf data.tar.zst -C "${pkgdir}"
    find "${pkgdir}" -type d -exec chmod 755 {} \;
}