added conf to dictd client to use dict.org default server (#6124)

This commit is contained in:
Joel Grunbaum 2020-12-07 20:05:41 +11:00 committed by GitHub
parent bfd8b624fa
commit 6c61a5f944
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 9 additions and 0 deletions

View File

@ -2,6 +2,12 @@ TERMUX_PKG_HOMEPAGE=https://sourceforge.net/projects/dict/
TERMUX_PKG_DESCRIPTION="Online dictionary client and server"
TERMUX_PKG_LICENSE="GPL-2.0"
TERMUX_PKG_VERSION=1.13.0
TERMUX_PKG_REVISION=1
TERMUX_PKG_SRCURL=https://downloads.sourceforge.net/project/dict/dictd/dictd-${TERMUX_PKG_VERSION}/dictd-${TERMUX_PKG_VERSION}.tar.gz
TERMUX_PKG_SHA256=eeba51af77e87bb1b166c6bc469aad463632d40fb2bdd65e6675288d8e1a81e4
TERMUX_PKG_DEPENDS="libmaa, zlib"
TERMUX_PKG_CONFFILES="etc/dict.conf"
termux_step_post_make_install() {
install -Dm600 $TERMUX_PKG_BUILDER_DIR/dict.conf $TERMUX_PREFIX/etc/dict.conf
}

3
packages/dictd/dict.conf Normal file
View File

@ -0,0 +1,3 @@
#Default configuration
server localhost
server dict.org