blob: 0fe1a1aa85b3ed0fe57ca8e1d8c210ba7bef8e37 (
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
|
# Maintainer: Manuel Schneider <manuelschneid3r at googles mail>
pkgname=albert
pkgver=0.13.0
pkgrel=4
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' 'qt5-base' 'qt5-tools')
optdepends=('virtualbox: VirtualBox plugin'
'muparser: Calculator plugin')
provides=('albert')
conflicts=('albert-git')
source=( git://github.com/albertlauncher/albert.git )
noextract=()
md5sums=('SKIP')
# If you want a debug build, change CMAKE_BUILD_TYPE to 'Debug'
#_build_type="Debug"
_build_type="Release"
prepare() {
cd ${pkgname}
git submodule update --init --recursive
}
build() {
cat << EOD
╭──────────────────────────────────────────────╮
│ │
│ If you plan to report bugs please modify │
│ the PKGBUILD to build the debug version. │
│ │
╰──────────────────────────────────────────────╯
EOD
[[ -d "build" ]] || mkdir -p "build"
cd "build"
cmake "../${pkgname}" -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=${_build_type}
make
}
package() {
cd "${srcdir}/build"
make DESTDIR="$pkgdir/" install | grep -v '^-- '
}
# vim:set ts=2 sw=2 et:
|