void-packages/srcpkgs/libfreehand/template
2016-02-28 23:26:23 +01:00

36 lines
987 B
Bash

# Template file for 'libfreehand'
pkgname=libfreehand
version=0.1.1
revision=3
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}"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove usr/lib/*.so
}
}
libfreehand-doc_package() {
short_desc+=" - documentation"
depends="${sourcepkg}>=${version}_${revision}"
noarch=yes
pkg_install() {
vmove usr/share/doc
}
}