diff --git a/qemu/Pkgfile b/qemu/Pkgfile index 69cc4084f..5ff8b9abf 100644 --- a/qemu/Pkgfile +++ b/qemu/Pkgfile @@ -2,11 +2,11 @@ # URL: http://nongnu.org/qemu/ # Maintainer: Lucas Hazel, lucas at die dot net dot au # Depends on: libsdl -# Optional: kqemu +# Optional: kqemu texinfo name=qemu version=0.10.0 -release=1 +release=2 source=(http://download.savannah.gnu.org/releases/$name/$name-$version.tar.gz) build() { @@ -16,4 +16,9 @@ build() { --host-cc="${CC:=gcc}" make make DESTDIR=$PKG install + + # Documentaion will only be installed if texinfo is found. + + [ -d "$PKG/usr/share/man" ] && mv $PKG/usr/share/man $PKG/usr/man + [ -d "$PKG/usr/share/doc" ] && rm -rf $PKG/usr/share/doc } diff --git a/qemu/README b/qemu/README new file mode 100644 index 000000000..f9ab9ffe8 --- /dev/null +++ b/qemu/README @@ -0,0 +1,3 @@ + +If you want the man pages, you will need to install texinfo before +building qemu. \ No newline at end of file