diff options
author | coadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu> | 2014-08-25 06:23:45 -0300 |
---|---|---|
committer | coadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu> | 2014-08-25 06:23:45 -0300 |
commit | d9ee027c267bbd175c640c79ee446e4722d9e82c (patch) | |
tree | f530f620321818a85392e17a7c493170f9757bff /libre | |
parent | e0a649279af24f9ba1ca7b66fcd8d3db807f6b19 (diff) |
lirc-parabola: fixing pkg
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: |