void-packages/srcpkgs/libfreehand/template
2017-10-02 12:10:39 +02:00

36 lines
987 B
Bash

# Template file for 'libfreehand'
pkgname=libfreehand
version=0.1.2
revision=1
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=0e422d1564a6dbf22a9af598535425271e583514c0f7ba7d9091676420de34ac
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
}
}