blob: db95814ba7053942c46dcef0cef640e24cb44503 (
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
|
# Maintainer: Nico <d3sox at protonmail dot com>
# Contributor: Benjamin Bukowski <b at bkwsk dot de>
pkgname=krunner-firefox-git
pkgver=r140.462a302
pkgrel=2
pkgdesc="Launch Firefox profiles from Krunner and your normal launcher."
arch=('x86_64')
url="https://github.com/alex1701c/krunner-firefox"
license=('GPL3')
depends=('firefox')
makedepends=('cmake' 'extra-cmake-modules' 'kcmutils')
optdepends=('proxychains-ng: Launch specific profiles over a proxy')
source=("$pkgname::git+https://github.com/alex1701c/krunner-firefox.git" 'private_browsing_firefox.svg')
sha256sums=('SKIP'
'fd7611210dc81105c6b8c92f77f332549f697c61efa6d5dd9e60eaff2dc8d067')
pkgver() {
cd "${pkgname}"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build() {
local _cmake_args=(
-B build
-S "$pkgname"
-W no-dev
-D CMAKE_BUILD_TYPE=Release
-D BUILD_WITH_QT6=ON
-D BUILD_TESTING=OFF
)
cmake "${_cmake_args[@]}"
cmake --build build
}
package() {
DESTDIR="${pkgdir}" cmake --install build
install -Dm644 private_browsing_firefox.svg -t "${pkgdir}/usr/share/pixmaps"
}
|