ncmpc: Adapted suggested changes from Simone

This commit is contained in:
James Mills 2007-04-29 01:38:55 +10:00
parent f26b41608d
commit 52af2385bd
2 changed files with 24 additions and 16 deletions

View File

@ -1,8 +1,10 @@
drwxr-xr-x root/root usr/
drwxr-xr-x root/root usr/bin/
-rwxr-xr-x root/root usr/bin/ncmpc
drwxr-xr-x root/root usr/etc/
drwxr-xr-x root/root usr/etc/ncmpc/
-rw-r--r-- root/root usr/etc/ncmpc/config
-rw-r--r-- root/root usr/etc/ncmpc/keys
drwxr-xr-x root/root usr/man/
drwxr-xr-x root/root usr/man/man1/
-rw-r--r-- root/root usr/man/man1/ncmpc.1.gz
drwxr-xr-x root/root usr/share/
drwxr-xr-x root/root usr/share/ncmpc/

View File

@ -1,23 +1,29 @@
# Description: MPD nCurses Client.
# URL: http://www.musicpd.org/
# Maintainer: James Mills,, prologic at shortcircuit dot net dot au
# Packager: James Mills,, prologic at shortcircuit dot net dot au
# Description: Ncurse-based MPD console client
# URL: http://www.musicpd.org/
# Maintainer: James Mills, prologic at shortcircuit dot net dot au
#
# Depends on: mpd, ncurses
# Depends on: ncurses
name=ncmpc
version=0.11.1
release=1
source=(http://mercury.chem.pitt.edu/~shank/$name-$version.tar.gz)
release=2
source=(http://hem.bredband.net/kaw/${name}/files/${name}-${version}.tar.gz)
build() {
cd $name-$version
cd $name-$version
./configure \
--sysconfdir=/usr/etc \
--prefix=/usr \
--disable-nls
make
make install DESTDIR=$PKG
./configure \
--prefix=/usr \
--disable-nls
mkdir -p $PKG/usr/etc/ncmpc
make && make DESTDIR=$PKG install
rm -rf $PKG/usr/share/doc
chown -R root:root $PKG
install -m 0644 doc/config.sample $PKG/usr/etc/ncmpc/config
install -m 0644 doc/keys.sample $PKG/usr/etc/ncmpc/keys
rm -rf $PKG/usr/share
chown -R root:root $PKG
}