26 lines
646 B
Bash
26 lines
646 B
Bash
# Template file for 'sdcv'
|
|
pkgname=sdcv
|
|
version=0.5.3
|
|
revision=1
|
|
build_style=cmake
|
|
hostmakedepends="pkg-config 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.0-only"
|
|
homepage="https://dushistov.github.io/sdcv/"
|
|
distfiles="https://github.com/Dushistov/sdcv/archive/v$version.tar.gz"
|
|
checksum=75fb95b1607fdd2fb9f7795d3432d295904614150575ae539202f680499803c9
|
|
|
|
post_extract() {
|
|
rm po/*.po
|
|
sed -i '/share\/man\/uk/d' CMakeLists.txt
|
|
}
|
|
|
|
pre_install() {
|
|
mkdir -p build/locale
|
|
}
|
|
|
|
post_install() {
|
|
vdoc README.org
|
|
}
|