39 lines
1022 B
Bash
39 lines
1022 B
Bash
# Template file for 'libfreehand'
|
|
pkgname=libfreehand
|
|
version=0.1.2
|
|
revision=2
|
|
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
|
|
|
|
CXXFLAGS="-Wno-deprecated-copy"
|
|
|
|
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}"
|
|
archs=noarch
|
|
pkg_install() {
|
|
vmove usr/share/doc
|
|
}
|
|
}
|