kde5.l10n.sr: patch shebangs

This commit is contained in:
Thomas Tuegel 2016-03-23 08:44:49 -05:00
parent e81ee2be29
commit cb9f989b18

View File

@ -193,9 +193,19 @@ lib.mapAttrs (name: attr: pkgs.recurseIntoAttrs attr) {
qt5 = callPackage (kdeLocale5 "sl" {}) {};
};
sr = {
qt4 = callPackage (kdeLocale4 "sr" {}) {};
qt4 = callPackage (kdeLocale4 "sr" {
preConfigure = ''
patchShebangs \
4/sr/sr@latin/scripts/ts-pmap-compile.py \
4/sr/scripts/ts-pmap-compile.py \
4/sr/data/resolve-sr-hybrid \
4/sr/sr@ijekavian/scripts/ts-pmap-compile.py \
4/sr/sr@ijekavianlatin/scripts/ts-pmap-compile.py
'';
}) {};
qt5 = callPackage (kdeLocale5 "sr" {
preConfigure = ''
patchShebangs 5/sr/data/resolve-sr-hybrid
sed -e 's/add_subdirectory(kdesdk)//' -i 5/sr/data/CMakeLists.txt
'';
}) {};