Package Details: awesome-freedesktop-git 115.1117422-5

Git Clone URL: https://aur.archlinux.org/awesome-freedesktop-git.git (read-only, click to copy)
Package Base: awesome-freedesktop-git
Description: Freedesktop.org compliant desktop entries and menu for Awesome WM
Upstream URL: https://github.com/lcpz/awesome-freedesktop
Keywords: awesome
Licenses: GPL2
Conflicts: awesome-freedesktop
Provides: awesome-freedesktop
Submitter: lcpz
Maintainer: lcpz
Last Packager: lcpz
Votes: 13
Popularity: 0.000317
First Submitted: 2016-11-06 11:35
Last Updated: 2021-08-29 11:34

Required by (1)

Sources (1)

Latest Comments

suffer commented on 2021-02-21 21:19

If we have to wait (2020-07-25 to 2021-02-19) for you to run a script, you are manually updating it.

See https://wiki.archlinux.org/index.php/VCS_package_guidelines#Guidelines. "Suffix pkgname with -cvs, -svn, -hg, -darcs, -bzr, -git etc. unless the package fetches a specific release."

Your package fetches a specific commit. It does not always provide the latest commit. In the time between when the last commit is made and whenever you decide to run your script, this PKGBUILD fails to provide the latest commit. Which could be today, tomorrow, or six months from now.

Also see https://man.archlinux.org/man/PKGBUILD.5#USING_VCS_SOURCES (specifically url). Your source does not include a "URL to the VCS repository". It includes a URL to an archive of a specific commit. This is not the same thing.

If you don't want to use git, this shouldn't be named so. You should not need to update a -git PKGBUILD, it's self updating ala git and pkgver(). The things you are doing in that script should be done in the PKGBUILD itself.

lcpz commented on 2021-02-21 16:01

@suffer I am not updating manually.

The .zip fetched by the PKGBUILD is automatically built by GitHub: this allows removing git as a build dependency and saves me from having to clean up git files, as I did before (see comments below).

All I do is to run this script: https://github.com/lcpz/dots/blob/master/bin/upaur

suffer commented on 2021-02-19 23:09

@lcpz Is there are reason to fetch the zip vs git clone? I would usually expect '-git' package to provide the latest commit, so I was a little suprised to see that you are manually updating the PKGBUILD.

lcpz commented on 2021-02-19 10:58

@Birdink Package updated, thank you for reminding me.

birdink commented on 2021-02-17 17:58

The package here is a bit out of date of the repo: can it get updated to the most recent commit, pkgsha b77dee0250599b2810efadf34f612f32c7ceb556? Thanks!

lcpz commented on 2019-06-03 10:12

Thank you, should be fixed now.

raith commented on 2019-06-01 15:51

makepkg fails building this package, because the install commands in package() refer to different directories. ashwinkj's comment below shows the correct directories.

Fix:

sed -i '25 s/$_pkgname/freedesktop/' PKGBUILD

ashwinkj commented on 2019-05-30 22:55

In version awesome-freedesktop-git 105.6951b09-3, require("freedesktop") doesn't work anymore. I had to modify the lua install directory to be freedesktop instead of awesome-freedesktop to get it working.

package() {
    install -dm755 "$pkgdir/usr/share/lua/5.3/freedesktop/"
    install -m644 $_pkgname/{LICENSE,README.rst,*.lua} "$pkgdir/usr/share/lua/5.3/freedesktop"
}

lcpz commented on 2017-01-12 18:02

Attention everyone: this package is updated to the new Awesome branch (4.x).

If you're using Community/awesome package, which is currently still at version 3.5.9, for the time being either switch to AUR/awesome-git, or install awesome-freedesktop from Git and revert to latest 3.5.x commit:

$ git clone https://github.com/copycat-killer/awesome-freedesktop.git ~/.config/awesome/freedesktop
$ cd ~/.config/awesome/freedesktop
$ git checkout 2c695a9 .