libe-book: separate -doc package

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

1
srcpkgs/libe-book-doc Symbolic link
View file

@ -0,0 +1 @@
libe-book

View file

@ -1,7 +1,7 @@
# Template file for 'libe-book'
pkgname=libe-book
version=0.1.2
revision=1
revision=2
build_style=gnu-configure
hostmakedepends="gperf doxygen pkg-config"
makedepends="boost-devel icu-devel libcppunit-devel libxml2-devel librevenge-devel"
@ -19,6 +19,14 @@ libe-book-devel_package() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove usr/lib/*.so
}
}
libe-book-doc_package() {
short_desc+=" - documentation"
depends="${sourcepkg}>=${version}_${revision}"
noarch=yes
pkg_install() {
vmove usr/share/doc
}
}