summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO14
-rw-r--r--PKGBUILD19
-rw-r--r--dict-freedict-eng-fra.install7
3 files changed, 40 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..cfbbeb82182
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,14 @@
+pkgbase = dict-freedict-eng-fra
+ pkgdesc = English -> French dictionary for dictd from Freedict.org
+ pkgver = 0.1.4
+ pkgrel = 1
+ url = http://www.freedict.org/
+ install = dict-freedict-eng-fra.install
+ arch = any
+ license = GPL
+ depends = dictd
+ source = http://sourceforge.net/projects/freedict/files/English%20-%20French/0.1.4/freedict-eng-fra-0.1.4.tar.bz2
+ md5sums = b0ac25998cdebefc897cb2c20374a7f2
+
+pkgname = dict-freedict-eng-fra
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..e3bca36436d
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,19 @@
+# Contributor: Benjamin Vanderford <hazor_at_swrpg_dot_info
+# Maintainer: respiranto <respiranto@icloud.com>
+pkgname=dict-freedict-eng-fra
+pkgver=0.1.4
+pkgrel=1
+pkgdesc="English -> French dictionary for dictd from Freedict.org"
+arch=('any')
+url="http://www.freedict.org/"
+license=('GPL')
+depends=(dictd)
+install=dict-freedict-eng-fra.install
+source=("http://sourceforge.net/projects/freedict/files/English%20-%20French/$pkgver/freedict-eng-fra-$pkgver.tar.bz2")
+md5sums=('b0ac25998cdebefc897cb2c20374a7f2')
+
+package()
+{
+ mkdir -p $pkgdir/usr/share/dictd
+ cp $srcdir/eng-fra/eng-fra.{dict.dz,index} $pkgdir/usr/share/dictd/
+}
diff --git a/dict-freedict-eng-fra.install b/dict-freedict-eng-fra.install
new file mode 100644
index 00000000000..cf923dd1207
--- /dev/null
+++ b/dict-freedict-eng-fra.install
@@ -0,0 +1,7 @@
+post_install()
+{
+ echo -e "\nYou have to configure dictd to use the new dictionary" \
+ "database located in /usr/share/dictd/ manually" \
+ "and restart the dictd service afterwards.\n\n" \
+ "See also dictd(8).\n"
+}