void-packages/srcpkgs/libfreehand/template

37 lines
987 B
Bash
Raw Normal View History

2016-02-28 21:53:18 +01:00
# Template file for 'libfreehand'
pkgname=libfreehand
version=0.1.1
2016-02-28 23:26:23 +01:00
revision=3
2016-02-28 21:53:18 +01:00
build_style=gnu-configure
hostmakedepends="doxygen gperf perl pkg-config"
makedepends="icu-devel lcms2-devel librevenge-devel"
short_desc="Parser for Aldus/Macromedia/Adobe FreeHand documents"
maintainer="Jürgen Buchmüller <pullmoll@t-online.de>"
license="MPL-2.0"
homepage="https://wiki.documentfoundation.org/DLP/Libraries/libfreehand"
distfiles="http://dev-www.libreoffice.org/src/${pkgname}/${pkgname}-${version}.tar.xz"
checksum=ec6676d0c63f7feac7801a1fe18dd7abe9044b39c3882fc99b9afef39bdf1d30
post_install() {
vlicense COPYING
}
libfreehand-devel_package() {
short_desc+=" - development files"
depends="${sourcepkg}>=${version}_${revision}"
2016-02-28 21:53:18 +01:00
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove usr/lib/*.so
2016-02-28 23:26:23 +01:00
}
}
libfreehand-doc_package() {
short_desc+=" - documentation"
depends="${sourcepkg}>=${version}_${revision}"
noarch=yes
pkg_install() {
2016-02-28 21:53:18 +01:00
vmove usr/share/doc
}
}