desktop/libmpdclient/PKGBUILD

32 lines
813 B
Bash
Raw Normal View History

#
2015-01-26 05:25:43 +08:00
# Apps Packages for Chakra, part of chakraos.org
#
2015-01-26 05:25:43 +08:00
# maintainer (x86_64): almack
# include global config
pkgname=libmpdclient
2015-05-19 06:54:40 +08:00
pkgver=2.10
pkgrel=1
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")
2015-05-19 06:54:40 +08:00
sha1sums=('32e090b70fa91978734830c67527e8e2fca70225')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
2015-01-26 05:25:43 +08:00
./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
2015-05-19 06:54:40 +08:00
}