summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorrespiranto2015-08-08 08:45:24 +0200
committerrespiranto2015-08-08 08:45:24 +0200
commit9e441f1e05e67ea28607fe95f937d211996f8935 (patch)
treecb75bb0c2b32161cf090a0000ed841eb413fe662
downloadaur-9e441f1e05e67ea28607fe95f937d211996f8935.tar.gz
Initial import
-rw-r--r--.SRCINFO14
-rw-r--r--PKGBUILD18
-rw-r--r--dict-freedict-eng-spa.install7
3 files changed, 39 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 000000000000..3aa5784fef74
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,14 @@
+pkgbase = dict-freedict-eng-spa
+ pkgdesc = English -> Spanish dictionary for dictd from Freedict.org
+ pkgver = 0.2.1
+ pkgrel = 1
+ url = http://www.freedict.org/
+ install = dict-freedict-eng-spa.install
+ arch = any
+ license = GPL
+ depends = dictd
+ source = http://sourceforge.net/projects/freedict/files/English%20-%20Spanish/0.2.1/freedict-eng-spa-0.2.1.tar.bz2
+ md5sums = 89abca9ccba27f3a34c7363a510b91a1
+
+pkgname = dict-freedict-eng-spa
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 000000000000..4afdef0b6b02
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,18 @@
+# Maintainer: respiranto <respiranto@icloud.com>
+pkgname=dict-freedict-eng-spa
+pkgver=0.2.1
+pkgrel=1
+pkgdesc="English -> Spanish dictionary for dictd from Freedict.org"
+arch=('any')
+url="http://www.freedict.org/"
+license=('GPL')
+depends=(dictd)
+install=dict-freedict-eng-spa.install
+source=("http://sourceforge.net/projects/freedict/files/English%20-%20Spanish/$pkgver/freedict-eng-spa-$pkgver.tar.bz2")
+md5sums=('89abca9ccba27f3a34c7363a510b91a1')
+
+package()
+{
+ mkdir -p $pkgdir/usr/share/dictd
+ cp $srcdir/eng-spa/eng-spa.{dict.dz,index} $pkgdir/usr/share/dictd/
+}
diff --git a/dict-freedict-eng-spa.install b/dict-freedict-eng-spa.install
new file mode 100644
index 000000000000..cf923dd12079
--- /dev/null
+++ b/dict-freedict-eng-spa.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"
+}