blob: 2941f3b88bd59324b4e284cddc48f059734e967b (
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
47
48
49
|
# Maintainer: Michael Picht <mipi@fsfe.org>
_pkgorg=gitlab.com/mipimipi
pkgname=muserv-git
_pkgname=muserv
pkgver=0.6.1
pkgrel=2
pkgdesc="muserv (UPnP server for music)"
arch=(
aarch64
armv7h
x86_64
)
url="https://${_pkgorg}/${_pkgname}/"
license=('GPL3')
depends=(
mailcap
)
makedepends=(
bash
git
go
make
)
provides=(muserv)
options=(
!debug
)
source=("git+https://${_pkgorg}/${_pkgname}.git")
sha256sums=('SKIP')
pkgver() {
cd "${srcdir}/${_pkgname}"
( set -o pipefail
git describe --tags --long 2>/dev/null | sed 's/\([^-]*-g\)/r\1/;s/-/./g;s/^v//' ||
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
)
}
build() {
cd "${srcdir}/${_pkgname}"
make
}
package() {
cd "${srcdir}/${_pkgname}"
make DESTDIR="$pkgdir" install
}
|