summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorSanpi2020-07-24 11:10:51 +0200
committerSanpi2020-07-24 11:13:35 +0200
commit25f67fca915a25d66c726abe31c56519fbac8df0 (patch)
tree9a269d8d1ed512ce348dcbe6853f147a2ab4dd56
downloadaur-25f67fca915a25d66c726abe31c56519fbac8df0.tar.gz
v0.8.0
-rw-r--r--.SRCINFO14
-rw-r--r--.gitignore4
-rw-r--r--PKGBUILD25
3 files changed, 43 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..e0b9c154abe
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,14 @@
+pkgbase = cargo-flash
+ pkgdesc = A cargo extension for programming microcontrollers
+ pkgver = 0.8.0
+ pkgrel = 1
+ url = https://probe.rs/
+ arch = x86_64
+ license = MIT
+ license = Apache
+ depends = cargo
+ source = https://probe.rs//archive/v0.8.0.tar.gz
+ sha256sums = f718165acb371f0a8f1e4799ea06a08427f4784d7fdad4fb9d48b44a3fbc9cd0
+
+pkgname = cargo-flash
+
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 00000000000..1295580f101
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,4 @@
+/pkg
+/*.pkg.tar.*
+/*.tar.gz
+/src
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..a051b2f7f69
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,25 @@
+# Maintainer: Sanpi <sanpi+aur@homecomputing.fr>
+pkgname=cargo-flash
+pkgver=0.8.0
+pkgrel=1
+pkgdesc="A cargo extension for programming microcontrollers"
+url="https://probe.rs/"
+arch=("x86_64")
+license=("MIT" "Apache")
+depends=("cargo")
+source=("$url/archive/v$pkgver.tar.gz")
+sha256sums=('f718165acb371f0a8f1e4799ea06a08427f4784d7fdad4fb9d48b44a3fbc9cd0')
+
+build()
+{
+ cd "$srcdir/$pkgname-$pkgver"
+
+ cargo build --release
+}
+
+package()
+{
+ cd "$srcdir/$pkgname-$pkgver"
+
+ install -Dm 755 "target/release/$pkgname" "$pkgdir/usr/bin/$pkgname"
+}