Skip to content

Commit

Permalink
add: cachy-browser-bin (#5117)
Browse files Browse the repository at this point in the history
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Elsie <[email protected]>
  • Loading branch information
3 people authored Dec 28, 2023
1 parent cce825d commit 9831f7f
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 0 deletions.
1 change: 1 addition & 0 deletions packagelist
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ brave-browser-nightly-deb
brave-keyring-deb
btop-bin
btrfs-du-bin
cachy-browser-bin
cachyos-ananicy-rules-git
cantata
caprine-deb
Expand Down
34 changes: 34 additions & 0 deletions packages/cachy-browser-bin/cachy-browser-bin.pacscript
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name="cachy-browser-bin"
gives="cachy-browser"
pkgver="121.0-1"
repology=("project: ${gives}")
homepage='https://github.com/CachyOS/CachyOS-Browser-Settings'
pkgdesc="Community-maintained fork of Firefox, focused on privacy, security and freedom"
maintainer="vigress8 <[email protected]>"
arch=("amd64")
gnuarch="x86_64"
case $(
/lib64/ld-linux-x86-64.so.2 --help \
| grep 'x86-64.*supported' \
| head -1 \
| awk '{print $1}'
) in
"x86-64_v4")
url="https://mirror.cachyos.org/repo/x86_64_v4/cachyos-v4/${gives}-${pkgver}-x86_64_v4.pkg.tar.zst"
hash="681e45f95d7539d5d174763fed98fd00a00d0f3639cb2e6a2eb543cc41108019"
;;
"x86-64_v3")
url="https://mirror.cachyos.org/repo/x86_64_v3/cachyos-v3/${gives}-${pkgver}-x86_64_v3.pkg.tar.zst"
hash="c8fc910c201b7260c1bba02729cf886d005fca1b7a7ea78949d9ea4b65277ba8"
;;
*)
pkgver="120.0.1-3"
url="https://mirror.cachyos.org/repo/x86_64/cachyos/${gives}-${pkgver}-x86_64.pkg.tar.zst"
hash="6cb1dcb6f7962cd302af61dcee3c52c33d81417b20d72bbe31b30b4d217d1946"
;;
esac

package() {
rm ./.{{BUILD,PKG}INFO,INSTALL,MTREE}
sudo cp -r --preserve=mode,links ./* "${pkgdir}"
}

0 comments on commit 9831f7f

Please sign in to comment.