blob: 5d9f60f5a595007ff4a83772cd30545beb668bd5 (
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
|
# Maintainer: glatavento <glatavento at outlook dot com>
pkgname=isp55e0-git
_pkgname=isp55e0
pkgver=r43.2665a46
pkgrel=1
pkgdesc='An ISP flashing tool for the WCH CH55x, CH579, CH32F103 under linux.'
arch=(x86_64)
depends=('udev')
url='https://github.com/frank-zago/isp55e0'
license=('GPL3')
makedepends=('git' 'libusb')
source=("$pkgname::git+$url")
sha256sums=('SKIP')
pkgver() {
cd "$srcdir/$pkgname"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build() {
cd "$srcdir/$pkgname"
make
}
package() {
cd "$srcdir/$pkgname"
install -m755 -D isp55e0 ${pkgdir}/usr/bin/${_pkgname}
install -m644 -D 99-wch-isp.rules -t ${pkgdir}/usr/lib/udev/rules.d/
}
|