libfreehand: separate -doc package

This commit is contained in:
Jürgen Buchmüller 2016-02-28 23:26:23 +01:00
parent b2866307b4
commit 9703b5ef8d
2 changed files with 10 additions and 1 deletions

1
srcpkgs/libfreehand-doc Symbolic link
View File

@ -0,0 +1 @@
libfreehand

View File

@ -1,7 +1,7 @@
# Template file for 'libfreehand'
pkgname=libfreehand
version=0.1.1
revision=2
revision=3
build_style=gnu-configure
hostmakedepends="doxygen gperf perl pkg-config"
makedepends="icu-devel lcms2-devel librevenge-devel"
@ -23,6 +23,14 @@ libfreehand-devel_package() {
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
}
}