Daniel M. Capella pushed to branch main at Arch Linux / Packaging / Packages / vivid
Commits: c97926e7 by Daniel M. Capella at 2024-06-22T18:37:56-04:00 upgpkg: 0.10.1-1 - - - - - 2 changed files: - + .SRCINFO - PKGBUILD Changes: ===================================== .SRCINFO ===================================== @@ -0,0 +1,15 @@ +pkgbase = vivid + pkgdesc = LS_COLORS manager with multiple themes + pkgver = 0.10.1 + pkgrel = 1 + url = https://github.com/sharkdp/vivid + arch = x86_64 + license = Apache-2.0 + license = MIT + makedepends = git + makedepends = rust + depends = gcc-libs + source = git+https://github.com/sharkdp/vivid.git#tag=v0.10.1 + b2sums = f65e1d057b0d7872696a22874d75b5328b453591c16fb8c0bcbdb2ae2f8ff931e40953d7e706290996753988a65e138e9a9c31f92678361698d94abeba5288b4 + +pkgname = vivid ===================================== PKGBUILD ===================================== @@ -1,29 +1,35 @@ # Maintainer: Daniel M. Capella <[email protected]> pkgname=vivid -pkgver=0.9.0 +pkgver=0.10.1 pkgrel=1 pkgdesc='LS_COLORS manager with multiple themes' -arch=('x86_64') +arch=(x86_64) url=https://github.com/sharkdp/vivid -license=('Apache' 'MIT') -depends=('gcc-libs') -makedepends=('rust') -source=("$url/archive/v$pkgver/vivid-$pkgver.tar.gz") -b2sums=('6bae858a27d704ff73ded2560ae74f6821c97517c8e8e3f9058619cfdf11bd3bd626074978951adb07cd799dc032a509f7e0c7171d8c7c0996d1f423bd9d7bf8') +license=( + Apache-2.0 + MIT +) +depends=(gcc-libs) +makedepends=( + git + rust +) +source=("git+$url.git#tag=v$pkgver") +b2sums=('f65e1d057b0d7872696a22874d75b5328b453591c16fb8c0bcbdb2ae2f8ff931e40953d7e706290996753988a65e138e9a9c31f92678361698d94abeba5288b4') prepare() { - cd vivid-$pkgver + cd $pkgname cargo fetch --locked --target "$(rustc -vV | sed -n 's/host: //p')" } build() { - cd vivid-$pkgver + cd $pkgname cargo build --release --locked --offline } package() { - cd vivid-$pkgver - install -Dt "$pkgdir"/usr/bin target/release/vivid - install -Dm644 -t "$pkgdir"/usr/share/licenses/vivid LICENSE-MIT + cd $pkgname + install -Dt "$pkgdir"/usr/bin target/release/$pkgname + install -Dm644 -t "$pkgdir"/usr/share/licenses/$pkgname LICENSE-MIT } View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/vivid/-/commit/c97926e7eb4697a15a300c9671f80fa10e2309c6 -- View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/vivid/-/commit/c97926e7eb4697a15a300c9671f80fa10e2309c6 You're receiving this email because of your account on gitlab.archlinux.org.
