summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 6662b638f0586e60797f59ad2f7efe774b6097e3 (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
30
31
32
33
# Maintainer: Yang Niao <ksmt 4699 at gmail dot com>
# Contributor: Aoichaan0513 <at Aoichaan0513>
pkgname=flast
pkgver=82.0.5
pkgrel=1
pkgdesc='Cross-platform browser based on Chromium.'
arch=('x86_64')

# Links
channel="Beta"
url='https://github.com/Aoichaan0513/flast'
_url='https://flast.aoichaan0513.jp'
# old: source=("${_url}/${channel}/Flast_${pkgver}_amd64.deb")
source=("${_url}/releases/linux/${channel}/Flast_${pkgver}_amd64.deb")

install="flast.install"

license=('GPL')
depends=('at-spi2-core' 'desktop-file-utils' 'gtk3' 'hicolor-icon-theme' 'libappindicator-gtk3' 'libnotify' 'libsecret' 'libutil-linux' 'libxss' 'libxtst' 'nss' 'xdg-utils')
md5sums=('292a1aae6d890e2fe8e4098e3bc732cc')

prepare() {
    tar -xvf data.tar.xz
}

package() {
    cp -r ${srcdir}/opt ${pkgdir}/opt
    cp -r ${srcdir}/usr ${pkgdir}/usr
    chmod -R 755 ${pkgdir}/*
    mkdir -p "${pkgdir}/usr/bin"
    touch ${pkgdir}/usr/bin/flast
    ln -sf "${pkgdir}/opt/Flast/flast" "${pkgdir}/usr/bin/flast"
}