blob: be4e72119db9fa7d0207f24f007c7ef950ae3e94 (
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
37
38
39
40
41
42
|
# Maintainer: jem <jem ΑΤ seethis DΟΤ link>
pkgname=python-xusbboot
pkgver=0.0.2
pkgrel=1
epoch=
pkgdesc="python scripts for flashing atxmega xusb-boot bootloader"
arch=('any')
url="https://github.com/ahtn/xusb-boot"
license=('MIT')
groups=()
depends=('python-easyhid' 'python-intelhex' 'python-hexdump')
makedepends=('python' 'python-setuptools')
checkdepends=()
optdepends=()
provides=('python-xusbboot')
conflicts=('python-xusbboot')
replaces=()
backup=()
options=()
install=
changelog=
source=(
"${pkgname}-${pkgver}.tar.gz::${url}/archive/py-${pkgver}.tar.gz"
)
sha512sums=(
'6eb07ba738dac235f1bac85be9a5b43af670294a62d0216235f138e62602ed84ad6f455d7af90aa4e6ee3711420b3f207368a214e7af187cdb0670a072c8ec94'
)
noextract=()
validpgpkeys=()
_srcdir="xusb-boot-py-${pkgver}"/scripts
build() {
cd $_srcdir
python setup.py build
}
package() {
cd $_srcdir
python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
install -Dm 644 ../LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
}
|