blob: d2a7236c422a850ccb0455561b86177a90b2e881 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
# Inspired by existing AUR package librewolf-firefox-shim
# Maintainer: Marko Korhonen <aur@marko.korhonen.cc>
pkgname=cachy-browser-firefox-shim
pkgver=110.0.1
pkgrel=1
pkgdesc="A symlink for using Cachy Browser as Firefox"
arch=('any')
url="https://github.com/CachyOS/CachyOS-Browser-Settings"
license=('MIT')
depends=('cachy-browser')
provides=(
"firefox=${pkgver}"
)
conflicts=(
"firefox"
)
pkgver() {
pacman -Qi cachy-browser | grep -E '^Version[[:space:]]*:' | head -n 1 | awk -F ':' '{print $2}' | sed -E 's|-.*||' | tr -d '[[:space:]]'
}
package() {
install -d "$pkgdir"/usr/bin
ln -s /usr/bin/cachy-browser "$pkgdir"/usr/bin/firefox
}
|