blob: 326119a5e9913f6cb46fe77b74a4e778ee37b300 (
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
45
46
|
# Maintainer:
# Contributor: Frederic Bezies <fredbezies at gmail dot com>
_pkgname="brisk-menu"
pkgname="$_pkgname-git"
pkgver=0.6.2.r3.g71cced4
pkgrel=3
pkgdesc="Modern, efficient menu for the MATE Desktop Environment"
url="https://github.com/getsolus/brisk-menu"
license=('GPL-2.0-or-later')
arch=('i686' 'x86_64')
depends=(
'libnotify'
'mate-panel'
)
makedepends=(
'git'
'glib2-devel'
'meson'
'ninja'
)
provides=("$_pkgname=${pkgver%%.r*}")
conflicts=("$_pkgname")
_pkgsrc="$_pkgname"
source=("$_pkgsrc"::"git+$url.git")
sha256sums=('SKIP')
pkgver() {
cd "$_pkgsrc"
git describe --long --tags --abbrev=7 --exclude='*[a-zA-Z][a-zA-Z]*' \
| sed -E 's/^[^0-9]*//;s/([^-]*-g)/r\1/;s/-/./g'
}
build() {
CFLAGS="${CFLAGS/_FORTIFY_SOURCE=?/_FORTIFY_SOURCE=2}"
arch-meson "$_pkgsrc" build
meson compile -C build
}
package() {
meson install -C build --destdir "$pkgdir"
}
|