From c5a5362c0835e2dfd23ff92625ff821680062240 Mon Sep 17 00:00:00 2001 From: Marian Buschsieweke Date: Sun, 16 Mar 2025 22:01:03 +0100 Subject: [PATCH] testing/ampy: copy license to package Add special handling for MIT as required by https://wiki.alpinelinux.org/wiki/Creating_an_Alpine_package#license --- testing/ampy/APKBUILD | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/testing/ampy/APKBUILD b/testing/ampy/APKBUILD index c8ef8b41672..07a74c6828c 100644 --- a/testing/ampy/APKBUILD +++ b/testing/ampy/APKBUILD @@ -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="