summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 2aca344713893e7eb54fffcbd9a7929362b6e07f (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
# $Id$
# Maintainer: Realex
# Based on cinnamon-menus PKGBUILD

_pkgname=cinnamon-menus
pkgname=${_pkgname}-git
pkgver=5.2.0.r0.g1d7cb63f
pkgrel=1
pkgdesc="Cinnamon menu specifications"
arch=('i686' 'x86_64')
depends=(glib2)
makedepends=(gobject-introspection meson samurai)
conflicts=(${_pkgname})
provides=(${_pkgname})
license=('GPL' 'LGPL')
url="https://github.com/linuxmint/cinnamon-menus"
source=("${_pkgname}"::git+https://github.com/linuxmint/cinnamon-menus.git)
sha256sums=('SKIP')

pkgver() {
  cd "${srcdir}/${_pkgname}"
  git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}

build() {
  arch-meson cinnamon-menus build
  samu -C build
}

package(){
  DESTDIR="$pkgdir" ninja -C build install
}