diff options
Diffstat (limited to 'system/system76-power/system76-power.SlackBuild')
-rw-r--r-- | system/system76-power/system76-power.SlackBuild | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/system/system76-power/system76-power.SlackBuild b/system/system76-power/system76-power.SlackBuild index 616b23c72bf42..4eafea3ea1c58 100644 --- a/system/system76-power/system76-power.SlackBuild +++ b/system/system76-power/system76-power.SlackBuild @@ -23,7 +23,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=system76-power -VERSION=${VERSION:-1.1.10} +VERSION=${VERSION:-1.1.11} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -142,13 +142,14 @@ mkdir vendor synstructure=0.12.4 \ sysfs-class=0.1.3 \ textwrap=0.11.0 \ - time=0.1.43 \ + time=0.1.44 \ tokio=0.2.22 \ unicode-width=0.1.8 \ unicode-xid=0.2.1 \ vec_map=0.8.2 \ vergen=3.1.0 \ version_check=0.9.2 \ + wasi=0.10.0+wasi-snapshot-preview1 \ winapi=0.2.8 \ winapi=0.3.9 \ winapi-build=0.1.1 \ @@ -165,7 +166,7 @@ mkdir vendor if [ -e $CWD/$ver.tar.gz ]; then CRATE_FILE=$CWD/$ver.tar.gz else - CRATE_FILE=$CWD/sysfs-class-$ver.tar.gz + CRATE_FILE=$CWD/$dep-$ver.tar.gz fi fi tar xvf $CRATE_FILE @@ -209,11 +210,6 @@ libdir=/usr/lib${LIBDIRSUFFIX} \ make make install DESTDIR=$PKG -# Remove suid bit on system76-power executable -# Despite being installed SUID by the Makefile, the Debian package installed -# on Pop!_OS has 0755 permissions for this file, so follow that convention. -chmod u-s $PKG/usr/bin/system76-power - find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true |