summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: aacba198a654a42c211a1327598204a4ec256f67 (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
27
28
29
# Maintainer: Alif Radhitya <alifradityawardana@gmail.com>

pkgname=librewolf-bin
_pkgname=librewolf
pkgdesc="Web Browser"
pkgrel=2
pkgver=93.0.1
arch=('x86_64')
url="https://gitlab.com/librewolf-community"
license=('Mozilla Public License 2.0')
provides=('librewolf')
conflicts=('librewolf')
source=("$url/browser/linux/-/jobs/1661832058/artifacts/raw/LibreWolf-93.0-1.x86_64.tar.bz2" 
        "librewolf.desktop"
        "$url/branding/-/raw/master/icon/icon.svg")
sha256sums=('ae6e5d37413b8a39ac87675cf22a9a89ad8770dfd03333a9d2182b9dd2d0ac1b'
            'cbc7640995ddcc9a9356125f486d7371a5b63e26da9a569b07a326c9ed796d0e'
            'b85d68f1b5b47b9b2c3a3e6b5f5a0f887577e0eb6ee8387fb7b81f5f8e4017c4')

package() {
    cd "$srcdir"
    mkdir -p "$pkgdir/usr/local/bin"
    install -d -m755 "$pkgdir/usr/local/lib/$pkgname"
    install -Dm644 "$_pkgname.desktop" -t "$pkgdir/usr/local/share/applications"
    cp -r ./* "$pkgdir/usr/local/lib/$pkgname"
    ln -rs "$pkgidr/usr/local/lib/$pkgname/librewolf" "$pkgdir/usr/local/bin/librewolf"
    install -D -m644 icon.svg "$pkgdir"/usr/share/icons/hicolor/scalable/apps/$_pkgname.svg
}