mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-02-12 00:34:41 +08:00
37 lines
1.2 KiB
Bash
37 lines
1.2 KiB
Bash
#
|
|
# Apps packages for Chakra, part of www.chakra-project.org
|
|
#
|
|
# Maintainer: H W Tovetjärn (totte) <totte@tott.es>
|
|
# Contributors: (SteveK) <stevekej@gmail.com>
|
|
# Benjamin Mtz (cruznick) <cruznick at archlinux dot us>
|
|
# Gaetan Bisson <bisson@archlinux.org>
|
|
# Angel Velasquez <angvp@archlinux.org>
|
|
# Andrea Scarpino <andrea@archlinux.org>
|
|
# Alexander Fehr <pizzapunk gmail com>
|
|
# Link Dupont <link@subpop.net>
|
|
|
|
pkgname=mpc
|
|
pkgver=0.22
|
|
pkgrel=1
|
|
pkgdesc="Minimalist command line interface to MPD"
|
|
arch=('i686' 'x86_64')
|
|
url="http://mpd.wikia.com/wiki/Client:Mpc"
|
|
license=('GPL2')
|
|
depends=('libmpdclient')
|
|
options=('!emptydirs')
|
|
source=(http://downloads.sourceforge.net/musicpd/${pkgname}-$pkgver.tar.bz2)
|
|
sha512sums=('64492267e17ca33d4fd191ce0222011b6c807ad330aa877bafee83c3027d3a6e6f663f0c4aec96d5980777537f877f355f27605791bc8e61e51a20d74afaa4d1')
|
|
|
|
build() {
|
|
cd "$srcdir/$pkgname-$pkgver"
|
|
./configure --prefix=/usr
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd "$srcdir/$pkgname-$pkgver"
|
|
make DESTDIR="$pkgdir" install
|
|
# Install bash completion file
|
|
install -D -m644 doc/mpc-completion.bash "$pkgdir/etc/bash_completion.d/mpc"
|
|
}
|