nixpkgs/pkgs/desktops/kde-4.7/admin/builder.sh
Eelco Dolstra 22ab3fe1ab * Start of KDE 4.7. Only kdelibs builds currently.
svn path=/nixpkgs/branches/kde-4.7/; revision=27645
2011-07-07 20:48:51 +00:00

14 lines
490 B
Bash

source $stdenv/setup
myPatchPhase()
{
for i in system-config-printer-kde/cmake-modules/FindSystemConfigPrinter.py system-config-printer-kde/system-config-printer-kde.py
do
sed -i -e "s|/usr/share/system-config-printer|$system_config_printer/share/system-config-printer|" $i
done
sed -i -e "s|import cupshelpers.ppds, cupshelpers.cupshelpers|import ppds, cupshelpers|" system-config-printer-kde/cmake-modules/FindSystemConfigPrinter.py
}
patchPhase=myPatchPhase
genericBuild