diff options
author | Francisco Soto | 2018-09-24 11:47:32 -0700 |
---|---|---|
committer | Francisco Soto | 2018-09-24 11:47:32 -0700 |
commit | 8724c5cd5257448fb90ae473043572282b1250a3 (patch) | |
tree | 6d6c2d87238cfcf67b4565e6a04485648c1c9712 | |
parent | 7770949f0707d469ad6eda65df387c06e2fb9822 (diff) | |
download | aur-8724c5cd5257448fb90ae473043572282b1250a3.tar.gz |
Updated to version 113-1. main.rs needs no patch.
-rw-r--r-- | .SRCINFO | 6 | ||||
-rw-r--r-- | PKGBUILD | 9 | ||||
-rw-r--r-- | main.patch | 38 |
3 files changed, 5 insertions, 48 deletions
@@ -1,7 +1,7 @@ pkgbase = system76-power pkgdesc = System76 Power Management pkgver = 111 - pkgrel = 2 + pkgrel = 1 url = https://github.com/pop-os/system76-power install = system76-power.install arch = any @@ -10,12 +10,10 @@ pkgbase = system76-power depends = dbus depends = systemd depends = system76-dkms - source = system76::git+https://github.com/pop-os/system76-power.git#commit=7f5de18038c1deb40416e365fd2078ca957ca579 + source = system76::git+https://github.com/pop-os/system76-power.git#commit=821cc2374a7eff0a06213cd9dc7a2cef1cb9e281 source = graphics.patch - source = main.patch sha1sums = SKIP sha1sums = e486644709099b6348dc96d5f468ae289840dade - sha1sums = 84d590e0f15ac601a74ab09ac7206a62c81edb84 pkgname = system76-power @@ -3,8 +3,8 @@ _pkgname=system76 _pkgbase=system76-power pkgname=system76-power -pkgver=111 -pkgrel=2 +pkgver=113 +pkgrel=1 pkgdesc="System76 Power Management" arch=('any') url="https://github.com/pop-os/system76-power" @@ -17,14 +17,12 @@ depends=( ) makedepends=('rust') source=( - 'system76::git+https://github.com/pop-os/system76-power.git#commit=7f5de18038c1deb40416e365fd2078ca957ca579' + 'system76::git+https://github.com/pop-os/system76-power.git#commit=821cc2374a7eff0a06213cd9dc7a2cef1cb9e281' 'graphics.patch' - 'main.patch' ) sha1sums=( 'SKIP' 'e486644709099b6348dc96d5f468ae289840dade' - '84d590e0f15ac601a74ab09ac7206a62c81edb84' ) pkgver() { @@ -35,7 +33,6 @@ pkgver() { build() { cd ${startdir} patch -p0 < ${startdir}/graphics.patch - patch -p0 < ${startdir}/main.patch cd ${srcdir}/${_pkgname} diff --git a/main.patch b/main.patch deleted file mode 100644 index fda09c86b85e..000000000000 --- a/main.patch +++ /dev/null @@ -1,38 +0,0 @@ ---- src/system76/src/main.rs 2018-09-21 21:38:37.639982440 -0700 -+++ src/system76/src/main.rs.new 2018-09-21 21:38:34.933315808 -0700 -@@ -110,22 +110,21 @@ - ) - ) - .get_matches(); -- -- if let Err(why) = logging::setup_logging( -- if matches.is_present("verbose") { -- LevelFilter::Debug -- } else if matches.is_present("quiet") { -- LevelFilter::Off -- } else { -- LevelFilter::Info -- } -- ) { -- eprintln!("failed to set up logging: {}", why); -- process::exit(1); -- } - - let res = match matches.subcommand() { -- ("daemon", Some(_matches)) => { -+ ("daemon", Some(matches)) => { -+ if let Err(why) = logging::setup_logging( -+ if matches.is_present("verbose") { -+ LevelFilter::Debug -+ } else if matches.is_present("quiet") { -+ LevelFilter::Off -+ } else { -+ LevelFilter::Info -+ } -+ ) { -+ eprintln!("failed to set up logging: {}", why); -+ process::exit(1); -+ } - if unsafe { libc::geteuid() } == 0 { - daemon::daemon(matches.is_present("experimental")) - } else { |