Package Details: leftwm-nonsystemd-git 0.5.1.r28.g765a1aeb-1

Git Clone URL: https://aur.archlinux.org/leftwm-git.git (read-only, click to copy)
Package Base: leftwm-git
Description: A tiling window manager for the adventurer (non-systemd init)
Upstream URL: https://github.com/leftwm/leftwm
Licenses: MIT
Conflicts: leftwm
Provides: leftwm
Submitter: lexchilds
Maintainer: lexchilds (lex148, VuiMuich, hertg, mautam)
Last Packager: mautam
Votes: 10
Popularity: 0.009840
First Submitted: 2019-05-29 13:05 (UTC)
Last Updated: 2024-04-02 05:40 (UTC)

Dependencies (9)

Required by (4)

Sources (1)

Latest Comments

« First ‹ Previous 1 2 3 4

haawda commented on 2020-12-26 00:09 (UTC)

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 (UTC)

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

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