summaryrefslogblamecommitdiff
path: root/user/libmpd/APKBUILD
blob: 8aa0cbccaabc4e9a9604cebb9b284163ac22096a (plain) (tree)
1
2
3
4
5
6
7
8
9

                                                           






                                                                  
          




                                                                           




                         










                                         



                  



                                                                                                                                                                    
# Contributor: Síle Ekaterin Liszka <sheila@vulpine.house>
# Maintainer: Síle Ekaterin Liszka <sheila@vulpine.house>
pkgname=libmpd
pkgver=11.8.17
pkgrel=0
pkgdesc="GObject-based client library for the music player daemon"
url="https://gmpclient.org/"
arch="all"
license="GPL-2.0+ AND BSD-3-Clause"
depends=""
makedepends="glib-dev"
subpackages="$pkgname-dev"
source="http://download.sarine.nl/Programs/gmpc/11.8/libmpd-$pkgver.tar.gz"

prepare() {
	default_prepare
	update_config_sub
}

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

check() {
	make check
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="ffe2880834a4a39745a5327d628781e16eeb8cd1ec17402dda46ad96ff402bc0d8b4312ba058a39242ad9bb8c3a0bb6feb2c5ea2a30ef9be97652fdb5c02572d  libmpd-11.8.17.tar.gz"