[arch-commits] Commit in nepomuk-core/kde-unstable (PKGBUILD)

Andrea Scarpino andrea at archlinux.org
Fri May 25 17:57:23 UTC 2012


    Date: Friday, May 25, 2012 @ 13:57:23
  Author: andrea
Revision: 159514

fixes

Modified:
  nepomuk-core/kde-unstable/PKGBUILD

----------+
 PKGBUILD |    7 +++++++
 1 file changed, 7 insertions(+)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2012-05-25 17:35:43 UTC (rev 159513)
+++ PKGBUILD	2012-05-25 17:57:23 UTC (rev 159514)
@@ -26,4 +26,11 @@
 package() {
   cd "${srcdir}"/build
   make DESTDIR="${pkgdir}" install
+
+  # Fix the python shebang
+  sed -i 's|#!/usr/bin/env python|#!/usr/bin/env python2|' \
+    "${pkgdir}"/usr/bin/nepomuk-simpleresource-rcgen
+
+  # Fix conflict
+  rm "${pkgdir}"/usr/bin/nepomuk-rcgen
 }




More information about the arch-commits mailing list