summaryrefslogtreecommitdiffstats
path: root/abs/core-testing
diff options
context:
space:
mode:
authorBob Igo <bob@stormlogic.com>2009-02-17 18:00:45 (GMT)
committerBob Igo <bob@stormlogic.com>2009-02-17 18:00:45 (GMT)
commit64941dfd140e1133fbd3c10aefe2f8e47eddaabd (patch)
treee6829729d773a5a75dcab888eb6294f605e0a55c /abs/core-testing
parent87d276ce0cf6b051d7198adf004ce15590ae294e (diff)
downloadlinhes_pkgbuild-64941dfd140e1133fbd3c10aefe2f8e47eddaabd.zip
linhes_pkgbuild-64941dfd140e1133fbd3c10aefe2f8e47eddaabd.tar.gz
linhes_pkgbuild-64941dfd140e1133fbd3c10aefe2f8e47eddaabd.tar.bz2
Adding default contents for mplayer.conf
Diffstat (limited to 'abs/core-testing')
-rw-r--r--abs/core-testing/mplayer/PKGBUILD6
1 files changed, 5 insertions, 1 deletions
diff --git a/abs/core-testing/mplayer/PKGBUILD b/abs/core-testing/mplayer/PKGBUILD
index 6e6f506..724a8cf 100644
--- a/abs/core-testing/mplayer/PKGBUILD
+++ b/abs/core-testing/mplayer/PKGBUILD
@@ -39,7 +39,11 @@ build() {
make || return 1
make -j1 DESTDIR=${pkgdir} install || return 1
cp etc/{codecs.conf,input.conf,example.conf} ${pkgdir}/etc/mplayer/
- touch ${pkgdir}/etc/mplayer/mplayer.conf
+ if [ ! -e ${pkgdir}/etc/mplayer/mplayer.conf ]; then
+ echo "# Write your default config options here" > ${pkgdir}/etc/mplayer/mplayer.conf
+ echo "" >> ${pkgdir}/etc/mplayer/mplayer.conf
+ fi
+
ln -s /usr/share/fonts/TTF/DejaVuSans.ttf ${pkgdir}/usr/share/mplayer/subfont.ttf
rm -rf ${pkgdir}/usr/share/mplayer/font
mv ${srcdir}/Blue ${pkgdir}/usr/share/mplayer/skins/default