summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: f4230c4f72e0e712d8ec10a1dfd65d6edce481f1 (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
# Maintainer: Gonçalo Camelo Neves Pereira <goncalo_pereira@outlook.pt>

pkgname=can-utils
pkgver=2018.02.0
_pkgname=can-utils-${pkgver}
pkgrel=1
pkgdesc="Linux-CAN / SocketCAN user space applications"
arch=('any')
url="https://github.com/linux-can/can-utils"
license=('GPLv2')
makedepends=("git" "autoconf" "libtool")
provides=("can-utils")
conflicts=("can-utils-git")
source=("https://github.com/linux-can/can-utils/archive/v2018.02.0.tar.gz")
sha256sums=('SKIP')

build() {
    cd "${srcdir}"
    tar -xzf v2018.02.0.tar.gz
    pwd
    cd "${_pkgname}"
    ./autogen.sh
    ./configure --prefix=/usr
    make
}

package() {
    cd "${srcdir}/${_pkgname}"
    make install
}