summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: d5a5a7d3f170fe438381a5dcd2476b931ffd6677 (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: Phillip Schichtel <phillip@schich.tel>
# Contributor: Gonçalo Camelo Neves Pereira <goncalo_pereira@outlook.pt>

pkgname=can-utils
pkgver=2023.03
_pkgname=can-utils-${pkgver}
pkgrel=1
pkgdesc="Linux-CAN / SocketCAN user space applications"
arch=('x86_64' 'armv6h' 'armv7h' 'aarch64')
url="https://github.com/linux-can/can-utils"
license=('GPL2')
conflicts=("can-utils-git")
source=("git+https://github.com/linux-can/can-utils.git#commit=cfe41963f3425e9adb01a70cfaddedf5e5982720")
sha256sums=('SKIP')
makedepends=('git' 'cmake' 'ninja')

build() {
    cd can-utils
    cmake -GNinja -DCMAKE_INSTALL_PREFIX="$pkgdir/usr" .
    ninja
}

package() {
    cd can-utils
    ninja install
}