2 # Maintainer: Maxime Gauduin <alucryd@archlinux.org>
4 pkgname=slingshot-launcher
7 pkgdesc='The Pantheon Application Launcher'
9 url='https://launchpad.net/slingshot'
11 depends=('gdk-pixbuf2' 'glib2' 'glibc' 'gnome-menus' 'gtk3' 'json-glib'
12 'libgee' 'libsoup' 'plank' 'zeitgeist'
14 makedepends=('cmake' 'vala')
15 install='slingshot-launcher.install'
16 source=("https://launchpad.net/slingshot/freya/${pkgver}/+download/slingshot-launcher-${pkgver}.tar.xz")
17 sha256sums=('bc72aa2ba427d7d24a5baa6ea932ba34afe7ecdcda16b9a64be788bef1f11e6e')
20 cd slingshot-launcher-${pkgver}
22 if [[ -d build ]]; then
29 cd slingshot-launcher-${pkgver}/build
32 -DCMAKE_BUILD_TYPE='Release' \
33 -DCMAKE_INSTALL_PREFIX='/usr' \
34 -DCMAKE_EXE_LINKER_FLAGS='-lm' \
35 -DGSETTINGS_COMPILE='FALSE' \
41 cd slingshot-launcher-${pkgver}/build
43 make DESTDIR="${pkgdir}" install