summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 28c90b6b165c3bfb49440c43bf6a59f705f3388a (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
# Maintainer: Francois Menning <f.menning@pm.me>
# Contributer: Mark Wagie <mark dot wagie at tutanota dot com>

_pkgname=gnome-fuzzy-app-search
pkgname=gnome-shell-extension-fuzzy-app-search
pkgver=5.0.14
pkgrel=1
pkgdesc="Fuzzy application search results for Gnome Search"
arch=('any')
url="https://gitlab.com/Czarlie/gnome-fuzzy-app-search"
license=('GPL3')
depends=('gnome-shell')
makedepends=('git')
provides=("${pkgname%-git}" "${_pkgname}")
conflicts=("${pkgname%-git}" "${_pkgname}")
source=('git+https://gitlab.com/Czarlie/gnome-fuzzy-app-search.git#tag=v5.0.14')
sha256sums=('SKIP')

build() {
  cd "$srcdir/${_pkgname%-git}"
  make build
}

package() {
  cd "$srcdir/${_pkgname%-git}"
  make INSTALL_PATH="$pkgdir/usr/share/gnome-shell/extensions" install

  _uuid="${_pkgname%-git}@gnome-shell-extensions.Czarlie.gitlab.com"

  install -Dm644 schemas/org.gnome.shell.extensions.gnome-fuzzy-search.gschema.xml -t \
    "$pkgdir/usr/share/glib-2.0/schemas/"

  rm -rf "$pkgdir/usr/share/gnome-shell/extensions/$_uuid/schemas/"
}