void-packages/srcpkgs/liblcf/template

35 lines
863 B
Bash
Raw Normal View History

2019-04-11 18:50:33 +02:00
# Template file for 'liblcf'
pkgname=liblcf
version=0.6.0
2019-07-30 14:13:58 +02:00
revision=2
2019-04-11 18:50:33 +02:00
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=bb1848af7229071268d5f543b96837fefcd2dfc109a348cbd38169b4195257f5
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
}
}