void-packages/srcpkgs/sdcv/template
Casper Ti. Vector 008ae3a967
New package: sdcv-0.5.2.
Closes: #12292 [via git-merge-pr]
Signed-off-by: Jürgen Buchmüller <pullmoll@t-online.de>
2018-04-06 23:36:50 +02:00

26 lines
628 B
Bash

# 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
}