diff --git a/srcpkgs/kernel-manpages/template b/srcpkgs/kernel-manpages/template index cc564da2254..333cabbf7b7 100644 --- a/srcpkgs/kernel-manpages/template +++ b/srcpkgs/kernel-manpages/template @@ -1,8 +1,11 @@ # Template file for 'kernel-manpages'. # -. ${XBPS_SRCPKGDIR}/kernel/common-vars - pkgname=kernel-manpages +version=3.2.6 +wrksrc=linux-${version} +homepage="http://www.kernel.org" +distfiles="http://www.kernel.org/pub/linux/kernel/v3.x/linux-${version}.tar.xz" +checksum=9db97d45638017e6dfaed768cfa9f47533c9c9fb3538bce0e594d9feff5489b4 short_desc="${pkgname} development manual pages" long_desc=" This package contains manual pages for developping for the Linux kernel." @@ -12,14 +15,12 @@ noarch=yes Add_dependency build perl ">=0" Add_dependency build xmlto -do_build() -{ +do_build() { make ${makejobs} mandocs } -do_install() -{ - install -d ${DESTDIR}/usr/share/man/man9 - install -m644 ${wrksrc}/Documentation/DocBook/man/*.9.gz \ +do_install() { + vmkdir usr/share/man/man9 + install -m644 Documentation/DocBook/man/*.9.gz \ ${DESTDIR}/usr/share/man/man9 }