summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorSanpi2020-11-02 19:47:12 +0100
committerSanpi2020-11-02 19:47:12 +0100
commitfc232781ed173a8211954dbd4c91b0b9253cb657 (patch)
tree20521101757de8911b5fa1d1aade45de04d1cf65
parentd1a4ea6efc1fda5a20bafd9ccc9bad8d6bc8b434 (diff)
downloadaur-fc232781ed173a8211954dbd4c91b0b9253cb657.tar.gz
Install MIT license
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD3
2 files changed, 3 insertions, 2 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 729831d2cd8..0b4bf05dca8 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = cargo-flash
pkgdesc = A cargo extension for programming microcontrollers
pkgver = 0.9.0
- pkgrel = 1
+ pkgrel = 2
url = https://probe.rs/
arch = x86_64
license = MIT
diff --git a/PKGBUILD b/PKGBUILD
index 815ea11efce..0160ee66a66 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: Sanpi <sanpi+aur@homecomputing.fr>
pkgname=cargo-flash
pkgver=0.9.0
-pkgrel=1
+pkgrel=2
pkgdesc="A cargo extension for programming microcontrollers"
url="https://probe.rs/"
arch=("x86_64")
@@ -22,4 +22,5 @@ package()
cd "$srcdir/$pkgname-$pkgver"
install -Dm 755 "target/release/$pkgname" "$pkgdir/usr/bin/$pkgname"
+ install -Dm 644 LICENSE-MIT "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}