blob: 4db7e6e715587e9db280e74549f8e48a4f201749 (
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
|
# Maintainer: Benjamin Gallois <benjamin.gallois at fasttrack dot sh>
pkgbase=fasttrack
pkgname=(fasttrack fasttrack-cli)
pkgver=6.3.4
pkgrel=1
pkgdesc='Multiple objects tracking software, easy to use, and performant.'
arch=(any)
url='https://www.fasttrack.sh'
license=(GPL3)
groups=()
depends=('opencv>=4.0.0' qt6-base qt6-webengine qt6-svg gcc-libs)
source=(${pkgbase}-${pkgver}.tar.gz::https://github.com/FastTrackOrg/FastTrack/archive/refs/tags/v$pkgver.tar.gz)
sha256sums=('7ce8ca265178cb689d677b02c76ab77ba18e1a35ad59ca9d14cf11728f8ffad8')
prepare() {
mv "FastTrack-$pkgver" "$pkgbase-$pkgver"
}
build() {
cd "$pkgbase-$pkgver"
qmake6 CONFIG+=release src/FastTrack.pro
make
qmake6 CONFIG+=release src/FastTrack-Cli.pro
make
}
package_fasttrack() {
cd "$pkgbase-$pkgver"
install -D build/fasttrack -t "$pkgdir"/usr/bin/
install -D sh.fasttrack.fasttrack.desktop -t "$pkgdir"/usr/share/applications/
install -D sh.fasttrack.fasttrack.metainfo.xml -t "$pkgdir"/usr/share/metainfo/
install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
install -D src/assets/fasttrack.png -t "$pkgdir"/usr/share/icons/$pkgname/
}
package_fasttrack-cli() {
cd "$pkgbase-$pkgver"
install -D build_cli/fasttrack-cli "$pkgdir"/usr/bin/fasttrack-cli
}
|