blob: 718d961694b35fb69df37886aef2249abc854ec8 (
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
|
# Maintainer: Adrián Pérez de Castro <aperez@igalia.com>
pkgname='panther-launcher-git'
pkgdesc='Fork of Slingshot launcher without Elementary dependencies'
pkgver=1.13.0.r5.gbdb7d63
pkgrel=1
url='https://gitlab.com/rastersoft/panther_launcher'
license=(GPL-3.0-only)
arch=('i686' 'x86_64')
source=("${pkgname}::git+${url}")
makedepends=('git' 'vala' 'cmake')
depends=('gnome-menus' 'libgee' 'gtk3' 'libsoup' 'gnome-icon-theme' 'mate-panel')
sha512sums=('SKIP')
pkgver () {
cd "${srcdir}/${pkgname}"
( set -o pipefail
git describe --long --tags 2>/dev/null | sed 's/\([^-]*-g\)/r\1/;s/-/./g' ||
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
)
}
build () {
cd "${pkgname}"
rm -rf build
mkdir -p build
cd build
cmake .. \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=/usr/lib \
-DCMAKE_INSTALL_LIBEXECDIR=/usr/lib \
-DGSETTINGS_COMPILE=OFF \
-DHAVE_ZEITGEIST=OFF \
-DDISABLE_FLASHBACK=ON \
-DDISABLE_MATE=OFF
make
}
package () {
cd "${pkgname}/build"
make DESTDIR="${pkgdir}" install
rm -rv "${pkgdir}/usr/share/dbus-1/system.d/"
}
|