diff options
author | VuiMuich | 2022-10-01 23:16:18 +0200 |
---|---|---|
committer | VuiMuich | 2022-10-01 23:16:18 +0200 |
commit | 150ccfddc0220f07191d2c7608b8030018f64e76 (patch) | |
tree | 3c69c2997722668ed5ebc558933990af6c9afd63 | |
parent | a39eeb2c111097cc9c946b88f92fad92ec4b5ba0 (diff) | |
download | aur-150ccfddc0220f07191d2c7608b8030018f64e76.tar.gz |
bump to release `0.4.0`
-rw-r--r-- | .SRCINFO | 6 | ||||
-rw-r--r-- | PKGBUILD | 14 |
2 files changed, 14 insertions, 6 deletions
@@ -1,8 +1,8 @@ pkgbase = leftwm pkgdesc = Leftwm - A tiling window manager for the adventurer - pkgver = 0.3.0 + pkgver = 0.4.0 pkgrel = 1 - epoch = 1 + epoch = 0 url = https://github.com/leftwm/leftwm arch = i686 arch = x86_64 @@ -13,7 +13,7 @@ pkgbase = leftwm optdepends = feh: used to set background images optdepends = lemonbar: light weight bar optdepends = polybar: light weight bar - source = leftwm::git+https://github.com/leftwm/leftwm.git#tag=0.3.0 + source = leftwm::git+https://github.com/leftwm/leftwm.git#tag=0.4.0 md5sums = SKIP pkgname = leftwm @@ -1,8 +1,8 @@ # Maintainer: Lex Childs <lexchilds@gmail.com> pkgname=leftwm -pkgver=0.3.0 +pkgver=0.4.0 pkgrel=1 -epoch=1 +epoch=0 pkgdesc="Leftwm - A tiling window manager for the adventurer" arch=('i686' 'x86_64') url="https://github.com/leftwm/leftwm" @@ -17,13 +17,21 @@ source=("${pkgname}::git+https://github.com/leftwm/leftwm.git#tag=${pkgver}") md5sums=('SKIP') build() { + if [[ $(ps --no-headers -o comm 1) == "systemd" ]]; then + buildflags="" + echo "Building for systemd." + else + buildflags="--no-default-features --features=lefthk,sys-log" + echo "Building for non-systemd." + fi + cd $pkgname cargo build --release } package() { cd $pkgname/target/release - install -Dm755 leftwm leftwm-worker leftwm-state leftwm-check leftwm-command -t "$pkgdir"/usr/bin + install -Dm755 leftwm leftwm-worker lefthk-worker leftwm-state leftwm-check leftwm-command -t "$pkgdir"/usr/bin install -d "$pkgdir"/usr/share/leftwm cp -R "$srcdir"/$pkgname/themes "$pkgdir"/usr/share/leftwm |