Package Details: leftwm-git 2:0.2.6.r19.g5b981c1-2

Git Clone URL: https://aur.archlinux.org/leftwm-git.git (read-only, click to copy)
Package Base: leftwm-git
Description: Leftwm - A tiling window manager for the adventurer
Upstream URL: https://github.com/leftwm/leftwm
Licenses: MIT
Conflicts: leftwm
Provides: leftwm
Submitter: lexchilds
Maintainer: lexchilds (lex148)
Last Packager: lexchilds
Votes: 3
Popularity: 0.68
First Submitted: 2019-05-29 13:05
Last Updated: 2021-02-23 22:51

Latest Comments

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 <lexchilds@gmail.com>
pkgname=leftwm-git
pkgver=0.2.5.r4.ge0f29f5
pkgrel=1
epoch=2
pkgdesc="Leftwm - A tiling window manager for the adventurer"
arch=('i686' 'x86_64')
url="https://github.com/leftwm/leftwm"
license=('MIT')
makedepends=('cargo' 'git')
optdepends=('dmenu: default launcher'
            'feh: used to set background images'
            'lemonbar: light weight bar'
            'polybar: light weight bar')
provides=('leftwm')
conflicts=('leftwm')
source=("${pkgname}::git+https://github.com/leftwm/leftwm.git")
md5sums=('SKIP')

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 - . 
}