aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeter Shkenev <santurysim@gmail.com>2023-07-10 20:17:47 +0000
committerpsykose <alice@ayaya.dev>2023-07-10 22:17:47 +0200
commit380b62d28a2732f854ceab9a527bbe2fd8ae9990 (patch)
treec90295aac635341104b0467de161aed76b2c8199
parent269f1936152fe8ce2d86ccc903b6401a00f2a692 (diff)
testing/dfu-programmer: upgrade to 1.1.0
-rw-r--r--testing/dfu-programmer/APKBUILD23
1 files changed, 9 insertions, 14 deletions
diff --git a/testing/dfu-programmer/APKBUILD b/testing/dfu-programmer/APKBUILD
index 592a06c2f6c..82eac810451 100644
--- a/testing/dfu-programmer/APKBUILD
+++ b/testing/dfu-programmer/APKBUILD
@@ -1,30 +1,24 @@
# Contributor: Peter Shkenev <santurysim@gmail.com>
# Maintainer: Peter Shkenev <santurysim@gmail.com>
pkgname=dfu-programmer
-pkgver=1.0.0
+pkgver=1.1.0
pkgrel=0
-pkgdesc="A command-line programmer for Atmel USB microcontrollers"
+pkgdesc="Command-line programmer for Atmel USB microcontrollers"
url="https://dfu-programmer.github.io/"
arch="all"
license="GPL-2.0-or-later"
makedepends="
- autoconf
- automake
bash
- libtool
libusb-dev
"
-subpackages="$pkgname-doc"
+subpackages="
+ $pkgname-doc
+ $pkgname-bash-completion
+ "
source="
- $pkgname-$pkgver.tar.gz::https://github.com/dfu-programmer/dfu-programmer/archive/refs/tags/v$pkgver.tar.gz
+ https://github.com/dfu-programmer/dfu-programmer/releases/download/v$pkgver/dfu-programmer-$pkgver.tar.gz
"
-prepare() {
- default_prepare
- touch ChangeLog
- autoreconf -fvi
-}
-
build() {
./configure \
--build=$CBUILD \
@@ -42,8 +36,9 @@ check() {
package() {
make DESTDIR="$pkgdir" install
+ install -Dm644 dfu_completion "$pkgdir"/usr/share/bash-completion/completions/dfu-programmer
}
sha512sums="
-abb73970e10017f111b118c5be0b98a3fe7ef8c95794b5ca701f21b5a40f518f46ff8a392f09e7eea2ad9a4eb6c43ecc9514bee817c01acf0d6135a5f8f9048f dfu-programmer-1.0.0.tar.gz
+76946be7c20522e6da512016b09b19a144ec6af70f1b01d697b12efb99cd3177233fe6778c4a4efe0d287b095c8e99a616ba013bf08843601c940bbea4283639 dfu-programmer-1.1.0.tar.gz
"