summaryrefslogtreecommitdiff
path: root/libre/lirc-parabola/PKGBUILD
diff options
context:
space:
mode:
authorcoadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu>2014-08-25 06:23:45 -0300
committercoadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu>2014-08-25 06:23:45 -0300
commitd9ee027c267bbd175c640c79ee446e4722d9e82c (patch)
treef530f620321818a85392e17a7c493170f9757bff /libre/lirc-parabola/PKGBUILD
parente0a649279af24f9ba1ca7b66fcd8d3db807f6b19 (diff)
downloadabslibre-d9ee027c267bbd175c640c79ee446e4722d9e82c.tar.gz
abslibre-d9ee027c267bbd175c640c79ee446e4722d9e82c.tar.bz2
abslibre-d9ee027c267bbd175c640c79ee446e4722d9e82c.zip
lirc-parabola: fixing pkg
Diffstat (limited to 'libre/lirc-parabola/PKGBUILD')
-rw-r--r--libre/lirc-parabola/PKGBUILD8
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: