void-packages/srcpkgs/liblcf/template
2019-11-19 13:35:54 +01:00

34 lines
863 B
Bash

# Template file for 'liblcf'
pkgname=liblcf
version=0.6.1
revision=1
build_style=gnu-configure
hostmakedepends="pkg-config autoconf automake libtool"
makedepends="expat-devel icu-devel"
short_desc="Library to handle RPG Maker 2000/2003 and EasyRPG projects"
maintainer="Franc[e]sco <lolisamurai@tfwno.gf>"
license="MIT"
homepage="https://github.com/EasyRPG/liblcf"
distfiles="https://github.com/EasyRPG/liblcf/archive/${version}.tar.gz"
checksum=224068ede007098d8fad45348da3b47f00a33d5e8a4a693514d5c9290ab1883f
pre_configure() {
autoreconf -i
}
post_install() {
vlicense COPYING
}
liblcf-devel_package() {
short_desc+=" - development files"
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
vmove usr/lib/cmake
vmove usr/share
}
}