void-packages/srcpkgs/enchant2/template

27 lines
811 B
Bash
Raw Normal View History

2018-03-12 00:47:48 +00:00
# Template file for 'enchant2'
pkgname=enchant2
version=2.2.3
revision=1
wrksrc="enchant-${version}"
build_style=gnu-configure
hostmakedepends="pkg-config"
makedepends="glib-devel hunspell-devel"
short_desc="Generic spell checking library"
license="LGPL-2.1-or-later"
maintainer="maxice8 <thinkabit.ukim@gmail.com>"
homepage="https://abiword.github.io/enchant/"
distfiles="https://github.com/AbiWord/enchant/releases/download/v${version}/enchant-${version}.tar.gz"
checksum=abd8e915675cff54c0d4da5029d95c528362266557c61c7149d53fa069b8076d
enchant2-devel_package() {
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.a"
vmove "usr/lib/enchant-2/*.a"
vmove "usr/lib/*.so"
vmove usr/lib/pkgconfig
}
}