summaryrefslogtreecommitdiffstats
path: root/abs/core-testing
diff options
context:
space:
mode:
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