From 2fcbd8b6b1cc45c9f20ab1fbbcc88fe8ce60ee93 Mon Sep 17 00:00:00 2001 From: OpalAayan Date: Wed, 4 Feb 2026 01:12:44 +0530 Subject: [PATCH] Update to v2.0 --- .SRCINFO | 7 +++---- PKGBUILD | 11 ++++------- 2 files changed, 7 insertions(+), 11 deletions(-) diff --git a/.SRCINFO b/.SRCINFO index 70914ea7b801..34218dcd4bfe 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -1,6 +1,6 @@ pkgbase = snappy-switcher pkgdesc = A fast, animated Alt+Tab window switcher for Hyprland with MRU sorting and context grouping - pkgver = 1.0.0 + pkgver = 2.0 pkgrel = 1 url = https://github.com/OpalAayan/snappy-switcher arch = x86_64 @@ -12,7 +12,6 @@ pkgbase = snappy-switcher depends = wayland depends = cairo depends = pango - depends = json-c depends = libxkbcommon depends = glib2 depends = librsvg @@ -20,7 +19,7 @@ pkgbase = snappy-switcher optdepends = tela-icon-theme: Recommended icon theme provides = snappy-switcher conflicts = snappy-switcher-git - source = https://github.com/OpalAayan/snappy-switcher/archive/v1.0.0.tar.gz - sha256sums = a3e9d527f1598c0ad59b22a9a7f52bc4f8c0ed690a3a22d0fc75d5afc6df24f1 + source = https://github.com/OpalAayan/snappy-switcher/archive/v2.0.tar.gz + sha256sums = 8cf8c1800dd0fe0539b9d1e71c9c92369a8536f8beecbc1a214ba80bdd8b8245 pkgname = snappy-switcher diff --git a/PKGBUILD b/PKGBUILD index bce1ca217121..3717effa8a15 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -1,6 +1,6 @@ # Maintainer: Opal Aayan pkgname=snappy-switcher -pkgver=1.0.0 +pkgver=2.0 pkgrel=1 pkgdesc="A fast, animated Alt+Tab window switcher for Hyprland with MRU sorting and context grouping" arch=('x86_64') @@ -10,7 +10,6 @@ depends=( 'wayland' 'cairo' 'pango' - 'json-c' 'libxkbcommon' 'glib2' 'librsvg' @@ -27,13 +26,11 @@ optdepends=( ) provides=("$pkgname") conflicts=("$pkgname-git") -# Use this for release versions. For now, we SKIP the check. source=("$url/archive/v$pkgver.tar.gz") -sha256sums=('a3e9d527f1598c0ad59b22a9a7f52bc4f8c0ed690a3a22d0fc75d5afc6df24f1') +sha256sums=('8cf8c1800dd0fe0539b9d1e71c9c92369a8536f8beecbc1a214ba80bdd8b8245') build() { cd "$pkgname-$pkgver" - # Ensure we use standard paths make PREFIX=/usr } @@ -58,8 +55,8 @@ package() { install -Dm644 docs/CONFIGURATION.md "$pkgdir/usr/share/doc/$pkgname/CONFIGURATION.md" install -Dm644 config.ini.example "$pkgdir/usr/share/doc/$pkgname/config.ini.example" - # 5. Systemd Service (Optional, but good to include if available) + # 5. Systemd Service (Optional) if [ -f "snappy-switcher.service" ]; then install -Dm644 snappy-switcher.service "$pkgdir/usr/lib/systemd/user/snappy-switcher.service" fi -} +} \ No newline at end of file