summaryrefslogtreecommitdiff
path: root/albert
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2022-01-28 14:12:06 +0100
committerErich Eckner <git@eckner.net>2022-01-28 14:56:51 +0100
commit7f057712814ee1493b2ba33d60a3342b28c05e69 (patch)
tree394390bd78844dfb96ca0f8750ee0c33072dec4a /albert
parent9e6f530dc098f33b9f90cb1f8da48dc4f6c61ce1 (diff)
downloadarchlinuxewe-7f057712814ee1493b2ba33d60a3342b28c05e69.tar.xz
albert neu
Diffstat (limited to 'albert')
-rw-r--r--albert/.gitignore1
-rw-r--r--albert/PKGBUILD89
2 files changed, 90 insertions, 0 deletions
diff --git a/albert/.gitignore b/albert/.gitignore
new file mode 100644
index 000000000..930c5edfd
--- /dev/null
+++ b/albert/.gitignore
@@ -0,0 +1 @@
+mirrors
diff --git a/albert/PKGBUILD b/albert/PKGBUILD
new file mode 100644
index 000000000..13e8343f0
--- /dev/null
+++ b/albert/PKGBUILD
@@ -0,0 +1,89 @@
+# Contributor: Felix Yan <felixonmars@archlinux.org>
+# Contributor: Manuel Schneider <manuelschneid3r at googles mail>
+# Maintainer: Erich Eckner <arch at eckner dot net>
+
+pkgname=albert
+pkgver=0.17.2
+pkgrel=1
+pkgdesc="A sophisticated standalone keyboard launcher"
+arch=('i486' 'i686' 'pentium4' 'x86_64')
+url="https://github.com/albertlauncher"
+license=('GPL')
+_pinned_dependencies=(
+ 'gcc-libs=11.1.0'
+ 'glibc>=2.33'
+ 'libx11=1.7.3.1'
+ 'muparser=2.3.3'
+ 'python=3.10.2'
+ 'qt5-base=5.15.2+kde+r295'
+ 'qt5-charts=5.15.2'
+ 'qt5-declarative=5.15.2+kde+r43'
+ 'qt5-svg=5.15.2+kde+r16'
+ 'qt5-x11extras=5.15.2'
+)
+depends=('qt5-graphicaleffects' 'qt5-quickcontrols' "${_pinned_dependencies[@]}")
+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")
+sha512sums=('SKIP'
+ 'SKIP'
+ 'SKIP'
+ 'SKIP')
+
+
+prepare() {
+ mkdir -p build
+
+ cd "$srcdir/albert"
+ git submodule init
+ git config submodule.plugins.url "$srcdir/plugins"
+ git 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 submodule update python/pybind11 python/share/modules
+}
+
+
+build() {
+ cd build
+
+ cmake ../$pkgname \
+ -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 \
+ -DBUILD_DEBUG=OFF \
+ -DBUILD_FILES=ON \
+ -DBUILD_FIREFOXBOOKMARKS=ON \
+ -DBUILD_HASHGENERATOR=ON \
+ -DBUILD_MPRIS=ON \
+ -DBUILD_PYTHON=ON \
+ -DBUILD_SSH=ON \
+ -DBUILD_SYSTEM=ON \
+ -DBUILD_TEMPLATE=OFF \
+ -DBUILD_TERMINAL=ON \
+ -DBUILD_VIRTUALBOX=ON
+
+ make
+}
+
+
+package() {
+ cd build
+
+ make DESTDIR="$pkgdir/" install
+}
+
+# vim:set ts=2 sw=2 et: