blob: 9eec8a05faf95ac04609d40a66707c1e4b6ea2f2 (
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
|
# Maintainer: Robert Falkenberg <robert.falkenberg@tu-dortmund.de>
# Contributor: sgar <swhaat at github>
# Contributor: Philipp Wolfer <ph.wolfer@gmail.com>
# Contributor: Jens Rudolf <jens.rudolf@gmx.net>
pkgname=librm-git
_pkgname=librm
pkgver=2.2.3.r9.g633a436
pkgrel=1
pkgdesc="Router Manager library"
arch=('x86_64')
url="https://www.tabos.org/"
license=('GPL2')
depends=(glib2 gdk-pixbuf2 libsoup speex libxml2 libtiff spandsp json-glib libsndfile gupnp gssdp gstreamer gst-plugins-base libsecret libcapi)
makedepends=(meson ninja)
options=('!emptydirs')
provides=('librm')
conflicts=('librm')
source=("git+https://gitlab.com/tabos/librm.git")
sha512sums=('SKIP')
pkgver() {
cd $_pkgname
git describe --long | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}
build() {
cd "${srcdir}/${_pkgname}"
meson --prefix /usr --buildtype=plain "builddir"
ninja -v -C "builddir"
}
check() {
cd "${srcdir}/${_pkgname}"
ninja -C "builddir" test
}
package() {
cd "${srcdir}/${_pkgname}"
DESTDIR="$pkgdir" ninja -C "builddir" install
}
|