blob: f9cda4cc5e3e4ee0fc93c0c78e415a0763356821 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
# Maintainer: Alexander Kobel <a-kobel@a-kobel.de>
pkgname=dbcc
pkgver=1.2.0
pkgrel=1
pkgdesc="CAN DBC to C (and CSV, JSON and XML) compiler"
url="https://github.com/howerj/dbcc"
arch=('x86_64')
license=('MIT')
depends=(glibc)
source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/refs/tags/v${pkgver}.tar.gz")
sha256sums=('99047e5e9e320a41837243fdc3e40d3615bdf3e99742fbec8dd7fdf7bc67ba93')
build () {
cd ${srcdir}/${pkgname}-${pkgver}
make
}
package () {
cd ${srcdir}/${pkgname}-${pkgver}
install -D -m755 dbcc -t "${pkgdir}/usr/bin"
install -D -m644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
}
|