blob: 3cffbaf1a3990090288fa60c8a5edbb2fba39960 (
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: Vittorio Gambaletta <archlinux@vittgam.net>
pkgname=mtrx-git
pkgver=r9.f20a87c
pkgrel=1
pkgdesc='Transmit and receive low-latency audio via UDP unicast or multicast, using the Opus codec.'
arch=('i686' 'x86_64' 'aarch64')
url='https://github.com/VittGam/mtrx'
license=('GPLv3')
depends=('alsa-lib' 'opus')
makedepends=('git')
provides=("${pkgname%-git}")
conflicts=("${pkgname%-git}")
source=("${pkgname}::git+https://github.com/VittGam/mtrx.git")
sha512sums=('SKIP')
pkgver() {
cd "${srcdir}/${pkgname}"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build() {
cd "${srcdir}/${pkgname}"
make all
}
package() {
cd "${srcdir}/${pkgname}"
make DESTDIR="${pkgdir}/" PREFIX="/usr" install
}
|