blob: 1a9b80ee2a78a22e3d27f936e2c00ef126a54fb9 (
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
|
# Maintainer: Jose <josrebe333@gmail.com>
pkgname=bookos-settings
pkgver=0.4.1
pkgrel=1
pkgdesc="BookOS Settings — settings application for KDE Plasma (Samsung Galaxy Book / BookOS)"
arch=('x86_64')
url="https://github.com/Evelynx08/BookOS-Settings"
license=('GPL3')
depends=('webkit2gtk-4.1' 'gtk3' 'libsoup3')
optdepends=(
'colord: ICC profile support'
'kscreen: display control via kscreen-doctor'
'qdbus6: brightness control via KDE D-Bus'
'python: local semantic search'
'inotify-tools: watcher for semantic search'
'python-dbus: KRunner semantic search plugin'
'python-gobject: KRunner semantic search plugin'
)
# Pre-built binary package published as a GitHub Release asset.
# We unpack it and reinstall its contents into $pkgdir — no compilation step.
source=("${pkgname}-${pkgver}-${pkgrel}-${arch}.pkg.tar.zst::${url}/releases/download/v${pkgver}/${pkgname}-${pkgver}-${pkgrel}-x86_64.pkg.tar.zst")
sha256sums=('e8847ba25799cf6a9b07e8cec9bf091588aaef573eaf024375f592dd3aaa4d25')
noextract=("${pkgname}-${pkgver}-${pkgrel}-${arch}.pkg.tar.zst")
package() {
cd "$srcdir"
# Extract the upstream pre-built package into a staging dir
install -dm755 _stage
bsdtar -xf "${pkgname}-${pkgver}-${pkgrel}-${arch}.pkg.tar.zst" -C _stage
# Reinstall its tree into $pkgdir, dropping pacman metadata files
install -dm755 "$pkgdir"
cp -a _stage/opt _stage/usr "$pkgdir/"
}
|