diff options
author | Manuel Schneider | 2017-09-29 20:27:10 +0200 |
---|---|---|
committer | Manuel Schneider | 2017-09-29 20:27:10 +0200 |
commit | f2bf33640d8f879ba41b8c0a94f252ac062f9b71 (patch) | |
tree | 13a2b5620e0944ad40ac0d44e3680afdd8d0e6a4 | |
parent | e114f59215ea5b724abb0cb55b5ccf02a5d3265c (diff) | |
download | aur-f2bf33640d8f879ba41b8c0a94f252ac062f9b71.tar.gz |
v0.13.0-7
-rw-r--r-- | .SRCINFO | 15 | ||||
-rw-r--r-- | PKGBUILD | 68 |
2 files changed, 64 insertions, 19 deletions
@@ -1,29 +1,30 @@ # Generated by mksrcinfo v8 -# Fri Sep 29 10:42:46 UTC 2017 +# Fri Sep 29 18:22:09 UTC 2017 pkgbase = albert pkgdesc = A DE agnostic omnilauncher. pkgver = 0.13.0 - pkgrel = 6 + pkgrel = 7 url = https://github.com/albertlauncher/albert arch = i686 arch = x86_64 license = GPL + makedepends = git makedepends = cmake makedepends = gcc - makedepends = qt5-base + makedepends = qt5-svg + makedepends = qt5-declarative makedepends = virtualbox-sdk makedepends = muparser - depends = qt5-base - depends = libx11 - depends = qt5-x11extras depends = qt5-svg + depends = qt5-x11extras + depends = libx11 optdepends = virtualbox: VirtualBox plugin optdepends = muparser: Calculator plugin optdepends = qt5-quickcontrols: QML frontend optdepends = qt5-graphicaleffects: QML frontend provides = albert conflicts = albert-git - source = git://github.com/albertlauncher/albert.git + source = git://github.com/albertlauncher/albert.git#tag=v0.13.0 md5sums = SKIP pkgname = albert @@ -1,32 +1,48 @@ # Maintainer: Manuel Schneider <manuelschneid3r at googles mail> pkgname=albert pkgver=0.13.0 -pkgrel=6 +pkgrel=7 pkgdesc="A DE agnostic omnilauncher." arch=('i686' 'x86_64') url="https://github.com/albertlauncher/albert" license=('GPL') -depends=('qt5-base' 'libx11' 'qt5-x11extras' 'qt5-svg') -makedepends=('cmake' 'gcc' 'qt5-base' 'virtualbox-sdk' 'muparser') -optdepends=('virtualbox: VirtualBox plugin' - 'muparser: Calculator plugin' - 'qt5-quickcontrols: QML frontend' - 'qt5-graphicaleffects: QML frontend' ) +depends=( + 'qt5-svg' + 'qt5-x11extras' + 'libx11' +) +makedepends=( + 'git' + 'cmake' + 'gcc' + 'qt5-svg' + 'qt5-declarative' + 'virtualbox-sdk' + 'muparser' +) +optdepends=( + 'virtualbox: VirtualBox plugin' + 'muparser: Calculator plugin' + 'qt5-quickcontrols: QML frontend' + 'qt5-graphicaleffects: QML frontend' +) provides=('albert') conflicts=('albert-git') -source=( git://github.com/albertlauncher/albert.git ) +source=("git://github.com/albertlauncher/albert.git#tag=v${pkgver}") noextract=() md5sums=('SKIP') -# If you want a debug build, change CMAKE_BUILD_TYPE to 'Debug' -#_build_type="Debug" -_build_type="Release" prepare() { cd ${pkgname} + + # Workaround permission problems, this should be fixed in v0.13.1 + sed -i 's/git@github.com:/https:\/\/github.com\//' .gitmodules + git submodule update --init --recursive } + build() { cat << EOD @@ -42,10 +58,38 @@ EOD [[ -d "build" ]] || mkdir -p "build" cd "build" - cmake "../${pkgname}" -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=${_build_type} + cmake \ + "../${pkgname}" \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_BUILD_TYPE="Release" \ + -Wno-dev + + # Maybe you want to add some of those + # but remember to adjust the dependencies + + #-DCMAKE_BUILD_TYPE="Debug" + #-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_SSH=ON + #-DBUILD_SYSTEM=ON + #-DBUILD_TEMPLATE=OFF + #-DBUILD_TERMINAL=ON + #-DBUILD_VIRTUALBOX=ON + make } + package() { cd "${srcdir}/build" make DESTDIR="$pkgdir/" install | grep -v '^-- ' |