blob: 9f34cb0af833e1a1475c13465238ef70421dd7dd (
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
35
36
|
# Maintainer: xiretza <xiretza+aur@xiretza.xyz>
_pkgname=quicklogic-timings-importer
pkgname="$_pkgname-git"
pkgver=r75.eec0737
pkgrel=2
pkgdesc="Importer of timing data from Quicklogic EOS-S3 to SDF"
arch=(any)
url="https://github.com/QuickLogic-Corp/$_pkgname"
license=('Apache')
depends=('python' 'python-termcolor' 'python-sdf-timing')
makedepends=('git' 'python-build' 'python-installer' 'python-wheel' 'python-setuptools')
provides=("$_pkgname=$pkgver")
conflicts=("$_pkgname")
source=("git+$url.git")
sha256sums=('SKIP')
pkgver() {
cd "$_pkgname"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build() {
cd "$_pkgname"
python -m build --wheel --no-isolation
}
package() {
cd "$_pkgname"
python -m installer --destdir="$pkgdir" dist/*.whl
install -Dm 644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}
|