desktop/libmpdclient/PKGBUILD
2015-01-25 22:25:43 +01:00

31 lines
811 B
Bash

#
# Apps Packages for Chakra, part of chakraos.org
#
# maintainer (x86_64): almack
# include global config
pkgname=libmpdclient
pkgver=2.9
pkgrel=2
pkgdesc='Asynchronous API library for interfacing MPD in the C, C++ & Objective C languages'
arch=('x86_64')
url='http://www.musicpd.org/libs/libmpdclient/'
license=('custom:BSD')
source=("http://www.musicpd.org/download/${pkgname}/${pkgver%.*}/${pkgname}-${pkgver}.tar.xz")
sha1sums=('1a3557d4d1f78085db6285a8c8cb9085c300d9d3')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
./configure --prefix=/usr --disable-documentation
make
}
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
make DESTDIR="${pkgdir}" install
cd "${pkgdir}"
install -d usr/share/licenses/libmpdclient
ln -s ../../doc/libmpdclient/COPYING usr/share/licenses/libmpdclient/COPYING
}