Autogenerated commit at 2024-04-08 10:35:53.625120

This commit is contained in:
ahriman 2024-04-08 10:35:53 +00:00
parent a1bb677ec7
commit 061a266abc
2 changed files with 58 additions and 85 deletions

View File

@ -1,36 +1,32 @@
pkgbase = albert
pkgdesc = A sophisticated standalone keyboard launcher
pkgver = 0.17.6
pkgrel = 1
pkgver = 0.23.0
pkgrel = 3
url = https://github.com/albertlauncher
arch = x86_64
license = GPL
license = custom
makedepends = cmake
makedepends = git
makedepends = muparser
makedepends = libqalculate
makedepends = pybind11
makedepends = python
makedepends = qt5-declarative
makedepends = virtualbox
makedepends = virtualbox-sdk
depends = qt5-charts
depends = qt5-graphicaleffects
depends = qt5-quickcontrols
depends = qt5-svg
depends = qt5-x11extras
optdepends = muparser: Calculator plugin
optdepends = python: Python extension
optdepends = virtualbox: VirtualBox plugin
source = mirrors/albert::git+https://github.com/albertlauncher/albert.git#tag=v0.17.6
source = mirrors/plugins::git+https://github.com/albertlauncher/plugins.git
source = mirrors/python::git+https://github.com/albertlauncher/python.git
source = mirrors/pybind11::git+https://github.com/pybind/pybind11.git
source = mirrors/xkcd-plugin::git+https://github.com/bergercookie/xkcd-albert-plugin.git
source = mirrors/jetbrains-plugin::git+https://github.com/mqus/jetbrains-albert-plugin.git
sha512sums = SKIP
sha512sums = SKIP
sha512sums = SKIP
sha512sums = SKIP
sha512sums = SKIP
sha512sums = SKIP
makedepends = qt6-tools
depends = hicolor-icon-theme
depends = qt6-5compat
depends = qt6-declarative
depends = qt6-scxml
depends = qt6-shadertools
depends = qt6-svg
optdepends = ddgr: duckduckgo search plugin
optdepends = libarchive: documentation plugin
optdepends = libqalculate: calculator plugin
optdepends = python: python extension
optdepends = python-docker: docker plugin
optdepends = python-googletrans: google translate plugin
optdepends = python-pylatexenc: TeX plugin
optdepends = python-urllib3: python web plugins
optdepends = python-virtualbox: virtualbox plugin
source = https://github.com/albertlauncher/albert/releases/download/v0.23.0/v0.23.0.tar.gz
sha512sums = 8aae88d69081a1f24b52c682be9e16d8f13eac1136dfdca884ed55c7408a758fb571161c88422187070cdc05fb00a5846d6729b49a35f9c52db575a96cf87c15
pkgname = albert

View File

@ -1,79 +1,56 @@
# Maintainer: Evgenii Alekseev
# Contributor: Felix Yan <felixonmars@archlinux.org>
# Contributor: Manuel Schneider <manuelschneid3r at googles mail>
pkgname=albert
pkgver=0.17.6
pkgrel=1
pkgver=0.23.0
pkgrel=3
pkgdesc="A sophisticated standalone keyboard launcher"
arch=('x86_64')
url="https://github.com/albertlauncher"
license=('GPL')
depends=('qt5-charts' 'qt5-graphicaleffects' 'qt5-quickcontrols' 'qt5-svg' 'qt5-x11extras')
makedepends=('cmake' 'git' 'muparser' 'python' 'qt5-declarative' 'virtualbox' 'virtualbox-sdk')
optdepends=('muparser: Calculator plugin'
'python: Python extension'
'virtualbox: VirtualBox plugin')
source=("mirrors/albert::git+https://github.com/albertlauncher/albert.git#tag=v${pkgver}"
"mirrors/plugins::git+https://github.com/albertlauncher/plugins.git"
"mirrors/python::git+https://github.com/albertlauncher/python.git"
"mirrors/pybind11::git+https://github.com/pybind/pybind11.git"
"mirrors/xkcd-plugin::git+https://github.com/bergercookie/xkcd-albert-plugin.git"
"mirrors/jetbrains-plugin::git+https://github.com/mqus/jetbrains-albert-plugin.git")
sha512sums=('SKIP'
'SKIP'
'SKIP'
'SKIP'
'SKIP'
'SKIP')
prepare() {
mkdir -p build
cd "$srcdir/albert"
git submodule init
git config submodule.plugins.url "$srcdir/plugins"
git -c protocol.file.allow=always submodule update plugins
cd "$srcdir/albert/plugins"
git submodule init
git config submodule.python/pybind11.url "$srcdir/pybind11"
git config submodule.python/share/modules.url "$srcdir/python"
git -c protocol.file.allow=always submodule update python/pybind11 python/share/modules
cd "$srcdir/albert/plugins/python/share/modules"
git submodule init
git config submodule.jetbrains_projects.url "$srcdir/jetbrains-plugin"
git config submodule.xkcd.url "$srcdir/xkcd-plugin"
# currently submodules are out-of-dated in upstream
# so we have to checkout them
git -c protocol.file.allow=always submodule update --remote --merge jetbrains_projects xkcd
}
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=('ddgr: duckduckgo search plugin'
'libarchive: documentation plugin'
'libqalculate: calculator plugin'
'python: python extension'
'python-docker: docker plugin'
'python-googletrans: google translate plugin'
'python-pylatexenc: TeX plugin'
'python-urllib3: python web plugins'
'python-virtualbox: virtualbox plugin')
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 \
-Wno-dev \
-DBUILD_WIDGETBOXMODEL=ON \
-DBUILD_QMLBOXMODEL=ON \
-DBUILD_APPLICATIONS=ON \
-DBUILD_CALCULATOR=ON \
-DBUILD_CHROMEBOOKMARKS=ON \
-DCMAKE_FIND_PACKAGE_RESOLVE_SYMLINKS=ON \
-DQHOTKEY_INSTALL=OFF \
-DBUILD_APPLICATIONS_XDG=ON \
-DBUILD_CALCULATOR_QALCULATE=ON \
-DBUILD_CHROMIUM=ON \
-DBUILD_CLIPBOARD=ON \
-DBUILD_DATETIME=ON \
-DBUILD_DICTIONARY=ON \
-DBUILD_DEBUG=OFF \
-DBUILD_FILES=ON \
-DBUILD_FIREFOXBOOKMARKS=ON \
-DBUILD_HASHGENERATOR=ON \
-DBUILD_MPRIS=ON \
-DBUILD_HASH=ON \
-DBUILD_PYTHON=ON \
-DBUILD_QMLBOXMODEL=ON \
-DBUILD_SNIPPETS=ON \
-DBUILD_SSH=ON \
-DBUILD_SYSTEM=ON \
-DBUILD_TEMPLATE=OFF \
-DBUILD_TERMINAL=ON \
-DBUILD_VIRTUALBOX=ON
-DBUILD_URLHANDLER=ON \
-DBUILD_WEBSEARCH=ON \
-DBUILD_WIDGETSBOXMODEL=ON
make
}
@ -82,8 +59,8 @@ build() {
package() {
cd build
make DESTDIR="$pkgdir/" install
make DESTDIR="$pkgdir" install
install -Dm644 "$srcdir/$pkgname/LICENSE.md" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}
# vim:set ts=2 sw=2 et:
sha512sums=('8aae88d69081a1f24b52c682be9e16d8f13eac1136dfdca884ed55c7408a758fb571161c88422187070cdc05fb00a5846d6729b49a35f9c52db575a96cf87c15')