diff options
Diffstat (limited to 'libre')
-rw-r--r-- | libre/lirc-parabola/PKGBUILD | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/libre/lirc-parabola/PKGBUILD b/libre/lirc-parabola/PKGBUILD index 3ddc11a36..d5f36b531 100644 --- a/libre/lirc-parabola/PKGBUILD +++ b/libre/lirc-parabola/PKGBUILD @@ -89,8 +89,10 @@ _package_lirc-parabola() { make DESTDIR="${pkgdir}" moduledir="/usr/lib/modules/${_extramodules}" install gzip -9 "${pkgdir}/usr/lib/modules/${_extramodules}"/*.ko - # set the kernel we've built for inside the install script - sed -i "s/^_EXTRAMODULES=$/_EXTRAMODULES="${_extramodules}"/" "${startdir}/kmod.install" + # Set the correct extramodules directory for install + cp -f "${startdir}/${install}" "${startdir}/${install}.pkg" + true && install=${install}.pkg + sed -i "s/^_EXTRAMODULES=$/_EXTRAMODULES="${_extramodules}"/" "${startdir}/${install}" } eval "package_${_pkgname}() { _package_lirc-parabola; }" @@ -121,3 +123,5 @@ package_lirc-utils-parabola() { # remove built modules rm -r "${pkgdir}/usr/lib/modules" } + +# vim: ts=2 sw=2 et: |