kde5.l10n.sr: patch shebangs

(cherry picked from commit cb9f989b18d32bfa1206d6091afbfaeff50fed28)
Signed-off-by: Domen Kožar <domen@dev.si>
This commit is contained in:
Thomas Tuegel 2016-03-23 08:44:49 -05:00 committed by Domen Kožar
parent 6bcee1d9b2
commit 0e5b441133

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
'';
}) {};