summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorGeorge Shammas2021-04-15 12:16:40 +0000
committerGeorge Shammas2021-04-15 12:16:40 +0000
commitcf94f707c67f868563b69f8f3f04fd37387153d6 (patch)
treea4bd5ed2f4075a5ab7c708657fbcfe37ea605872
parent333b50be5f5f48dcfea550b78498442e6fb1948d (diff)
downloadaur-cf94f707c67f868563b69f8f3f04fd37387153d6.tar.gz
Bump to version 20181017
-rw-r--r--.SRCINFO7
-rw-r--r--PKGBUILD16
2 files changed, 7 insertions, 16 deletions
diff --git a/.SRCINFO b/.SRCINFO
index dc99f0c935a8..c075e1f0d022 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,14 +1,13 @@
pkgbase = startech-usb-crash-cart-adapter
pkgdesc = StarTech usb crash cart adapter notecons software
- pkgver = 20150921
+ pkgver = 20181017
pkgrel = 1
url = http://www.startech.com/Server-Management/KVM-Switches/USB-Crash-Cart-Adapter~NOTECONS02
arch = x86_64
license = unknown
makedepends = rpmextract
- noextract = NOTECONS02%20Software%20Pack.zip
- source = http://sgcdn.startech.com/005329/media/sets/NOTECONS02_Drivers/NOTECONS02%20Software%20Pack.zip
- md5sums = 2b7597b5cd6cbf83f57b647d90696cae
+ source = notescon-20181017.zip::https://sgcdn.startech.com/005329/media/sets/notecons02_drivers/notecons02%20linux%20software%20pack.zip
+ sha256sums = 54cb0387e09b10300cb617e5ab54f0a20881ba672fe2e970c19be6924cf24608
pkgname = startech-usb-crash-cart-adapter
diff --git a/PKGBUILD b/PKGBUILD
index 138d204ca1e8..a0252a864a3b 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -12,7 +12,7 @@
# Defines
# ---------------------------------------------------
pkgname=startech-usb-crash-cart-adapter
-pkgver=20150921
+pkgver=20181017
pkgrel=1
pkgdesc='StarTech usb crash cart adapter notecons software'
arch=('x86_64')
@@ -22,17 +22,12 @@ license=('unknown')
# makedepends -- this package requires rpmextract to create files necessary from the RPM included in download file
makedepends=('rpmextract')
-# Source file, md5sum
-source=('http://sgcdn.startech.com/005329/media/sets/NOTECONS02_Drivers/NOTECONS02%20Software%20Pack.zip')
-md5sums=('2b7597b5cd6cbf83f57b647d90696cae')
-noextract=('NOTECONS02%20Software%20Pack.zip')
+source=("notescon-${pkgver}.zip::https://sgcdn.startech.com/005329/media/sets/notecons02_drivers/notecons02%20linux%20software%20pack.zip")
+sha256sums=('54cb0387e09b10300cb617e5ab54f0a20881ba672fe2e970c19be6924cf24608')
prepare() {
- # unzip the file we just downloaded
- unzip ../'NOTECONS02%20Software%20Pack.zip'
-
# rpmextract can't handle spaces so we move the file to something without spaces.
- mv "Linux RPM/Linux Install 64bit.rpm" LinuxInstall64bit.rpm
+ mv "Linux RPM/Install-64bit.rpm" LinuxInstall64bit.rpm
}
package() {
@@ -57,9 +52,6 @@ package() {
# This copies the wrapper program to be extracted to usr/bin/usb-crash-cart-adapter
install -D opt/usb-crash-cart-adapter/${pkgver}/wrapper usr/bin/usb-crash-cart-adapter
-
- # Remove .DS_Store file that some numb-numb put inside the RPM @ startech.com
- rm .DS_Store
}
post_install() {