Package Details: alacritty-theme-git 1:r219.5f906a4-1

Git Clone URL: https://aur.archlinux.org/alacritty-theme-git.git (read-only, click to copy)
Package Base: alacritty-theme-git
Description: Collection of Alacritty color schemes.
Upstream URL: https://github.com/alacritty/alacritty-theme
Licenses: Apache-2.0
Conflicts: alacritty-theme
Provides: alacritty-theme
Submitter: tallero
Maintainer: cyqsimon
Last Packager: cyqsimon
Votes: 2
Popularity: 0.002356
First Submitted: 2023-06-29 12:02 (UTC)
Last Updated: 2024-04-22 03:22 (UTC)

Required by (0)

Sources (1)

Latest Comments

cyqsimon commented on 2024-02-04 01:54 (UTC)

Yep, the pkgver format of this package probably should be updated, since it looks like there is no consistent tagging going on in the repo. Currently it's confusing the heck out of AUR helpers (specifically in my case, paru).

I think it's best to just use "number of revisions since beginning of history", per wiki's recommendation:

pkgver() {
  cd "$pkgname"
  printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short=7 HEAD)"
}

fauxmight commented on 2023-11-16 04:12 (UTC)

@bleak: It will work if you modify the _srcdir line of the package() function to this:

_srcdir="${srcdir}/${pkgname}-${_commit}"

However, as mentioned in one of my earlier comments below, the package is from pure git anyway. Using the alacritty-theme-git package really makes more sense anyway.

bleak commented on 2023-11-15 17:06 (UTC) (edited on 2023-11-15 17:07 (UTC) by bleak)

This package does not install any files for me. It just creates an empty folder /usr/share/alacritty/themes.

$ pacman -Ql alacritty-theme

alacritty-theme /usr/
alacritty-theme /usr/share/
alacritty-theme /usr/share/alacritty/
alacritty-theme /usr/share/alacritty/themes/

I switched to your -git version which works fine.

fauxmight commented on 2023-07-16 16:57 (UTC) (edited on 2023-07-16 16:58 (UTC) by fauxmight)

Here is a simplified version of this alacritty-theme-git PKGBUILD with the following modifications:

1) Follows Arch VCS PKGBUILD guidelines for git version numbers
2) Proper initial version number
3) Proper install calls ensuring permissions

@tallero: You're welcome to take this as it is or make any modifications you see fit or ignore this in its entirety.
@anyone else: I'm being a picky fool about this and I had already made this one before realizing @tallero had put up a -git PKGBUILD. In actual, practical, daily use, my PKGUBILD won't be a lot different other than git version numbers.

fauxmight commented on 2023-06-29 14:08 (UTC)

Please disregard my last comment. I did not do my homework and notice that you already created an alacritty-theme-git

Thanks for your work.

fauxmight commented on 2023-06-29 14:07 (UTC) (edited on 2023-06-29 14:07 (UTC) by fauxmight)

@tallero: Thank you for the quick update!

Considering that alacritty-theme is pure git and does not have any formal releases, you might consider following the AUR convention and make this a "VCS" style package: alacritty-theme-git

I have drafted a working PKGBUILD here: https://codeberg.org/fauxmight/alacritty-theme-git_PKGBUILD/src/branch/main/PKGBUILD

Please feel free to take and use this as a new AUR package called "alacritty-theme-git"
If you do so, it would be appropriate to then submit a request to delete "alacritty-theme"

fauxmight commented on 2023-06-27 14:42 (UTC) (edited on 2023-06-27 14:47 (UTC) by fauxmight)

Upstream github has been archived and recommends the still-maintained version at https://github.com/alacritty/alacritty-theme

@tallero: If, for any reason, you don't wish to maintain this package, just let me know and I will happily adopt it.

-fauxmight