blob: 425ae5d554c4c298b1f1559390e09a664fb03453 (
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
|
# Maintainer: Mark Wagie <mark dot wagie at tutanota dot com>
pkgname=uresourced
pkgver=0.4.0
pkgrel=1
pkgdesc="Dynamically allocate resources to the active user"
arch=('x86_64' 'aarch64' 'armv7h')
url="https://gitlab.freedesktop.org/benzea/uresourced"
license=('GPL')
depends=('glib2' 'systemd')
makedepends=('meson')
backup=("etc/$pkgname.conf")
install="$pkgname.install"
source=("$url/-/archive/v$pkgver/$pkgname-v$pkgver.tar.gz")
sha256sums=('48420486f89e087bff2164bd61fd3165a85755f87cfe3e5924a42fd0dd574bbd')
build() {
arch-meson "$pkgname-v$pkgver" build
meson compile -C build
}
# No tests defined
#check() {
# meson test -C build --print-errorlogs
#}
package() {
meson install -C build --destdir "$pkgdir"
cd "$pkgname-v$pkgver"
install -Dm644 NEWS.md README -t "$pkgdir/usr/share/doc/$pkgname"
}
|