blob: 64e20827b5a449c199a49b0fe1e324ed6714ba7e (
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
|
# Maintainer: Entailz <entail-wraps0r at icloud dot com>
pkgname=quickshell
pkgver=0.1.af14a41
pkgrel=1
pkgdesc='Simple and flexbile QtQuick based desktop shell toolkit.'
arch=(x86_64 aarch64)
url='https://github.com/outfoxxed/quickshell'
conflicts=("quickshell")
provides=("quickshell")
options=(!strip)
license=('GPL')
depends=(
'qt6-declarative'
'qt6-base'
'jemalloc'
'qt6-svg'
'libpipewire'
'qt6-wayland'
'wayland-protocols'
'libxcb'
'wayland'
'cli11'
'google-breakpad'
)
makedepends=(
'ninja'
'cmake'
'pkgconf'
)
source=(
"git+https://github.com/outfoxxed/quickshell.git"
)
sha256sums=(
'SKIP'
)
pkgver() {
cd "$srcdir/quickshell"
printf "0.1.%s" "$(git rev-parse --short HEAD)"
}
build() {
cd "${pkgname}"
cmake -GNinja -B build \
-DCMAKE_BUILD_TYPE="RelWithDebInfo" \
-DCMAKE_INSTALL_PREFIX=/usr \
-DDISTRIBUTOR="AUR (package: quickshell)" \
-DDISTRIBUTOR_DEBUGINFO_AVAILABLE=NO \
-DINSTALL_QML_PREFIX=/lib/qt6/qml
cmake --build build
}
package() {
cd "${pkgname}"
DESTDIR=$pkgdir cmake --install build
install -Dm644 "LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
install -Dm644 "../../quickshell-check.hook" "$pkgdir/usr/share/libalpm/hooks/quickshell-check.hook"
}
|