summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 44098e0fb6654db8dab152588ade5a28afb0a1ba (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
26
# Maintainer: BryanLiang <liangrui.ch at gmail dot com>

pkgname=edge-frfox
pkgver=24.4.18
pkgrel=1
pkgdesc="A Firefox userChrome.css theme that aims to recreate the look and feel of Microsoft Edge."
arch=('any')
url="https://github.com/bmFtZQ/edge-frfox"
license=('MIT')
optdepends=('firefox: primary compatible browser'
            'librewolf: alternative compatible browser')
source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/refs/tags/v${pkgver}.tar.gz")
sha256sums=('f7097068a682040a34b7651817f901ebe6b1cacb324de161fe583096077c58c6')

package() {
    cd "${pkgname}-${pkgver}"
    install -d "${pkgdir}/usr/share/${pkgname}"

    for item in user.js sidebery.json chrome/
    do
        cp -ra "${item}" "${pkgdir}/usr/share/${pkgname}"
    done

    install -Dm 644 README.md "${pkgdir}/usr/share/doc/${pkgname}/README.md"
    install -Dm 644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}