testing/ampy: copy license to package

Add special handling for MIT as required by
https://wiki.alpinelinux.org/wiki/Creating_an_Alpine_package#license
This commit is contained in:
Marian Buschsieweke 2025-03-16 22:01:03 +01:00 committed by Kevin Daudt
parent 49bc710419
commit c5a5362c08

View File

@ -3,7 +3,7 @@
pkgname=ampy
_pkgname=adafruit-ampy
pkgver=1.1.0
pkgrel=5
pkgrel=6
pkgdesc="Utility to interact with a MicroPython board over a serial connection"
url="https://github.com/scientifichackers/ampy"
arch="noarch"
@ -37,6 +37,8 @@ package() {
mkdir -p "$pkgdir"/usr/share/doc/$pkgname/
install -m644 README.md "$pkgdir"/usr/share/doc/$pkgname/
install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
}
sha512sums="