blob: ec4df10a38c7be8c5f9b1c9f06acd03b55af3b80 (
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
|
# Maintainer: Lynx <wostarxi@outlook.com>
# Maintainer: zxp19821005 <zxp19821005 at 163 dot com>
pkgname=browser360-bin
_pkgname=com.360.browser-stable
pkgver=13.3.1016.4
pkgrel=1
pkgdesc="360 Browser stable version"
arch=(
"aarch64"
"x86_64"
)
url="https://browser.360.net/gc/index.html"
license=('LicenseRef-custom')
provides=("${pkgname%-bin}=${pkgver}")
conflicts=("${pkgname%-bin}")
depends=(
'qt5-base'
'alsa-lib'
'openssl-1.1'
'gtk2'
'gtk3'
'nss'
'libpulse'
'libusb'
'dmidecode'
)
install="${pkgname%-bin}.install"
source_aarch64=("${pkgname%-bin}-${pkgver}-aarch64.deb::https://gedown.360safe.com/gc/signed_${_pkgname}_${pkgver}-1_arm64.deb")
source_x86_64=("${pkgname%-bin}-${pkgver}-x86_64.deb::https://gedown.360safe.com/gc/signed_${_pkgname}_${pkgver}-1_amd64.deb")
sha256sums_aarch64=('2bb1bb26d7836af73a857f8823d74b520c130b73f4d7928276c1af1b1de07968')
sha256sums_x86_64=('5b82d586a7cf0deae943620bf8cb296a417db815cf6db92622f9d719815570b8')
build() {
bsdtar -xf "${srcdir}/data."*
rm -rf "${srcdir}/opt/apps/${_pkgname}/info" \
"${srcdir}/opt/apps/${_pkgname}/entries/autostart"
}
package() {
cp -r "${srcdir}/opt" "${pkgdir}"
install -Dm644 "${srcdir}/opt/apps/${_pkgname}/files/components/professional.qcert" -t "${pkgdir}/var/lib/${pkgname%-bin}"
install -Dm644 "${srcdir}/opt/apps/${_pkgname}/files/components/professional.qcert" -t "${pkgdir}/apps-data/private/${_pkgname}"
for _icons in 16x16 24x24 32x32 48x48 64x64 128x128 256x256; do
install -Dm644 "${srcdir}/opt/apps/${_pkgname}/files/product_logo_${_icons/x*}.png" \
"${pkgdir}/usr/share/icons/hicolor/${_icons}/apps/${_pkgname}.png"
done
install -Dm644 "${srcdir}/opt/apps/${_pkgname}/files/components/procopyright.html" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
install -Dm644 "${srcdir}/opt/apps/${_pkgname}/entries/applications/${_pkgname}.desktop" "${pkgdir}/usr/share/applications/${pkgname}.desktop"
}
|