blob: 11acc36bcfac15a2465821755218e2e588bf575e (
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
|
# Maintainer: Benjamin Bukowski <b at bkwsk dot de>
pkgname=krunner-firefox-git
pkgver=r108.9a58497
pkgrel=1
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' 'kcmutils5')
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() {
cmake -B build -S "${pkgname}" \
-DCMAKE_BUILD_TYPE=Release \
-DBUILD_TESTING=OFF
cmake --build build
}
package() {
DESTDIR="${pkgdir}" cmake --install build
install -Dm644 private_browsing_firefox.svg -t "${pkgdir}/usr/share/pixmaps"
}
|