blob: f64f57a3c0e252acf5dd7a9f976581cc3bbbe552 (
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
|
# $Id: PKGBUILD 50625 2009-08-30 03:02:23Z allan $
# Contributor: Andrea Scarpino <andrea@archlinux.org>
# Maintainer: Gaetan Bisson <bisson@archlinux.org>
pkgname=libmpdclient
pkgver=2.5
pkgrel=1
pkgdesc='Asynchronous API library for interfacing MPD in the C, C++ & Objective C languages'
arch=('i686' 'x86_64' 'mips64el')
url='http://mpd.wikia.com/wiki/ClientLib:libmpdclient'
license=('custom')
options=('!libtool')
source=("http://downloads.sourceforge.net/project/musicpd/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz")
sha1sums=('a2e68352f2b7d55787d14a45ee0d902f2427b3dc')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
./configure --prefix=/usr --disable-static
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
}
|