blob: 205f4fce46e79328be3d32bc991f09c5b0f0ca76 (
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
44
45
46
|
# Maintainer: Chris Lahaye <dev@chrislahaye.com>
pkgname=rtsp-server
pkgver=0.04.18.g4870105
pkgrel=1
pkgdesc='Lightweight RTSP/RTP streaming media server'
url='https://github.com/revmischa/rtsp-server'
arch=('any')
license=('PerlArtistic' 'GPL')
depends=('perl' 'perl-uri' 'perl-socket6' 'perl-anyevent' 'perl-moose' 'perl-moosex-getopt')
makedepends=('git')
source=('rtsp-server::git+https://github.com/revmischa/rtsp-server')
md5sums=('SKIP')
options=('!emptydirs')
sanitize() {
unset PERL5LIB PERL_MM_OPT PERL_MB_OPT PERL_LOCAL_LIB_ROOT
export PERL_MM_USE_DEFAULT=1 MODULEBUILDRC=/dev/null
}
pkgver() {
cd "$pkgname"
sanitize
git describe --always | sed 's|-|.|g'
}
build() {
cd "$pkgname"
sanitize
perl Makefile.PL
make
}
check() {
cd "$pkgname"
make test
}
package() {
cd "$pkgname"
sanitize
make DESTDIR="$pkgdir" install
}
|