Carl Smedstad pushed to branch main at Arch Linux / Packaging / Packages / satty


Commits:
e89ed258 by Carl Smedstad at 2026-02-14T23:05:21+01:00
upgpkg: 0.20.1-2: gcc-libs deprecation

https://archlinux.org/todo/gcc-libs-deprecation/

- - - - -


2 changed files:

- .SRCINFO
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -1,21 +1,22 @@
 pkgbase = satty
        pkgdesc = Modern screenshot annotation tool, inspired by Swappy and 
Flameshot
        pkgver = 0.20.1
-       pkgrel = 1
+       pkgrel = 2
        url = https://github.com/gabm/satty
        arch = x86_64
        license = MPL-2.0
        makedepends = cargo
+       makedepends = git
        depends = fontconfig
-       depends = gcc-libs
        depends = gdk-pixbuf2
        depends = glib2
        depends = glibc
        depends = gtk4
        depends = hicolor-icon-theme
        depends = libadwaita
+       depends = libgcc
        depends = pango
-       source = 
satty-0.20.1.tar.gz::https://github.com/gabm/satty/archive/v0.20.1.tar.gz
-       sha256sums = 
86e85e8abdcfee925f0b95d424bd9eed9ad78aeb537707132e77ccb63133ac97
+       source = satty::git+https://github.com/gabm/satty.git#tag=v0.20.1
+       b2sums = 
c97f8bc8144f070fcf2ea1b01a62989150932010a5176bee35bc74dd757a722dc40eaca8f3a1e9b8c8c020d50739d300c5bd11c54478a53d3c4f9bbf43467d69
 
 pkgname = satty


=====================================
PKGBUILD
=====================================
@@ -1,40 +1,42 @@
 # Maintainer: Carl Smedstad <[email protected]>
 
 pkgname=satty
-_pkgname=Satty
 pkgver=0.20.1
-pkgrel=1
+pkgrel=2
 pkgdesc="Modern screenshot annotation tool, inspired by Swappy and Flameshot"
-url="https://github.com/gabm/satty";
 arch=(x86_64)
+url="https://github.com/gabm/satty";
 license=(MPL-2.0)
 depends=(
   fontconfig
-  gcc-libs
   gdk-pixbuf2
   glib2
   glibc
   gtk4
   hicolor-icon-theme
   libadwaita
+  libgcc
   pango
 )
-makedepends=(cargo)
-source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz")
-sha256sums=('86e85e8abdcfee925f0b95d424bd9eed9ad78aeb537707132e77ccb63133ac97')
+makedepends=(
+  cargo
+  git
+)
+source=("$pkgname::git+$url.git#tag=v$pkgver")
+b2sums=('c97f8bc8144f070fcf2ea1b01a62989150932010a5176bee35bc74dd757a722dc40eaca8f3a1e9b8c8c020d50739d300c5bd11c54478a53d3c4f9bbf43467d69')
 
 prepare() {
-  cd $_pkgname-$pkgver
+  cd $pkgname
   cargo fetch --locked --target "$(rustc --print host-tuple)"
 }
 
 build() {
-  cd $_pkgname-$pkgver
+  cd $pkgname
   cargo build --frozen --release --all-features
 }
 
 package() {
-  cd $_pkgname-$pkgver
+  cd $pkgname
   install -vDm755 -t "$pkgdir/usr/bin" target/release/satty
 
   install -vDm644 completions/_satty \



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/satty/-/commit/e89ed258dc05ed5815faf4e59c6916c2a40b5d47

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/satty/-/commit/e89ed258dc05ed5815faf4e59c6916c2a40b5d47
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to