Maxime Gauduin pushed to branch main at Arch Linux / Packaging / Packages / cosmic-wallpapers
Commits: 8e338c98 by Maxime Gauduin at 2024-08-18T23:11:12+02:00 use git lfs to actually download the wallpapers - - - - - 2 changed files: - .SRCINFO - PKGBUILD Changes: ===================================== .SRCINFO ===================================== @@ -1,12 +1,13 @@ pkgbase = cosmic-wallpapers pkgdesc = Wallpapers for the COSMIC Desktop Environment pkgver = r4.0f2f16d - pkgrel = 1 + pkgrel = 2 url = https://github.com/pop-os/cosmic-wallpapers arch = any groups = cosmic license = LicenseRef-unknown makedepends = git + makedepends = git-lfs source = git+https://github.com/pop-os/cosmic-wallpapers.git#commit=0f2f16dc39ff1281a56680e37719e98a1bc8cb99 b2sums = 46939ae56f30db3ce7ce11bf5e704bbc5cdf570f54d6569fe440b2f19210792de75f2e4ecadfa62351806b84b8d6a6354689e440e564aa136e0ba5f452f5749e ===================================== PKGBUILD ===================================== @@ -3,17 +3,28 @@ pkgname=cosmic-wallpapers pkgver=r4.0f2f16d -pkgrel=1 +pkgrel=2 pkgdesc='Wallpapers for the COSMIC Desktop Environment' arch=(any) url=https://github.com/pop-os/cosmic-wallpapers license=(LicenseRef-unknown) groups=(cosmic) -makedepends=(git) +makedepends=( + git + git-lfs +) _commit=0f2f16dc39ff1281a56680e37719e98a1bc8cb99 source=(git+https://github.com/pop-os/cosmic-wallpapers.git#commit=${_commit}) b2sums=('46939ae56f30db3ce7ce11bf5e704bbc5cdf570f54d6569fe440b2f19210792de75f2e4ecadfa62351806b84b8d6a6354689e440e564aa136e0ba5f452f5749e') +prepare() { + cd cosmic-wallpapers + git lfs install --local + git remote add network-origin ${url} + git lfs fetch network-origin + git lfs checkout +} + pkgver() { cd cosmic-wallpapers echo "r$(git rev-list --count HEAD).$(git rev-parse --short HEAD)" View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/cosmic-wallpapers/-/commit/8e338c9804eb1959d5e3c1dd22c1a3fcaf0e4af0 -- View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/cosmic-wallpapers/-/commit/8e338c9804eb1959d5e3c1dd22c1a3fcaf0e4af0 You're receiving this email because of your account on gitlab.archlinux.org.