fix: update packaging

This commit is contained in:
ArjixWasTaken 2025-10-22 19:40:44 +00:00
parent b5463e8a79
commit fec8bb1b70
2 changed files with 9 additions and 26 deletions

View file

@ -1,7 +1,7 @@
pkgbase = vicinae-bin
pkgdesc = Raycast like FOSS app on Linux
pkgver = 0.15.2
pkgrel = 1
pkgrel = 2
url = https://github.com/vicinaehq/vicinae
arch = x86_64
license = GPL3
@ -14,12 +14,8 @@ pkgbase = vicinae-bin
provides = vicinae
conflicts = vicinae
source = https://github.com/vicinaehq/vicinae/releases/download/v0.15.2/vicinae-linux-x86_64-v0.15.2.tar.gz
source = https://raw.githubusercontent.com/vicinaehq/vicinae/refs/tags/v0.15.2/extra/vicinae.service
source = https://raw.githubusercontent.com/vicinaehq/vicinae/refs/tags/v0.15.2/vicinae/icons/vicinae.svg
source = vicinae.hook
sha256sums = ccb7001b19b5c5e45deaedc5a499ffc28dc11bf72d8c716834505e4aa6fc0d25
sha256sums = 9904fb8343a54c4ca577a4a86808780d19246672ea7ca3ff5d60dbf329c01b58
sha256sums = 9b3957bd45e7508dc2d4e16d3186fc679752c0554ad43755cf0044e4f6484dab
sha256sums = 3e946bcb7f3c2faa3568218987012db336be92acff805a373b6c10bdeaa9e7a8
pkgname = vicinae-bin

View file

@ -3,7 +3,7 @@
pkgname=vicinae-bin
pkgver=0.15.2
pkgrel=1
pkgrel=2
pkgdesc="Raycast like FOSS app on Linux"
arch=('x86_64')
url="https://github.com/vicinaehq/vicinae"
@ -14,33 +14,20 @@ conflicts=("vicinae")
source=(
"${url}/releases/download/v$pkgver/${pkgname%-bin}-linux-$arch-v$pkgver.tar.gz"
"https://raw.githubusercontent.com/vicinaehq/vicinae/refs/tags/v$pkgver/extra/vicinae.service"
"https://raw.githubusercontent.com/vicinaehq/vicinae/refs/tags/v$pkgver/vicinae/icons/vicinae.svg"
"vicinae.hook"
)
sha256sums=('ccb7001b19b5c5e45deaedc5a499ffc28dc11bf72d8c716834505e4aa6fc0d25'
'9904fb8343a54c4ca577a4a86808780d19246672ea7ca3ff5d60dbf329c01b58'
'9b3957bd45e7508dc2d4e16d3186fc679752c0554ad43755cf0044e4f6484dab'
'3e946bcb7f3c2faa3568218987012db336be92acff805a373b6c10bdeaa9e7a8')
package() {
# Bin
install -Dm755 "$srcdir/bin/${pkgname%-bin}" "$pkgdir/usr/bin/${pkgname%-bin}"
install -Dm755 "$srcdir/bin/vicinae-wlr-clip" "$pkgdir/usr/bin/vicinae-wlr-clip"
# Desktop entry
install -Dm644 "$srcdir/share/applications/${pkgname%-bin}.desktop" "$pkgdir/usr/share/applications/${pkgname%-bin}.desktop"
# Themes
cp -r "$srcdir/share/${pkgname%-bin}" "$pkgdir/usr/share/"
# Systemd Service
install -Dm644 "$srcdir/${pkgname%-bin}.service" "$pkgdir/usr/lib/systemd/user/${pkgname%-bin}.service"
# SVG icon
install -Dm644 "$srcdir/${pkgname%-bin}.svg" "$pkgdir/usr/share/icons/hicolor/scalable/apps/${pkgname%-bin}.svg"
install -dm755 "$pkgdir/usr"
cp -rp \
"$srcdir/bin" \
"$srcdir/share" \
"$srcdir/lib" \
"$pkgdir/usr"
# Pacman hook
install -Dm644 "$srcdir/${pkgname%-bin}.hook" "$pkgdir/usr/share/libalpm/hooks/${pkgname%-bin}.hook"
}