Update to v2.0

This commit is contained in:
OpalAayan 2026-02-04 01:12:44 +05:30
parent 9fa3765fee
commit 2fcbd8b6b1
2 changed files with 7 additions and 11 deletions

View file

@ -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

View file

@ -1,6 +1,6 @@
# Maintainer: Opal Aayan <YougurtMyFace@proton.me>
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
}
}