summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichal Čihař <michal@cihar.com>2017-10-10 10:34:01 +0200
committerMichal Čihař <michal@cihar.com>2017-10-10 10:34:01 +0200
commit5fef49dd5977fdf3329b7a796e5cc0546d9da3b9 (patch)
treecc34245f6e3294e072e3cea983c8171516bbdfb1
parentc3ba0d54169db5c32130b7794388e266f3b7ae0a (diff)
Build package from source data.
-rw-r--r--debian/changelog6
-rw-r--r--debian/clean1
-rw-r--r--debian/control3
-rwxr-xr-xdebian/rules4
-rw-r--r--debian/stardict-czech.install2
-rw-r--r--debian/watch2
6 files changed, 15 insertions, 3 deletions
diff --git a/debian/changelog b/debian/changelog
index 59bcc7a..b233005 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+stardict-czech (20140101-5) UNRELEASED; urgency=medium
+
+ * Build package from source data.
+
+ -- Michal Čihař <nijel@debian.org> Tue, 10 Oct 2017 10:33:54 +0200
+
stardict-czech (20140101-4) unstable; urgency=medium
* Move packaging to Git in collab-maint.
diff --git a/debian/clean b/debian/clean
new file mode 100644
index 0000000..4c4a66a
--- /dev/null
+++ b/debian/clean
@@ -0,0 +1 @@
+czech-cizi*
diff --git a/debian/control b/debian/control
index 2144c03..7a0e935 100644
--- a/debian/control
+++ b/debian/control
@@ -2,7 +2,7 @@ Source: stardict-czech
Section: text
Priority: optional
Maintainer: Michal Čihař <nijel@debian.org>
-Build-Depends: debhelper (>= 9)
+Build-Depends: debhelper (>= 9), python3-stardicter, python3-setuptools, dictzip
Standards-Version: 4.1.1
Vcs-Browser: https://anonscm.debian.org/git/collab-maint/stardict-czech.git
Vcs-Git: https://anonscm.debian.org/git/collab-maint/stardict-czech.git
@@ -11,6 +11,7 @@ Homepage: https://cihar.com/software/slovnik/
Package: stardict-czech
Architecture: all
Depends: sdcv (>= 0.4.2-2) | stardict (>= 2.4.6) | stardict-gtk (>= 2.4.6) | goldendict | qstardict | babiloo | dictionarystar, ${misc:Depends}
+Depends: ${misc:Depends}
Description: Stardict package for Czech dictionary of foreign words
This is a package of the Czech dictionary of foreign words
for Stardict.
diff --git a/debian/rules b/debian/rules
index be91249..1645a11 100755
--- a/debian/rules
+++ b/debian/rules
@@ -4,3 +4,7 @@
%:
dh $@
+
+override_dh_auto_build:
+ sdgen --file czech.txt czech
+ dictzip *.dict
diff --git a/debian/stardict-czech.install b/debian/stardict-czech.install
index 3876298..6fa2b71 100644
--- a/debian/stardict-czech.install
+++ b/debian/stardict-czech.install
@@ -1 +1 @@
-cz* /usr/share/stardict/dic/
+czech-cizi* /usr/share/stardict/dic/
diff --git a/debian/watch b/debian/watch
index 638cad5..06fa89c 100644
--- a/debian/watch
+++ b/debian/watch
@@ -1,3 +1,3 @@
version=3
-http://dl.cihar.com/slovnik/stable/stardict-czech-([0-9]*)\.tar\.gz
+http://dl.cihar.com/slovnik/stable/stardict-czech-([0-9]*)-source\.tar\.gz