blob: 4c039ce4cfd0d65f1b356334d788f2349b962812 (
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
|
pkgname=cangaroo
pkgver=0.2.2
pkgrel=1
pkgdesc="An Open-Source CAN Monitor"
arch=('any')
license=('GPL')
depends=(
'git'
'qt5-base'
)
url="https://github.com/HubertD/cangaroo"
source=("$pkgname::git+https://github.com/HubertD/cangaroo.git#tag=$pkgver")
md5sums=('SKIP')
build(){
cd "$srcdir/$pkgname"
# master is the normal one. msgfilter is the current
git checkout $pkgver
qmake
make
}
package() {
cd "$srcdir/$_pkgname"
install -Dm755 "$srcdir/$pkgname/bin/cangaroo" "$pkgdir/usr/bin/cangaroo"
install -Dm644 "$srcdir/$pkgname/$pkgname.desktop" "$pkgdir/usr/share/applications/$pkgname.desktop"
install -Dm644 "$srcdir/$pkgname/src/assets/cangaroo.png" "$pkgdir/usr/share/pixmaps/cangaroo.png"
}
|