summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authormehani2007-01-30 15:38:06 +0000
committermehani2007-01-30 15:38:06 +0000
commit9625a8bd9c2bd9d468bb5fd049f16a6a8611271c (patch)
tree0772449255ff15b9b67559c4d9477d8cb20a341e
parenta3466513d803166133a79410c13ab0eb38e678f8 (diff)
downloadaur-9625a8bd9c2bd9d468bb5fd049f16a6a8611271c.tar.gz
added example mailcap
git-svn-id: svn+ssh://scm.narf.ssji.net/svn/archlinux-packages@11 df209809-8e4a-0410-9a64-c169741eb0fc
-rw-r--r--PKGBUILD2
-rw-r--r--mailcap.lbx-converter10
2 files changed, 11 insertions, 1 deletions
diff --git a/PKGBUILD b/PKGBUILD
index faeb07d9ee28..481b98e22f1f 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -16,7 +16,7 @@ build() {
cd ${startdir}/src/linbox-converter-${pkgver}/client
install -m 0755 -d ${startdir}/pkg/etc
- install -m 0644 lbx-converter.conf ${startdir}/pkg/etc/lbx-converter.conf
+ install -m 0644 lbx-converter.conf ${startdir}/mailcap.lbx-converter ${startdir}/pkg/etc
install -m 0755 -d ${startdir}/pkg/usr/bin
install -m 0755 lbx-converter lbx-view lbx-view-web ${startdir}/pkg/usr/bin
diff --git a/mailcap.lbx-converter b/mailcap.lbx-converter
new file mode 100644
index 000000000000..567c60eb9f8a
--- /dev/null
+++ b/mailcap.lbx-converter
@@ -0,0 +1,10 @@
+# display MSOffice using the Linbox Converter
+application/msword;lbx-view %s
+application/excel;lbx-view %s
+application/msexcel;lbx-view %s
+application/vnd.ms-excel;lbx-view %s
+application/x-msexcel;-lbx-view %s
+application/powerpoint;lbx-view %s
+application/mspowerpoint;lbx-view %s
+application/vnd.ms-powerpoint;lbx-view %s
+application/x-mspowerpoint;lbx-view %s