blob: f8826b7323c1d526cc3140034a42a13f0f86d897 (
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
|
# Maintainer: rafael silva <perigoso at riseup dot net>
# Contributor: bs mt <bsmt at bsmt dot me>
pkgname=socketcand-git
pkgver=0.6.1.r28.g02ad0f5
pkgrel=1
pkgdesc="Provide access to CAN interfaces on a machine via a network interface."
arch=('i686' 'x86_64')
url="https://github.com/linux-can/socketcand"
license=('unknown')
makedepends=('git' 'autoconf' 'libconfig')
source=("git+https://github.com/linux-can/socketcand.git")
md5sums=('SKIP')
pkgver() {
cd 'socketcand'
git describe --long --tags --abbrev=7 | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}
prepare() {
cd 'socketcand'
./autogen.sh
./configure --prefix=/usr --disable-init-script --mandir=/usr/share/man/man1
}
build() {
cd 'socketcand'
make
}
package() {
cd 'socketcand'
make DESTDIR="$pkgdir/" install
}
|