Package Details: leftwm-git 2:0.2.7.r21.g3f30650-2

Git Clone URL: (read-only, click to copy)
Package Base: leftwm-git
Description: Leftwm - A tiling window manager for the adventurer
Upstream URL:
Licenses: MIT
Conflicts: leftwm
Provides: leftwm
Submitter: lexchilds
Maintainer: lexchilds (lex148)
Last Packager: lexchilds
Votes: 4
Popularity: 0.23
First Submitted: 2019-05-29 13:05
Last Updated: 2021-05-03 12:43

Dependencies (6)

Required by (1)

Sources (1)

Latest Comments

ronin commented on 2021-06-28 07:59

remove i686 as supported arch :)

haawda commented on 2021-01-06 20:20

Hello lexchilds,

never mind. The PKGBUILD still has an issue, but this time it is my mistake:

Last line

install -Dm644 "$srcdir"/$pkgname/leftwm.desktop "$pkgdir"/usr/share/xsessions

should be

install -Dm644 "$srcdir"/$pkgname/leftwm.desktop "$pkgdir"/usr/share/xsessions/leftwm.desktop

otherwise there will be a file conflict, because a directory with that name will most probably already exist.

lexchilds commented on 2021-01-06 19:44

haawda thanks for your help! Sorry I missed your message I was out for Christmas.

haawda commented on 2020-12-26 00:09

The PKGBUILD has issues:

  • missing pkgver function
  • mv commands in package function (makepkg --repackage will fail)
  • Uses of "mkdir -p" instead of "install -d"
# Maintainer: Lex Childs <>
pkgdesc="Leftwm - A tiling window manager for the adventurer"
arch=('i686' 'x86_64')
makedepends=('cargo' 'git')
optdepends=('dmenu: default launcher'
            'feh: used to set background images'
            'lemonbar: light weight bar'
            'polybar: light weight bar')

build() {
  cd $pkgname
  cargo build --release

pkgver() {
  cd $pkgname
  git describe --tags | sed 's+-+.r+' | tr - . 

package() {
  cd $pkgname/target/release
  install -Dm755 leftwm leftwm-worker leftwm-state -t "$pkgdir"/usr/bin

  install -d "$pkgdir"/usr/share/leftwm
  cp -R "$srcdir"/$pkgname/themes "$pkgdir"/usr/share/leftwm

  install -Dm644 "$srcdir"/$pkgname/leftwm.desktop "$pkgdir"/usr/share/xsessions

haawda commented on 2020-09-29 19:48

-git-packages should have a pkgver function, e.g.

pkgver() {
  cd $pkgname
  git describe --tags | sed 's+-+.r+' | tr - .