From 693e81603153aa1e76396efc55bbc88982d7f9bf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Simon=20Glo=C3=9Fner?= Date: Fri, 7 Sep 2007 21:03:58 +0200 Subject: [PATCH] mpc, mpd: adopted --- mpc/.footprint | 6 ------ mpc/Pkgfile | 22 ++++++++++++---------- mpd/Pkgfile | 25 +++++++++++++++---------- 3 files changed, 27 insertions(+), 26 deletions(-) diff --git a/mpc/.footprint b/mpc/.footprint index 71e8b286b..c8235b2b9 100644 --- a/mpc/.footprint +++ b/mpc/.footprint @@ -4,9 +4,3 @@ drwxr-xr-x root/root usr/bin/ drwxr-xr-x root/root usr/man/ drwxr-xr-x root/root usr/man/man1/ -rw-r--r-- root/root usr/man/man1/mpc.1.gz -drwxr-xr-x root/root usr/share/ -drwxr-xr-x root/root usr/share/mpc/ --rw-r--r-- root/root usr/share/mpc/m3u-handler.sh --rw-r--r-- root/root usr/share/mpc/mpc-bashrc --rw-r--r-- root/root usr/share/mpc/mppledit --rw-r--r-- root/root usr/share/mpc/pls-handler.sh diff --git a/mpc/Pkgfile b/mpc/Pkgfile index d613b1366..2454e3dca 100644 --- a/mpc/Pkgfile +++ b/mpc/Pkgfile @@ -1,19 +1,21 @@ -# Description: Command line MPD client -# URL: http://www.musicpd.org/mpc.shtml -# Maintainer: Mark Rosenstand, mark at borkware dot net +# Description: Command line MPD client +# URL: http://www.musicpd.org/mpc.shtml +# Maintainer: Simon Gloßner, viper at hometux dot de +# Packager: Mark Rosenstand, mark at borkware dot net name=mpc version=0.12.1 release=1 -source=(http://www.musicpd.org/uploads/files/mpc-$version.tar.gz) +source=(http://www.musicpd.org/uploads/files/$name-$version.tar.gz) build() { - cd mpc-$version - ./configure --prefix=/usr --mandir=/usr/man + cd $name-$version + + ./configure \ + --prefix=/usr \ + --mandir=/usr/man make make DESTDIR=$PKG install - cd $PKG/usr/share - rm doc/mpc/{AUTHORS,README} - mv doc/mpc/* mpc - rm -rv doc + + rm -rf $PKG/usr/share } diff --git a/mpd/Pkgfile b/mpd/Pkgfile index 6d17131bd..cce37835d 100644 --- a/mpd/Pkgfile +++ b/mpd/Pkgfile @@ -1,20 +1,25 @@ -# Description: Music playback daemon -# URL: http://www.musicpd.org/ -# Maintainer: Mark Rosenstand, mark at borkware dot net -# Depends on: libid3tag, libmad, libvorbis +# Description: Music playback daemon +# URL: http://www.musicpd.org/ +# Maintainer: Simon Gloßner, viper at hometux dot de +# Packager: Mark Rosenstand, mark at borkware dot net +# Depends on: libmad, libvorbis, libid3tag name=mpd version=0.13.0 release=1 -source=(http://www.musicpd.org/uploads/files/mpd-$version.tar.bz2) +source=(http://www.musicpd.org/uploads/files/$name-$version.tar.bz2) build() { - cd mpd-$version - ./configure --prefix=/usr --mandir=/usr/man + cd $name-$version + + ./configure \ + --prefix=/usr \ + --mandir=/usr/man make make DESTDIR=$PKG install + mkdir -p $PKG/etc - cp doc/mpdconf.example $PKG/etc/mpd.conf - rm -r $PKG/usr/share/doc - rmdir $PKG/usr/share + install -m 0644 doc/mpdconf.example $PKG/etc/mpd.conf + + rm -rf $PKG/usr/share }