blob: 81e28ff0939b52432e6d57fe0d4707edc611fc52 (
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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
|
# Contributor: Balló György <ballogyor+arch at gmail dot com>
# Contributor: zhangkaizhao <zhangkaizhao at gmail dot com>
# Contributor: Klaus Alexander Seistrup <klaus at seistrup dot dk>
# Maintainer: zxp19821005 <zxp19821005 at 163 dot com>
pkgname="dooble-bin"
pkgver=2023.07.15
pkgrel=4
pkgdesc="Web browser based on QtWebEngine"
arch=(x86_64)
url="https://textbrowser.github.io/dooble/"
_githuburl="https://github.com/textbrowser/${pkgname%-bin}"
license=('custom')
depends=(
'alsa-lib'
'at-spi2-core'
'bash'
'cairo'
'dbus'
'expat'
'fontconfig'
'freetype2'
'gcc-libs'
'gdk-pixbuf2'
'glib2'
'glibc'
'gpgme'
'gst-plugins-base-libs'
'gstreamer'
'gtk3'
'krb5'
'libassuan'
'libcups'
'libdrm'
'libglvnd'
'libgpg-error'
'libx11'
'libxcb'
'libxcomposite'
'libxdamage'
'libxext'
'libxfixes'
'libxi'
'libxkbcommon'
'libxkbcommon-x11'
'libxkbfile'
'libxrandr'
'libxrender'
'libxshmfence'
'libxtst'
'nspr'
'nss'
'pango'
'qt6-base'
'qt6-charts'
'qt6-declarative'
'qt6-multimedia'
'qt6-positioning'
'qt6-svg'
'qt6-webchannel'
'qt6-webengine'
'sqlite'
'unixodbc'
'wayland'
'xcb-util-cursor'
'xcb-util-image'
'xcb-util-keysyms'
'xcb-util-renderutil'
'xcb-util-wm'
'zlib'
)
makedepends=(
'findutils'
'gendesk'
)
conflicts=("${pkgname%-bin}")
noextract=("${pkgname%-bin}-${pkgver}.tar.gz")
source=(
"${pkgname%-bin}-${pkgver}.tar.gz::${_githuburl}/releases/download/${pkgver}/Dooble-${pkgver}.tar.gz"
"LICENSE::https://raw.githubusercontent.com/textbrowser/dooble/master/LICENSE"
)
sha256sums=(
'b02e95a85082bcc4c12fce1e547ebfacfe24c70a5e98140a15c570030023ecba'
'c60bf2d6a8bfdf7c7418bba91c6767cbb4b48dccae36dd5d9ffdb48f756815dd'
)
package() {
install -Dm755 -d "${pkgdir}/opt"
bsdtar -xf "${srcdir}/${pkgname%-bin}-${pkgver}.tar.gz" -C "${pkgdir}/opt" --gname root --uname root
install -Dm644 "${srcdir}/LICENSE" -t "${pkgdir}/usr/share/licenses/${pkgname}"
install -Dm644 "${pkgdir}/opt/${pkgname%-bin}/${pkgname%-bin}.png" -t "${pkgdir}/usr/share/pixmaps"
gendesk -f -n --icon "${pkgname%-bin}" --categories "Network" --name "Dooble" --exec "/opt/${pkgname%-bin}/${pkgname%-bin}.sh"
install -Dm644 "${srcdir}/${pkgname%-bin}.desktop" -t "${pkgdir}/usr/share/applications"
# Fix incorrect permissions
find "${pkgdir}" -type f -perm 0664 -print0 | xargs -r0 chmod 0644
find "${pkgdir}" -type f -perm 0775 -print0 | xargs -r0 chmod 0755
find "${pkgdir}" -type d -print0 | xargs -r0 chmod 0755
# Add a symlink to dooble.sh for those who prefer to not use a mouse
install -dm0755 "${pkgdir}/usr/bin"
ln -sr "${pkgdir}/opt/${pkgname%-bin}/${pkgname%-bin}.sh" "${pkgdir}/usr/bin/${pkgname%-bin}"
# Remove libraries provided by upstream
rm -rf "${pkgdir}/opt/${pkgname%-bin}/Lib/"
}
# eof
|