void-packages/srcpkgs/drivestrike/template

26 lines
785 B
Bash

# Template file for 'drivestrike'
pkgname=drivestrike
version=2.1.22
revision=1
_ver="${version}-31"
_filename="${pkgname}_${_ver}_amd64.deb"
archs="x86_64"
short_desc="Machine agent for DriveStrike Fleet Management"
maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
license="custom:Proprietary"
homepage="https://drivestrike.com"
distfiles="https://app.drivestrike.com/static/apt/pool/main/d/drivestrike/${_filename}"
checksum=6e5c97cadfffd0f736f2e1d6678b2db2893d49efb2dc904bfa59d22a74827605
repository=nonfree
restricted=yes
nostrip=yes
do_install() {
vbin usr/bin/drivestrike
vsv drivestrike
# Fetched on 2022-08-26 from their website, link:
# https://drivestrike.com/about/drivestrike-support/end-user-subscription-agreement/
vlicense ${FILESDIR}/LICENSE
}