New package: sdcv-0.5.2.

Closes: #12292 [via git-merge-pr]
Signed-off-by: Jürgen Buchmüller <pullmoll@t-online.de>
This commit is contained in:
Casper Ti. Vector 2018-01-11 11:25:16 +08:00 committed by Jürgen Buchmüller
parent c10578413a
commit 008ae3a967
No known key found for this signature in database
GPG key ID: 6764EC32352D0647

26
srcpkgs/sdcv/template Normal file
View file

@ -0,0 +1,26 @@
# Template file for 'sdcv'
pkgname=sdcv
version=0.5.2
revision=1
build_style=cmake
hostmakedepends="glib-devel"
makedepends="zlib-devel readline-devel glib-devel"
short_desc="Console version of Stardict program"
maintainer="Casper Ti. Vector <caspervector@gmail.com>"
license="GPL-2"
homepage="https://dushistov.github.io/sdcv/"
distfiles="https://github.com/Dushistov/sdcv/archive/v$version.tar.gz"
checksum=ec08dc084a0748d5a89df01a20bbf294f09b0366295cd418000f15d2e043c4f7
post_extract() {
rm po/*.po
sed -i '/share\/man\/uk/d' CMakeLists.txt
}
pre_install() {
mkdir -p build/locale
}
post_install() {
vdoc README.org
}