2011-10-20 12:23:46 +08:00
|
|
|
#
|
2015-01-26 05:25:43 +08:00
|
|
|
# Apps Packages for Chakra, part of chakraos.org
|
2011-10-20 12:23:46 +08:00
|
|
|
#
|
2015-01-26 05:25:43 +08:00
|
|
|
# maintainer (x86_64): almack
|
2011-10-20 12:23:46 +08:00
|
|
|
|
|
|
|
# include global config
|
|
|
|
|
|
|
|
pkgname=libmpdclient
|
2015-01-26 05:25:43 +08:00
|
|
|
pkgver=2.9
|
|
|
|
pkgrel=2
|
2011-10-20 12:23:46 +08:00
|
|
|
pkgdesc='Asynchronous API library for interfacing MPD in the C, C++ & Objective C languages'
|
2015-01-26 05:25:43 +08:00
|
|
|
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')
|
2011-10-20 12:23:46 +08:00
|
|
|
|
|
|
|
build() {
|
|
|
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
2015-01-26 05:25:43 +08:00
|
|
|
./configure --prefix=/usr --disable-documentation
|
2011-10-20 12:23:46 +08:00
|
|
|
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
|
|
|
|
}
|