blob: 580ff2469c9531cb48f856c8aceb0c1c9957acf0 (
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
|
# Packager: teraflops cprieto.ortiz@gmail.com
pkgname=gnome-monitor-config-git
pkgver=04b854e
pkgrel=1
pkgdesc="GNOME monitor configuration utility"
arch=('x86_64')
url="https://github.com/jadahl/gnome-monitor-config"
license=('GPL3')
depends=('gtk4' 'libadwaita' 'mutter')
makedepends=('git' 'meson' 'ninja' 'pkg-config' 'gobject-introspection' 'glib2-devel')
provides=('gnome-monitor-config')
conflicts=('gnome-monitor-config')
source=("$pkgname::git+$url.git")
sha256sums=('SKIP')
pkgver() {
cd "$srcdir/$pkgname"
git describe --tags --long --always | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
}
build() {
cd "$srcdir/$pkgname"
meson build
cd build
meson compile
}
package() {
cd "$srcdir/$pkgname"
install -Dm755 build/src/gnome-monitor-config "$pkgdir/usr/bin/gnome-monitor-config"
}
|