[arch-commits] Commit in albert/repos (2 files)

Felix Yan felixonmars at archlinux.org
Fri Nov 13 20:12:11 UTC 2020


    Date: Friday, November 13, 2020 @ 20:12:11
  Author: felixonmars
Revision: 753987

archrelease: copy trunk to community-staging-x86_64

Added:
  albert/repos/community-staging-x86_64/
  albert/repos/community-staging-x86_64/PKGBUILD
    (from rev 753986, albert/trunk/PKGBUILD)

----------+
 PKGBUILD |   80 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 80 insertions(+)

Copied: albert/repos/community-staging-x86_64/PKGBUILD (from rev 753986, albert/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2020-11-13 20:12:11 UTC (rev 753987)
@@ -0,0 +1,80 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Manuel Schneider  <manuelschneid3r at googles mail>
+
+pkgname=albert
+pkgver=0.16.1
+pkgrel=3
+pkgdesc="A sophisticated standalone keyboard launcher."
+arch=('i686' 'x86_64' 'armv7h')
+url="https://github.com/albertlauncher"
+license=('GPL')
+depends=('qt5-charts' 'qt5-graphicaleffects' 'qt5-quickcontrols' 'qt5-svg' 'qt5-x11extras' 'libx11')
+makedepends=( 'cmake' 'git' 'muparser' 'python' 'qt5-declarative' 'qt5-svg' '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"
+        albert-virtualbox.patch::https://github.com/idkCpp/plugins/commit/2fcd553f375ecdeaf19b27bdaea5343ceca1d44d.patch)
+md5sums=('SKIP'
+         'SKIP'
+         'SKIP'
+         'SKIP'
+         '5d07e46ce275a2ac1d0a9d9fcd1746fc')
+
+
+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
+  patch -p1 -i "$srcdir"/albert-virtualbox.patch
+  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_EXTERNALEXTENSIONS=ON \
+    -DBUILD_DEBUG=OFF \
+    -DBUILD_FILES=ON \
+    -DBUILD_FIREFOXBOOKMARKS=ON \
+    -DBUILD_HASHGENERATOR=ON \
+    -DBUILD_KVSTORE=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:


More information about the arch-commits mailing list