blob: 9da0931eb6bcc3a0b3aabea5098d2bd69a7015c7 (
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: Valeri Ochinski <v19930312@gmail.com>
pkgname=nxdumpclient-git
pkgver=1.1.2.r7.gd3b24f7
pkgrel=1
pkgdesc="Client program for dumping over USB with nxdumptool"
arch=('x86_64' 'aarch64')
url="https://github.com/v1993/nxdumpclient"
license=('GPL3')
groups=()
depends=('glib2' 'gtk4' 'libadwaita' 'libgusb')
makedepends=('git' 'meson' 'vala' 'blueprint-compiler')
provides=("${pkgname%-git}")
conflicts=("${pkgname%-git}")
source=('nxdumpclient::git+https://github.com/v1993/nxdumpclient.git')
md5sums=('SKIP')
pkgver() {
cd "$srcdir/${pkgname%-git}"
git describe --long --tags --abbrev=7 | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
}
build() {
arch-meson -Dlibportal=disabled "$srcdir/${pkgname%-git}" build
meson compile -C build
}
package() {
meson install -C build --destdir "$pkgdir"
}
|