blob: b25675bbda3fd82ef2ef49e43a12ed10cb3faefc (
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
|
# Maintainer: Evgenii Alekseev
# Contributor: Felix Yan <felixonmars@archlinux.org>
# Contributor: Manuel Schneider <manuelschneid3r at googles mail>
pkgname=albert
pkgver=0.26.9
pkgrel=1
pkgdesc="A sophisticated standalone keyboard launcher"
arch=('x86_64')
url="https://github.com/albertlauncher"
license=('custom')
depends=('hicolor-icon-theme' 'qt6-5compat' 'qt6-declarative' 'qt6-scxml' 'qt6-shadertools' 'qt6-svg')
makedepends=('cmake' 'git' 'libqalculate' 'pybind11' 'python' 'qt6-tools')
optdepends=('libarchive: documentation plugin'
'libqalculate: calculator plugin'
'python: python extension')
source=("https://github.com/albertlauncher/albert/releases/download/v${pkgver}/v${pkgver}.tar.gz")
build() {
mkdir -p build
cd build
cmake ../$pkgname \
-DCMAKE_BUILD_TYPE=MinSizeRel \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib \
-DCMAKE_FIND_PACKAGE_RESOLVE_SYMLINKS=ON \
-DQHOTKEY_INSTALL=OFF \
-DBUILD_PLUGIN_APPLICATIONS=ON \
-DBUILD_PLUGIN_CAFFEINE=ON \
-DBUILD_PLUGIN_CALCULATOR_QALCULATE=ON \
-DBUILD_PLUGIN_CHROMIUM=ON \
-DBUILD_PLUGIN_CLIPBOARD=ON \
-DBUILD_PLUGIN_DATETIME=ON \
-DBUILD_PLUGIN_DEBUG=OFF \
-DBUILD_PLUGIN_DICTIONARY=ON \
-DBUILD_PLUGIN_FILES=ON \
-DBUILD_PLUGIN_HASH=ON \
-DBUILD_PLUGIN_MPRIS=ON \
-DBUILD_PLUGIN_PATH=ON \
-DBUILD_PLUGIN_PYTHON=ON \
-DBUILD_PLUGIN_SNIPPETS=ON \
-DBUILD_PLUGIN_SSH=ON \
-DBUILD_PLUGIN_SYSTEM=ON \
-DBUILD_PLUGIN_TIMER=ON \
-DBUILD_PLUGIN_TIMEZONES=ON \
-DBUILD_PLUGIN_URLHANDLER=ON \
-DBUILD_PLUGIN_VPN=ON \
-DBUILD_PLUGIN_WEBSEARCH=ON \
-DBUILD_PLUGIN_WIDGETSBOXMODEL=ON
make
}
package() {
cd build
make DESTDIR="$pkgdir" install
install -Dm644 "$srcdir/$pkgname/LICENSE.md" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}
sha512sums=('38b780f0bdb20d46c0fb29fab537c85a0eb7407d26fb75b8713a20ce1f9392798e8fe679d1811a5fc4cbfa535c5546c9caee17f70ce256c011002bb03bef40a5')
|