summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO5
-rw-r--r--PKGBUILD11
2 files changed, 5 insertions, 11 deletions
diff --git a/.SRCINFO b/.SRCINFO
index bda4f7c9a53a..6b25331c0cd9 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,11 +1,9 @@
pkgbase = can-tests-git
pkgdesc = Linux-CAN / SocketCAN testing applications
pkgver = 2023.05.0.r5.g3258274
- pkgrel = 6
+ pkgrel = 25
url = https://github.com/linux-can/can-tests
arch = x86_64
- arch = aarch64
- arch = riscv64
license = GPL-2.0-only
license = BSD-3-Clause
makedepends = git
@@ -13,7 +11,6 @@ pkgbase = can-tests-git
depends = bash
optdepends = can-utils: Linux-CAN / SocketCAN user space applications
optdepends = can-doc: Linux-CAN / SocketCAN documentation
- optdepends = can-isotp-dkms: Kernel modules for isotp
provides = can-tests
conflicts = can-tests
source = can-tests-git::git+https://github.com/linux-can/can-tests.git
diff --git a/PKGBUILD b/PKGBUILD
index e5dc7eb5f015..0faab7011156 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,12 +3,10 @@
pkgbase=can-tests-git
pkgname=can-tests-git
pkgver=2023.05.0.r5.g3258274
-pkgrel=6
+pkgrel=25
groups=()
pkgdesc="Linux-CAN / SocketCAN testing applications"
-arch=(x86_64
- aarch64
- riscv64)
+arch=($CARCH)
url="https://github.com/linux-can/can-tests"
license=('GPL-2.0-only' 'BSD-3-Clause')
provides=(${pkgname%-git})
@@ -19,7 +17,7 @@ makedepends=(git)
optdepends=(
"can-utils: Linux-CAN / SocketCAN user space applications"
"can-doc: Linux-CAN / SocketCAN documentation"
- "can-isotp-dkms: Kernel modules for isotp")
+)
source=("${pkgname}::git+${url}.git")
sha256sums=('SKIP')
@@ -28,8 +26,7 @@ pkgver() {
git describe --long --tags | sed 's/^v//g' | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}
-prepare()
-{
+prepare() {
git -C "${srcdir}/${pkgname}" clean -dfx
}