blob: 59808f503a13234bf0fd29ab564ae4b05372f59a (
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
|
# Submitted by fenugrec 2018
_pkgbase='cmdebug'
pkgname="python-${_pkgbase}-git"
pkgver=r52.65e8b50
pkgrel=1
pkgdesc='Debug utilities for ARM Cortex-M microprocessors'
arch=('any')
url='https://github.com/posborne/cmsis-svd'
license=('GPL3')
depends=('python' 'python-lxml')
makedepends=('python-setuptools')
source=("${_pkgbase}::git+https://github.com/bnahill/PyCortexMDebug")
md5sums=('SKIP')
pkgver() {
cd "${srcdir}/${_pkgbase}"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build() {
cd "${srcdir}/${_pkgbase}"
python setup.py build
}
package() {
cd "${srcdir}/${_pkgbase}"
python setup.py install --root="$pkgdir/" --optimize=1 --skip-build
}
|