summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: f3fde47685d6e72e9845c6ad11d786cdccc61473 (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: Fabio 'Lolix' Loli <lolix@disroot.org> -> https://github.com/FabioLolix

pkgname=launchar-git
pkgver=r41.f6d2934
pkgrel=2
pkgdesc="Minimal application launcher written in Gtk"
arch=('x86_64')
url="https://gitlab.com/abiosoft/launchar"
license=(Apache)
depends=(gtk3 )
makedepends=(git vala meson ninja)
provides=(launchar)
conflicts=(launchar)
source=("${pkgname}::git+${url}.git")
md5sums=('SKIP')

pkgver() {
  cd ${pkgname}
  printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}

build() {
  cd "${srcdir}/${pkgname}"
  meson --prefix=/usr build
}

package() {
  cd "${srcdir}/${pkgname}"
  DESTDIR="${pkgdir}" ninja -C build install
}