mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-18 22:54:00 +00:00
22 lines
626 B
Bash
22 lines
626 B
Bash
# Maintainer: Manuel Rotter <rotter.manuel@gmail.com>
|
|
|
|
pkgname=mpc
|
|
pkgver=0.15
|
|
pkgrel=1
|
|
pkgdesc="Minimalist command line interface to MPD"
|
|
arch=(arm)
|
|
url="http://mpd.wikia.com/wiki/Client:Mpc"
|
|
license=('GPL2')
|
|
depends=('glibc')
|
|
options=('!emptydirs')
|
|
source=(http://downloads.sourceforge.net/musicpd/mpc-$pkgver.tar.bz2)
|
|
md5sums=('48897aeb3a7ee5c64f30e56789f105a8')
|
|
|
|
build() {
|
|
cd "$srcdir/mpc-$pkgver"
|
|
./configure --prefix=/usr || return 1
|
|
make || return 1
|
|
make DESTDIR="$pkgdir" install || return 1
|
|
# Install bash completion file
|
|
install -D -m644 doc/mpc-bashrc "$pkgdir/etc/bash_completion.d/mpc" || return 1
|
|
}
|