summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: a212b6de7402e31f22de766b9d8a745b8c5bd877 (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
# Maintainer: Yang Niao <ksmt 4699 at gmail dot com>
# Contributor: Aoichaan0513 <at Aoichaan0513>
pkgname=flast
pkgver=4.8.3
pkgrel=1
pkgdesc='Cross-platform browser based on Chromium.'
arch=('x86_64')
url='https://gitlab.com/Aoichaan0513/flast'
license=('GPL')
depends=('at-spi2-core' 'desktop-file-utils' 'gtk3' 'hicolor-icon-theme' 'libappindicator-gtk3' 'libnotify' 'libsecret' 'libutil-linux' 'libxss' 'libxtst' 'nss' 'xdg-utils')
source=(
    "http://aoichaan0513.xyz/flast/linux/x64/Stable/Flast_${pkgver}_amd64.deb"
)
md5sums=('5be3aa5d6bd829a9f79621cad64d5eb3')

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"
}