aboutsummaryrefslogtreecommitdiffstats
path: root/testing/mpdris2/APKBUILD
blob: e912f17029b2f6f8d837acffac14e03fcd05491b (plain) (blame)
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
# Contributor: Galen Abell <galen@galenabell.com>
# Maintainer: Galen Abell <galen@galenabell.com>
pkgname=mpdris2
pkgver=0.9.1
pkgrel=1
pkgdesc="MPRIS V2.1 support for mpd"
url="https://github.com/eonpatapon/mpDris2"
arch="noarch"
license="GPL-3.0-only"
depends="py3-mpd2 py3-dbus"
makedepends="autoconf automake intltool gettext-dev"
options="!check" # no tests
subpackages="$pkgname-doc $pkgname-lang"
source="$pkgname-$pkgver.tar.gz::https://github.com/eonpatapon/mpDris2/archive/$pkgver.tar.gz"
builddir="$srcdir/mpDris2-$pkgver"

build() {
	./autogen.sh \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var
	make
}

package() {
	make DESTDIR="$pkgdir" install
}
sha512sums="260b5c910303766a7730110a1ca52c859b4e8ba41ba4fe842187cb3dbacca1bc096a93cce2e26e6c82b640f2905411e3011251566b47404466cedfb2f43860ee  mpdris2-0.9.1.tar.gz"