diff --git a/srcpkgs/kernel-manpages b/srcpkgs/kernel-manpages deleted file mode 120000 index 36c8c047ca..0000000000 --- a/srcpkgs/kernel-manpages +++ /dev/null @@ -1 +0,0 @@ -kernel \ No newline at end of file diff --git a/srcpkgs/kernel-manpages/template b/srcpkgs/kernel-manpages/template new file mode 100644 index 0000000000..4c06bfa1ae --- /dev/null +++ b/srcpkgs/kernel-manpages/template @@ -0,0 +1,26 @@ +# Template file for 'kernel-manpages'. +# +. ${XBPS_SRCPKGDIR}/kernel/common-vars + +pkgname=kernel-manpages +build_style=custom-install +short_desc="${pkgname} development manual pages" +long_desc=" + This package contains manual pages for developping for the Linux kernel." + +noarch=yes + +Add_dependency build libxslt +Add_dependency build docbook-xsl + +do_build() +{ + make ${makejobs} mandocs || return 1 +} + +do_install() +{ + install -d ${DESTDIR}/usr/share/man/man9 + install -m644 ${wrksrc}/Documentation/DocBook/man/*.9.gz \ + ${DESTDIR}/usr/share/man/man9 +}