Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=85ad532fd33b7404805ff27d9457c681addc14d8
commit 85ad532fd33b7404805ff27d9457c681addc14d8 Author: James Buren <[EMAIL PROTECTED]> Date: Mon Jul 28 12:57:27 2008 -0500 moc-2.4.3-3-i686 * remove redundant doc directory, move config examples to /usr/share/moc * apply Fsed fix to correct running without a config file * closes #3260 diff --git a/source/multimedia-extra/moc/FrugalBuild b/source/multimedia-extra/moc/FrugalBuild index 99b3893..8919d90 100644 --- a/source/multimedia-extra/moc/FrugalBuild +++ b/source/multimedia-extra/moc/FrugalBuild @@ -4,7 +4,7 @@ pkgname=moc pkgver=2.4.3 -pkgrel=2 +pkgrel=3 pkgdesc="MOC (music on console) is a console audio player for LINUX/UNIX designed to be powerful and easy to use." url="http://moc.daper.net/" depends=('flac' 'libvorbis' 'libmpcdec' 'taglib' 'speex' 'libmad' 'libid3tag' 'alsa-lib' 'libsamplerate' 'curl' 'ncurses') @@ -14,6 +14,16 @@ up2date="Flasttar ftp://ftp.daper.net/pub/soft/moc/stable" source=(ftp://ftp.daper.net/pub/soft/moc/stable/$pkgname-$pkgver.tar.bz2) license=('GPL2') sha1sums=('d9b54636f51f5366e94b684ddff3e869b1c634ac') -Fconfopts="$Fconfopts --disable-debug" + +build() +{ + # tweak default config to allow running without config file + Fsed 'FILL' '50%' options.c + Fbuild --disable-debug + # remove redundant doc directory, has 2 files already in standard one + Frm /usr/share/doc/$pkgname + # add 2 config files from previous doc directory to share directory + Ffilerel {config,keymap}.example /usr/share/$pkgname +} # optimization OK _______________________________________________ Frugalware-git mailing list [email protected] http://frugalware.org/mailman/listinfo/frugalware-git
