Robin Candau pushed to branch main at Arch Linux / Packaging / Packages / oculante
Commits: 8da6cec8 by Robin Candau at 2024-05-06T12:19:36+02:00 upgpkg: 0.8.19-3: Add checks and nvchecker integration - - - - - 3 changed files: - .SRCINFO - + .nvchecker.toml - PKGBUILD Changes: ===================================== .SRCINFO ===================================== @@ -1,7 +1,7 @@ pkgbase = oculante pkgdesc = A minimalistic image viewer with analysis and editing tools pkgver = 0.8.19 - pkgrel = 2 + pkgrel = 3 url = https://github.com/woelper/oculante arch = x86_64 license = MIT ===================================== .nvchecker.toml ===================================== @@ -0,0 +1,6 @@ +[oculante] +source = "github" +github = "woelper/oculante" +prefix = "v" +use_max_tag = true +exclude_regex = ".*(pre|a|alpha|b|beta|r|rc).*" ===================================== PKGBUILD ===================================== @@ -1,9 +1,10 @@ # Maintainer: Frederik Schwan <freswa at archlinux dot org> +# Maintainer: Robin Candau <an...@archlinux.org> # Contributor: Johann Woelper <woel...@gmail.com> pkgname=oculante pkgver=0.8.19 -pkgrel=2 +pkgrel=3 pkgdesc="A minimalistic image viewer with analysis and editing tools" arch=('x86_64') url="https://github.com/woelper/oculante" @@ -29,7 +30,7 @@ b2sums=('35fe09963418d532cb067c6f88f018b4381b2a92b8d9c8b19e7428a32d760037756ead6 prepare() { - cd ${pkgname} + cd $pkgname export RUSTUP_TOOLCHAIN=stable cargo fetch --locked --target "$(rustc -vV | sed -n 's/host: //p')" } @@ -41,6 +42,12 @@ build() { cargo build --release --locked --features 'heif' } +check() { + cd $pkgname + export RUSTUP_TOOLCHAIN=stable + cargo test --frozen -- --skip=tests::net --skip=bench +} + package() { cd $pkgname install -Dm755 target/release/oculante "${pkgdir}/usr/bin/${pkgname}" View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/oculante/-/commit/8da6cec869c800f59c947f95443f602bd5b21ea0 -- This project does not include diff previews in email notifications. View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/oculante/-/commit/8da6cec869c800f59c947f95443f602bd5b21ea0 You're receiving this email because of your account on gitlab.archlinux.org.