summaryrefslogtreecommitdiffstats
path: root/system/system76-power
diff options
context:
space:
mode:
author Andrew Clemons2022-03-02 08:47:15 +0100
committer Willy Sudiarto Raharjo2022-03-03 09:56:52 +0100
commit31d40d5ec2f4f5cd8b8f84e6f99cb71472b5e1b8 (patch)
tree23e14ee87fe96df91b4a11977f3913e5628ef322 /system/system76-power
parent3aea18a9ca77304f1ee4464f499b02bed9288d80 (diff)
downloadslackbuilds-31d40d5ec2f4f5cd8b8f84e6f99cb71472b5e1b8.tar.gz
system/system76-power: Fix github tarball handling.
Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/system76-power')
-rw-r--r--system/system76-power/system76-power.SlackBuild3
1 files changed, 3 insertions, 0 deletions
diff --git a/system/system76-power/system76-power.SlackBuild b/system/system76-power/system76-power.SlackBuild
index 0064a6565a..cc0c7b50ec 100644
--- a/system/system76-power/system76-power.SlackBuild
+++ b/system/system76-power/system76-power.SlackBuild
@@ -132,6 +132,9 @@ mkdir vendor
CRATE_FILE=$CWD/pop-os-sysfs-class-0.1.3-1-gab63e7f.tar.gz
fi
mkdir $dep-$ver
+ if [ "$dep" = "sysfs-class" ] ; then
+ CRATE_FILE=$CWD/pop-os-$dep-$ver-1-gab63e7f.tar.gz
+ fi
tar xvf $CRATE_FILE -C $dep-$ver --strip-components=1
cksum="null"
else