summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 416226f13837287cec71aede1f6edd7e75315360 (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
# Maintainer: Mark Wagie <mark dot wagie at proton dot me>
pkgname=gnome-shell-extension-fuzzy-app-search-git
_uuid=gnome-fuzzy-app-search@gnome-shell-extensions.Czarlie.gitlab.com
pkgver=5.0.15.r0.g595fada
pkgrel=1
pkgdesc="Fuzzy application search results for Gnome Search"
arch=('any')
url="https://gitlab.com/Czarlie/gnome-fuzzy-app-search"
license=('GPL-3.0-or-later')
depends=('gnome-shell')
makedepends=('git')
provides=("${pkgname%-git}")
conflicts=("${pkgname%-git}" 'gnome-fuzzy-app-search')
source=('git+https://gitlab.com/Czarlie/gnome-fuzzy-app-search.git')
sha256sums=('SKIP')

pkgver() {
  cd gnome-fuzzy-app-search
  git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
}

build() {
  cd gnome-fuzzy-app-search
  make build
}

package() {
  cd gnome-fuzzy-app-search
  make INSTALL_PATH="$pkgdir/usr/share/gnome-shell/extensions" install
}