aboutsummaryrefslogtreecommitdiffstats
path: root/testing/mpdris2/APKBUILD
blob: db5b0231481e069d313a338ab8543fb029f741ea (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
# Contributor: Galen Abell <galen@galenabell.com>
# Maintainer: Galen Abell <galen@galenabell.com>
pkgname=mpdris2
pkgver=0.8
pkgrel=0
pkgdesc="MPRIS V2.1 support for mpd"
url="https://github.com/eonpatapon/mpDris2"
arch="noarch"
license="GPL-3.0-only"
depends="py3-mpd2"
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="b3c2973723e9fb3140a4e6c9e3dfe66cc305c2ad5014e1e63a165e3ec371b4135570fdf72f57081e86420bd652a9baeb32fd229989582e5f115c8613e0759f52  mpdris2-0.8.tar.gz"