aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2020-09-27 05:19:26 -0300
committerLeo <thinkabit.ukim@gmail.com>2020-09-27 08:40:04 +0000
commit120ec33b549bf30b6b2c5a5f10326a2411f59fce (patch)
tree84d6a7b366cdb016722057221b5e0cb9c729e9f3
parente23c398d3d5fb1280eb9c46c048249e65bf56cba (diff)
downloadaports-120ec33b549bf30b6b2c5a5f10326a2411f59fce.tar.gz
aports-120ec33b549bf30b6b2c5a5f10326a2411f59fce.tar.bz2
aports-120ec33b549bf30b6b2c5a5f10326a2411f59fce.tar.xz
main/usb-modeswitch: upgrade to 2.6.1
-rw-r--r--main/usb-modeswitch/APKBUILD18
1 files changed, 10 insertions, 8 deletions
diff --git a/main/usb-modeswitch/APKBUILD b/main/usb-modeswitch/APKBUILD
index 5c89f98de5..f845eda978 100644
--- a/main/usb-modeswitch/APKBUILD
+++ b/main/usb-modeswitch/APKBUILD
@@ -1,20 +1,22 @@
# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org>
pkgname=usb-modeswitch
-pkgver=2.6.0
-pkgrel=1
-_pkgdata=20170806
+pkgver=2.6.1
+pkgrel=0
+_pkgdata=20191128
pkgdesc="A mode switching tool for controlling flip flop (multiple device) USB gear"
url="http://www.draisberghof.de/usb_modeswitch/"
arch="all"
license="GPL-2.0-or-later"
makedepends="libusb-compat-dev coreutils"
-subpackages="$pkgname-doc $pkgname-udev"
+subpackages="$pkgname-doc $pkgname-udev::noarch"
options="!check" # no testsuite
source="http://www.draisberghof.de/usb_modeswitch/usb-modeswitch-$pkgver.tar.bz2
- http://www.draisberghof.de/usb_modeswitch/$pkgname-data-$_pkgdata.tar.bz2
- usb_modeswitch.setup"
+ http://www.draisberghof.de/usb_modeswitch/usb-modeswitch-data-$_pkgdata.tar.bz2
+ usb_modeswitch.setup"
prepare() {
+ default_prepare
+
make clean
sed -i -e 's/--mode=/-m/' Makefile
@@ -46,6 +48,6 @@ udev() {
"$subpkgdir"/usr/sbin/
}
-sha512sums="43e6d885380602ddaaf771af73a302a7de30f7ae6ea58b2b572a9ad9ec77a453789020595de33a8b04ec209414fe08face2bbf84c67271d7b6b90700face09ef usb-modeswitch-2.6.0.tar.bz2
-818bc9f3d9b75df245bb25f959075041667607e7681bdbca7006ec036613130a0fa5e41da9e939ca510e524a78a7a76aef82ecfbbe19611887b3735987b951cc usb-modeswitch-data-20170806.tar.bz2
+sha512sums="5d800b45257ca1182a13155dc37b614ee2d93273ed226cc9d05b6ae423f9e88b7c9aca6829604bdb86f68707ddf2c51c9ad2bcf898b8261b2c5bb56a21351e1e usb-modeswitch-2.6.1.tar.bz2
+4b5954ad83f7281e42321c16f5cc5b956923cc0e2db5f238cc64b3ea37a419768f01f2e26310f2b4fe9a9a5b1d901517933effd6e6edd23bc9b8d0c039ed0ba2 usb-modeswitch-data-20191128.tar.bz2
48bc921849c529059c35f00e9cb10e92fee32622d63291bbd7184039bbe4c4324591b4011b24cf9b6c4ed2a7ad90fe0d5287a58631de5114b36f70d4f6f3c250 usb_modeswitch.setup"